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/gth/Makefile | 2 +- board/gth/README | 2 -- board/gth/config.mk | 1 - board/gth/u-boot.lds | 6 +++++- 4 files changed, 6 insertions(+), 5 deletions(-) (limited to 'board/gth') diff --git a/board/gth/Makefile b/board/gth/Makefile index 4571a058c5..e14c12e4aa 100644 --- a/board/gth/Makefile +++ b/board/gth/Makefile @@ -28,7 +28,7 @@ LIB = lib$(BOARD).a OBJS = $(BOARD).o flash.o ee_access.o $(LIB): .depend $(OBJS) - $(AR) crv $@ $^ + $(AR) crv $@ $(OBJS) ######################################################################### diff --git a/board/gth/README b/board/gth/README index 44caf3a502..241c70b69b 100644 --- a/board/gth/README +++ b/board/gth/README @@ -16,5 +16,3 @@ When using 1 or 2, the image is supposed to be launched from miniboot that boots the first U-Boot image found in flash. For miniboot code, description, see www.opensource.se - - diff --git a/board/gth/config.mk b/board/gth/config.mk index b74dff3c1e..3c80156c3f 100644 --- a/board/gth/config.mk +++ b/board/gth/config.mk @@ -38,4 +38,3 @@ endif endif OBJCFLAGS = --set-section-flags=.ppcenv=contents,alloc,load,data - diff --git a/board/gth/u-boot.lds b/board/gth/u-boot.lds index a5d4bed7be..50f41b53d2 100644 --- a/board/gth/u-boot.lds +++ b/board/gth/u-boot.lds @@ -98,6 +98,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 = .; @@ -120,4 +125,3 @@ SECTIONS _end = . ; PROVIDE (end = .); } - -- cgit v1.2.1