]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 0235545ae47d1dd82520a35a5550628140e5f751..cb30b488597940e6a2197cecd0669bb5d32ed1c4 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,