Code cleanup; make several boards compile & link.
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 @@
 #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 @@
 	armboot_end_data = .;
 
 	. = ALIGN(4);
+	__bss_start = .;
 	.bss : { *(.bss) }
-
-	armboot_end = .;
+	_end = .;
 }