summaryrefslogtreecommitdiff
path: root/nuttx/configs/qemu-i486
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/qemu-i486')
-rw-r--r--nuttx/configs/qemu-i486/include/board.h14
-rw-r--r--nuttx/configs/qemu-i486/src/qemu_boot.c6
2 files changed, 5 insertions, 15 deletions
diff --git a/nuttx/configs/qemu-i486/include/board.h b/nuttx/configs/qemu-i486/include/board.h
index 4dcd9d7a8..bf671acc4 100644
--- a/nuttx/configs/qemu-i486/include/board.h
+++ b/nuttx/configs/qemu-i486/include/board.h
@@ -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)
diff --git a/nuttx/configs/qemu-i486/src/qemu_boot.c b/nuttx/configs/qemu-i486/src/qemu_boot.c
index 27b05b397..8f43ebf91 100644
--- a/nuttx/configs/qemu-i486/src/qemu_boot.c
+++ b/nuttx/configs/qemu-i486/src/qemu_boot.c
@@ -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. */