Rename all use of up_boardinitialize(). Should not use common microprocessing naming convention but rather the microprocessor-specific naming conventioni

This commit is contained in:
Gregory Nutt
2015-02-28 07:14:37 -06:00
parent 7583c94252
commit 453a4d2894
7 changed files with 26 additions and 38 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
/************************************************************************************
* configs/amber/src/up_boot.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -50,7 +50,7 @@
#include "amber_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
@@ -62,16 +62,16 @@
************************************************************************************/
/************************************************************************************
* Name: up_boardinitialize
* Name: atmega_boardinitialize
*
* Description:
* All ATMega architectures must provide the following entry point. This entry
* point is called early in the intitialization -- after all memory has been
* point is called early in the initialization -- after all memory has been
* configured and mapped but before any devices have been initialized.
*
************************************************************************************/
void up_boardinitialize(void)
void atmega_boardinitialize(void)
{
/* Configure SSP chip selects if 1) at least one SSP is enabled, and 2) the weak
* function atmega_spiinitialize() has been brought into the link.
+5 -5
View File
@@ -63,16 +63,16 @@
************************************************************************************/
/************************************************************************************
* Name: up_boardinitialize
* Name: at32uc3_boardinitialize
*
* Description:
* All AVR32 architectures must provide the following entry point. This entry point
* is called early in the intitialization -- after all memory has been configured
* and mapped but before any devices have been initialized.
* All AVR32 AT32UC3 architectures must provide the following entry point. This
* entry point is called early in the initialization -- after all memory has been
* configured and mapped but before any devices have been initialized.
*
************************************************************************************/
void up_boardinitialize(void)
void at32uc3_boardinitialize(void)
{
/* Configure SPI chip selects */
+5 -6
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/micropendous3/src/up_boot.c
* arch/mips/src/board/up_boot.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -51,7 +50,7 @@
#include "micropendous3_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
@@ -63,16 +62,16 @@
************************************************************************************/
/************************************************************************************
* Name: up_boardinitialize
* Name: at90usb_boardinitialize
*
* Description:
* All AT90USB architectures must provide the following entry point. This entry
* point is called early in the intitialization -- after all memory has been
* point is called early in the initialization -- after all memory has been
* configured and mapped but before any devices have been initialized.
*
************************************************************************************/
void up_boardinitialize(void)
void at90usb_boardinitialize(void)
{
/* Configure SSP chip selects if 1) at least one SSP is enabled, and 2) the weak
* function at90usb_spiinitialize() has been brought into the link.
+2 -2
View File
@@ -62,7 +62,7 @@
************************************************************************************/
/************************************************************************************
* Name: up_boardinitialize
* Name: atmega_boardinitialize
*
* Description:
* All ATMega architectures must provide the following entry point. This entry
@@ -71,7 +71,7 @@
*
************************************************************************************/
void up_boardinitialize(void)
void atmega_boardinitialize(void)
{
/* Configure SSP chip selects if 1) at least one SSP is enabled, and 2) the weak
* function atmega_spiinitialize() has been brought into the link.
+2 -12
View File
@@ -72,7 +72,8 @@
#undef EXTERN
#if defined(__cplusplus)
#define EXTERN extern "C"
extern "C" {
extern "C"
{
#else
#define EXTERN extern
#endif
@@ -80,17 +81,6 @@ extern "C" {
/************************************************************************************
* Public Function Prototypes
************************************************************************************/
/************************************************************************************
* Name: up_boardinitialize
*
* Description:
* All x86 architectures must provide the following entry point. This entry point
* is called early in the intitialization -- after all memory has been configured
* and mapped but before any devices have been initialized.
*
************************************************************************************/
EXTERN void up_boardinitialize(void);
#undef EXTERN
#if defined(__cplusplus)
+3 -3
View File
@@ -63,16 +63,16 @@
************************************************************************************/
/************************************************************************************
* Name: up_boardinitialize
* Name: x86_boardinitialize
*
* Description:
* All x86 architectures must provide the following entry point. This entry point
* is called early in the intitialization -- after all memory has been configured
* is called early in the initialization -- after all memory has been configured
* and mapped but before any devices have been initialized.
*
************************************************************************************/
void up_boardinitialize(void)
void x86_boardinitialize(void)
{
/* Configure on-board LEDs if LED support has been selected. */
+4 -5
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/teensy/src/up_boot.c
* arch/mips/src/board/up_boot.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -63,16 +62,16 @@
************************************************************************************/
/************************************************************************************
* Name: up_boardinitialize
* Name: at90usb_boardinitialize
*
* Description:
* All AT90USB architectures must provide the following entry point. This entry
* point is called early in the intitialization -- after all memory has been
* point is called early in the initialization -- after all memory has been
* configured and mapped but before any devices have been initialized.
*
************************************************************************************/
void up_boardinitialize(void)
void at90usb_boardinitialize(void)
{
/* Configure SSP chip selects if 1) at least one SSP is enabled, and 2) the weak
* function at90usb_spiinitialize() has been brought into the link.