]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
config: zynq_cse: Remove unnecessary configs for zynq cse qspi
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 3 Dec 2015 12:27:24 +0000 (17:57 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 3 Dec 2015 13:45:45 +0000 (14:45 +0100)
Removed unnecessary configs for zynq cse. This
will decrease the size of the image so that it
can fit to OCM easily.Also, decrease malloc
and console buffer size to reduce the size.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/zynq_cse_qspi_defconfig
include/configs/zynq_cse.h

index 70c65c0fd7ddc59c50fb44faa76b0b6962f15b84..fb8cdd6073e406ae19e7770729324384c99d7463 100644 (file)
@@ -6,6 +6,30 @@ CONFIG_SYS_EXTRA_OPTIONS="CSE_QSPI"
 # CONFIG_CMD_BOOTD is not set
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_GO is not set
+# CONFIG_CMD_BDI is not set
+# CONFIG_CMD_CONSOLE is not set
+# CONFIG_CMD_RUN is not set
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_XIMG is not set
+# CONFIG_CMD_EXPORTENV is not set
+# CONFIG_CMD_IMPORTENV is not set
+# CONFIG_CMD_EDITENV is not set
+# CONFIG_CMD_SAVEENV is not set
+# CONFIG_CMD_ENV_EXISTS is not set
+# CONFIG_CMD_CRC32 is not set
+# CONFIG_CMD_DM is not set
+# CONFIG_CMD_LOADB is not set
+# CONFIG_CMD_LOADS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+# CONFIG_CMD_ECHO is not set
+# CONFIG_CMD_ITEST is not set
+# CONFIG_CMD_SOURCE is not set
+# CONFIG_CMD_SETEXPR is not set
+# CONFIG_CMD_NET is not set
+# CONFIG_CMD_NFS is not set
+# CONFIG_CMD_MISC is not set
 CONFIG_OF_EMBED=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
index 0b20e2c47b80bc897207a224703873674680a8d4..c6aca1d0d892e87ecfa4954de0aa14e5e05e1894 100644 (file)
@@ -16,6 +16,8 @@
 #define CONFIG_SKIP_LOWLEVEL_INIT
 #define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_SYS_DCACHE_OFF
+#define CONFIG_SYS_ICACHE_OFF
+#define CONFIG_FIT_DISABLE_SHA256
 
 #if defined(CONFIG_CSE_QSPI)
 # define CONFIG_ZYNQ_QSPI
 #undef CONFIG_ZLIB
 #undef CONFIG_GZIP
 #undef CONFIG_CMD_SPL
+#undef CONFIG_SYS_LONGHELP
+#undef CONFIG_PARTITIONS
+#undef CONFIG_CMD_FPGA_LOADMK
+#undef CONFIG_CMD_FPGA_LOADP
+#undef CONFIG_CMD_FPGA_LOADBP
+#undef CONFIG_CMD_FPGA_LOADFS
+#undef CONFIG_CMD_GPIO
+#undef CONFIG_ZYNQ_GPIO
+#undef CONFIG_CMD_SPI
+#undef CONFIG_CMD_CLK
+#undef CONFIG_CMD_CACHE
+#undef CONFIG_SYS_CBSIZE
 
 /* Define needed configs */
 #define CONFIG_BOOTDELAY       -1 /* -1 to Disable autoboot */
-#define CONFIG_SYS_MALLOC_LEN  0x4000
+#define CONFIG_SYS_MALLOC_LEN  0x1000
+#define CONFIG_SYS_CBSIZE      1024
 
 #if defined(CONFIG_CSE_QSPI)
 # define CONFIG_SYS_SDRAM_SIZE         (256 * 1024)
 # define CONFIG_SYS_SDRAM_BASE         0xFFFD0000
-# define CONFIG_ENV_SIZE               1400
+# define CONFIG_ENV_SIZE               400
 
 #elif defined(CONFIG_CSE_NAND)
 # define CONFIG_SYS_SDRAM_SIZE         (4 * 1024 * 1024)