From 8bde7f776c77b343aca29b8c7b58464d915ac245 Mon Sep 17 00:00:00 2001 From: wdenk Date: Fri, 27 Jun 2003 21:31:46 +0000 Subject: * Code cleanup: - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen) --- board/kup4k/Makefile | 2 +- board/kup4k/kup4k.c | 3 --- board/kup4k/u-boot.lds | 6 +++++- board/kup4k/u-boot.lds.debug | 6 +++++- 4 files changed, 11 insertions(+), 6 deletions(-) (limited to 'board/kup4k') diff --git a/board/kup4k/Makefile b/board/kup4k/Makefile index c748d3561b..fdc6fd53ea 100644 --- a/board/kup4k/Makefile +++ b/board/kup4k/Makefile @@ -28,7 +28,7 @@ LIB = lib$(BOARD).a OBJS = $(BOARD).o flash.o $(LIB): .depend $(OBJS) - $(AR) crv $@ $^ + $(AR) crv $@ $(OBJS) ######################################################################### diff --git a/board/kup4k/kup4k.c b/board/kup4k/kup4k.c index 7981df3b3c..3c082142a0 100644 --- a/board/kup4k/kup4k.c +++ b/board/kup4k/kup4k.c @@ -329,9 +329,6 @@ void lcd_logo (bd_t * bd) memctl->memc_br5 = 0x80080801; /* Start at 0x80080000 */ - - - fb_info.VmemAddr = (unsigned char *) (S1D_PHYSICAL_VMEM_ADDR); fb_info.RegAddr = (unsigned char *) (S1D_PHYSICAL_REG_ADDR); diff --git a/board/kup4k/u-boot.lds b/board/kup4k/u-boot.lds index b2d8090739..f81a10e033 100644 --- a/board/kup4k/u-boot.lds +++ b/board/kup4k/u-boot.lds @@ -112,6 +112,11 @@ SECTIONS _edata = .; PROVIDE (edata = .); + __u_boot_cmd_start = .; + .u_boot_cmd : { *(.u_boot_cmd) } + __u_boot_cmd_end = .; + + __start___ex_table = .; __ex_table : { *(__ex_table) } __stop___ex_table = .; @@ -134,4 +139,3 @@ SECTIONS _end = . ; PROVIDE (end = .); } - diff --git a/board/kup4k/u-boot.lds.debug b/board/kup4k/u-boot.lds.debug index fdd836e50a..87f704a762 100644 --- a/board/kup4k/u-boot.lds.debug +++ b/board/kup4k/u-boot.lds.debug @@ -106,6 +106,11 @@ SECTIONS _edata = .; PROVIDE (edata = .); + __u_boot_cmd_start = .; + .u_boot_cmd : { *(.u_boot_cmd) } + __u_boot_cmd_end = .; + + __start___ex_table = .; __ex_table : { *(__ex_table) } __stop___ex_table = .; @@ -128,4 +133,3 @@ SECTIONS _end = . ; PROVIDE (end = .); } - -- cgit v1.2.1