mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
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:
@@ -1,7 +1,7 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/amber/src/up_boot.c
|
* 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>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
#include "amber_internal.h"
|
#include "amber_internal.h"
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
@@ -62,16 +62,16 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: up_boardinitialize
|
* Name: atmega_boardinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* All ATMega architectures must provide the following entry point. This entry
|
* 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.
|
* 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
|
/* 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.
|
* function atmega_spiinitialize() has been brought into the link.
|
||||||
|
|||||||
@@ -63,16 +63,16 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: up_boardinitialize
|
* Name: at32uc3_boardinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* All AVR32 architectures must provide the following entry point. This entry point
|
* All AVR32 AT32UC3 architectures must provide the following entry point. This
|
||||||
* is called early in the intitialization -- after all memory has been configured
|
* entry point is called early in the initialization -- after all memory has been
|
||||||
* and mapped but before any devices have been initialized.
|
* configured and mapped but before any devices have been initialized.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void up_boardinitialize(void)
|
void at32uc3_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects */
|
/* Configure SPI chip selects */
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/micropendous3/src/up_boot.c
|
* 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>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -51,7 +50,7 @@
|
|||||||
#include "micropendous3_internal.h"
|
#include "micropendous3_internal.h"
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
@@ -63,16 +62,16 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: up_boardinitialize
|
* Name: at90usb_boardinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* All AT90USB architectures must provide the following entry point. This entry
|
* 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.
|
* 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
|
/* 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.
|
* function at90usb_spiinitialize() has been brought into the link.
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: up_boardinitialize
|
* Name: atmega_boardinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* All ATMega architectures must provide the following entry point. This entry
|
* 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
|
/* 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.
|
* function atmega_spiinitialize() has been brought into the link.
|
||||||
|
|||||||
@@ -72,7 +72,8 @@
|
|||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
#define EXTERN extern "C"
|
#define EXTERN extern "C"
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#else
|
#else
|
||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
#endif
|
#endif
|
||||||
@@ -80,17 +81,6 @@ extern "C" {
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Public Function Prototypes
|
* 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
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
|||||||
@@ -63,16 +63,16 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: up_boardinitialize
|
* Name: x86_boardinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* All x86 architectures must provide the following entry point. This entry point
|
* 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.
|
* 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. */
|
/* Configure on-board LEDs if LED support has been selected. */
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/teensy/src/up_boot.c
|
* 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>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -63,16 +62,16 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: up_boardinitialize
|
* Name: at90usb_boardinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* All AT90USB architectures must provide the following entry point. This entry
|
* 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.
|
* 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
|
/* 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.
|
* function at90usb_spiinitialize() has been brought into the link.
|
||||||
|
|||||||
Reference in New Issue
Block a user