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

Ron Madrid ron_madrid at sbcglobal.net
Tue May 11 00:23:20 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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/sheldon/simpc8313/simpc8313.c b/board/sheldon/simpc8313/simpc8313.c
index 0235545..cb30b48 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