summaryrefslogtreecommitdiff
path: root/board/dave
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-03-14 22:25:36 +0000
committerwdenk <wdenk>2004-03-14 22:25:36 +0000
commit42dfe7a1844cbad7114038aaf03828acb7a84414 (patch)
treed33893d34d2a97aa23257703733dbc9d86d48278 /board/dave
parent855a496fe9ba431772f1ff1aef21a5c001288bb0 (diff)
downloadu-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.zip
u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.tar.gz
u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.tar.bz2
Code cleanup; make several boards compile & link.
Diffstat (limited to 'board/dave')
-rw-r--r--board/dave/B2/flash.c3
-rw-r--r--board/dave/B2/u-boot.lds4
2 files changed, 2 insertions, 5 deletions
diff --git a/board/dave/B2/flash.c b/board/dave/B2/flash.c
index 50aa6aa..ad67e86 100644
--- a/board/dave/B2/flash.c
+++ b/board/dave/B2/flash.c
@@ -45,9 +45,6 @@ unsigned long flash_init (void)
#else
unsigned long size_b0;
int i;
- uint pbcr;
- unsigned long base_b0;
- int size_val = 0;
/* Init: no FLASHes known */
for (i=0; i<CFG_MAX_FLASH_BANKS; ++i) {
diff --git a/board/dave/B2/u-boot.lds b/board/dave/B2/u-boot.lds
index d3b6a77..f1bbd5d 100644
--- a/board/dave/B2/u-boot.lds
+++ b/board/dave/B2/u-boot.lds
@@ -51,7 +51,7 @@ SECTIONS
armboot_end_data = .;
. = ALIGN(4);
+ __bss_start = .;
.bss : { *(.bss) }
-
- armboot_end = .;
+ _end = .;
}