summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/x86/src/common')
-rw-r--r--nuttx/arch/x86/src/common/up_allocateheap.c3
-rw-r--r--nuttx/arch/x86/src/common/up_assert.c3
-rw-r--r--nuttx/arch/x86/src/common/up_initialize.c3
-rw-r--r--nuttx/arch/x86/src/common/up_internal.h12
4 files changed, 6 insertions, 15 deletions
diff --git a/nuttx/arch/x86/src/common/up_allocateheap.c b/nuttx/arch/x86/src/common/up_allocateheap.c
index 79779ffba..4c4e35b0f 100644
--- a/nuttx/arch/x86/src/common/up_allocateheap.c
+++ b/nuttx/arch/x86/src/common/up_allocateheap.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/x86/src/common/up_allocateheap.c
*
- * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -43,6 +43,7 @@
#include <debug.h>
#include <nuttx/arch.h>
+#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
diff --git a/nuttx/arch/x86/src/common/up_assert.c b/nuttx/arch/x86/src/common/up_assert.c
index 93d541e5b..0288702c3 100644
--- a/nuttx/arch/x86/src/common/up_assert.c
+++ b/nuttx/arch/x86/src/common/up_assert.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/x86/src/common/up_assert.c
*
- * Copyright (C) 2011-2014 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
@@ -57,6 +57,7 @@
#include <nuttx/irq.h>
#include <nuttx/arch.h>
+#include <nuttx/board.h>
#include <arch/arch.h>
#include <nuttx/usb/usbdev_trace.h>
diff --git a/nuttx/arch/x86/src/common/up_initialize.c b/nuttx/arch/x86/src/common/up_initialize.c
index 9e6dc4820..118380887 100644
--- a/nuttx/arch/x86/src/common/up_initialize.c
+++ b/nuttx/arch/x86/src/common/up_initialize.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/x86/src/common/up_initialize.c
*
- * Copyright (C) 2011-2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +42,7 @@
#include <debug.h>
#include <nuttx/arch.h>
+#include <nuttx/board.h>
#include <nuttx/fs/fs.h>
#include <nuttx/syslog/ramlog.h>
#include <nuttx/syslog/syslog_console.h>
diff --git a/nuttx/arch/x86/src/common/up_internal.h b/nuttx/arch/x86/src/common/up_internal.h
index 98df42670..c38d9e131 100644
--- a/nuttx/arch/x86/src/common/up_internal.h
+++ b/nuttx/arch/x86/src/common/up_internal.h
@@ -234,18 +234,6 @@ extern void up_wdtinit(void);
extern void up_timer_initialize(void);
-/* Defined in board/up_leds.c */
-
-#ifdef CONFIG_ARCH_LEDS
-extern void board_led_initialize(void);
-extern void board_led_on(int led);
-extern void board_led_off(int led);
-#else
-# define board_led_initialize()
-# define board_led_on(led)
-# define board_led_off(led)
-#endif
-
/* Defined in board/up_network.c */
#ifdef CONFIG_NET