Removal of checkboard from spl bootstrap build for SIMPC8313
authorRon Madrid <ron_madrid@sbcglobal.net>
Mon, 10 May 2010 22:23:20 +0000 (15:23 -0700)
committerKim Phillips <kim.phillips@freescale.com>
Mon, 17 May 2010 19:44:25 +0000 (14:44 -0500)
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@sbcglobal.net>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
board/sheldon/simpc8313/simpc8313.c

index 0235545..cb30b48 100644 (file)
 
 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,