[U-Boot] [PATCH][mpc83xx] Removal of checkboard from spl bootstrap build for SIMPC8313

Ron Madrid ron_madrid at sbcglobal.net
Tue May 11 00:02:15 CEST 2010


This patch removes the checkboard function from the build of the 4k bootstrap
section for the SIMPC8313 as it is not needed in the spl build.  This will
allow > 100 bytes of extra room for other uses.

Signed-off-by: Ron Madrid <ron_madrid at sbcglobal.net>
---
 board/sheldon/simpc8313/simpc8313.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/sheldon/simpc8313/simpc8313.c b/board/sheldon/simpc8313/simpc8313.c
index 0235545..53329af 100644
--- a/board/sheldon/simpc8313/simpc8313.c
+++ b/board/sheldon/simpc8313/simpc8313.c
@@ -33,13 +33,13 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+#ifndef CONFIG_NAND_SPL
+
 int checkboard(void)
 {
 	puts("Board: Sheldon Instruments SIMPC8313\n");
 	return 0;
 }
-
-#ifndef CONFIG_NAND_SPL
 static struct pci_region pci_regions[] = {
 	{
 		bus_start: CONFIG_SYS_PCI1_MEM_BASE,
-- 
1.5.5.1



More information about the U-Boot mailing list