diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-27 17:19:38 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-27 17:19:38 -0600 |
commit | b2f95886d464d42db186e05505ed6a6497b13521 (patch) | |
tree | 910e168e141654c73ea37c9cb1c4a29b4ed44ef4 /nuttx/arch/mips/src/common | |
parent | 09e5fb91789be7024efa9071a7ed0b94145be489 (diff) | |
download | nuttx-b2f95886d464d42db186e05505ed6a6497b13521.tar.gz nuttx-b2f95886d464d42db186e05505ed6a6497b13521.tar.bz2 nuttx-b2f95886d464d42db186e05505ed6a6497b13521.zip |
arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions
Diffstat (limited to 'nuttx/arch/mips/src/common')
-rw-r--r-- | nuttx/arch/mips/src/common/up_allocateheap.c | 3 | ||||
-rw-r--r-- | nuttx/arch/mips/src/common/up_createstack.c | 3 | ||||
-rw-r--r-- | nuttx/arch/mips/src/common/up_initialize.c | 3 | ||||
-rw-r--r-- | nuttx/arch/mips/src/common/up_internal.h | 14 |
4 files changed, 6 insertions, 17 deletions
diff --git a/nuttx/arch/mips/src/common/up_allocateheap.c b/nuttx/arch/mips/src/common/up_allocateheap.c index 507114420..70c94ff3c 100644 --- a/nuttx/arch/mips/src/common/up_allocateheap.c +++ b/nuttx/arch/mips/src/common/up_allocateheap.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/mips/src/common/up_allocateheap.c * - * Copyright (C) 2010, 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2010, 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/mips/src/common/up_createstack.c b/nuttx/arch/mips/src/common/up_createstack.c index a5f4483ca..ba314e71b 100644 --- a/nuttx/arch/mips/src/common/up_createstack.c +++ b/nuttx/arch/mips/src/common/up_createstack.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/mips/src/common/up_createstack.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 @@ -46,6 +46,7 @@ #include <nuttx/kmalloc.h> #include <nuttx/arch.h> +#include <nuttx/board.h> #include <arch/board/board.h> #include "up_arch.h" diff --git a/nuttx/arch/mips/src/common/up_initialize.c b/nuttx/arch/mips/src/common/up_initialize.c index cc97fdc31..0d40fbad2 100644 --- a/nuttx/arch/mips/src/common/up_initialize.c +++ b/nuttx/arch/mips/src/common/up_initialize.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/mips/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/mips/src/common/up_internal.h b/nuttx/arch/mips/src/common/up_internal.h index 4f9e51bbe..ef6df2759 100644 --- a/nuttx/arch/mips/src/common/up_internal.h +++ b/nuttx/arch/mips/src/common/up_internal.h @@ -284,19 +284,5 @@ extern void up_usbuninitialize(void); # define up_usbuninitialize() #endif -/* Board-specific functions *************************************************/ -/* Board specific functions defined in config/<board>/src */ - -/* LEDs */ - -#ifdef CONFIG_ARCH_LEDS -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 - #endif /* __ASSEMBLY__ */ #endif /* __ARCH_MIPS_SRC_COMMON_UP_INTERNAL_H */ |