
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 --- 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,