diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/atc/ti113x.c | 4 | ||||
-rw-r--r-- | board/cogent/u-boot.lds | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/board/atc/ti113x.c b/board/atc/ti113x.c index 473bb10..ff871f6 100644 --- a/board/atc/ti113x.c +++ b/board/atc/ti113x.c @@ -468,7 +468,7 @@ static int i365_set_io_map (socket_info_t * s, struct pccard_io_map *io) /*====================================================================*/ -int i82365_init (void) +static int i82365_init (void) { u_int val; int i; @@ -545,7 +545,7 @@ int i82365_init (void) return 0; } -void i82365_exit (void) +static void i82365_exit (void) { io.map = 0; io.flags = 0; diff --git a/board/cogent/u-boot.lds b/board/cogent/u-boot.lds index b4c7a0e..42ed142 100644 --- a/board/cogent/u-boot.lds +++ b/board/cogent/u-boot.lds @@ -21,6 +21,7 @@ * MA 02111-1307 USA */ +#include <config.h> OUTPUT_ARCH(powerpc) SECTIONS @@ -29,9 +30,12 @@ SECTIONS . = + SIZEOF_HEADERS; .text : { +#ifdef CONFIG_MPC8260 + arch/powerpc/cpu/mpc8260/start.o (.text*) +#else arch/powerpc/cpu/mpc8xx/start.o (.text*) arch/powerpc/cpu/mpc8xx/traps.o (.text*) - +#endif *(.text*) } _etext = .; |