]> git.sur5r.net Git - u-boot/commitdiff
arm: spear: Some changes / updates to the x600 config header
authorStefan Roese <sr@denx.de>
Tue, 18 Aug 2015 07:27:20 +0000 (09:27 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 28 Aug 2015 16:33:17 +0000 (12:33 -0400)
This patch brings the following changes to the x600 board support:

- Add USB EHCI support
- Add VFAT support for USB key file access
- Increase malloc size (for UBI / UBIFS usage)
- Enable Thumb mode to save some image space
- Remove unreferenced CONFIG_STACKSIZE
- Remove unreferenced CONFIG_SPL_NO_PRINTF

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Vipin Kumar <vk.vipin@gmail.com>
include/configs/x600.h

index 70e633c27423498632a303a7871285091f91f59a..6a5738863ad9f1b9ba2b6aca246bce0897575c6b 100644 (file)
@@ -30,6 +30,7 @@
 #define CONFIG_SYS_SPL_LEN                     CONFIG_SPL_PAD_TO
 #define CONFIG_SYS_UBOOT_BASE                  (CONFIG_SYS_FLASH_BASE + \
                                                 CONFIG_SYS_SPL_LEN)
+#define CONFIG_SYS_UBOOT_START                 CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MONITOR_BASE                        CONFIG_SYS_FLASH_BASE
 #define CONFIG_SYS_MONITOR_LEN                 0x60000
 
 #define CONFIG_FPGA_SPARTAN3
 #define CONFIG_FPGA_COUNT      1
 
+/* USB EHCI options */
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_SPEAR
+#define CONFIG_USB_STORAGE
+#define CONFIG_USB_MAX_CONTROLLER_COUNT        2
+
 /*
  * Command support defines
  */
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_ENV
+#define CONFIG_CMD_FAT
 #define CONFIG_CMD_FPGA_LOADMK
+#define CONFIG_CMD_FS_GENERIC
 #define CONFIG_CMD_GPIO
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBI
 #define CONFIG_CMD_UBIFS
+#define CONFIG_CMD_USB
 #define CONFIG_LZO
 
+/* Filesystem support (for USB key) */
+#define CONFIG_SUPPORT_VFAT
+#define CONFIG_DOS_PARTITION
+
 #define CONFIG_BOOTDELAY                       3
 
 #define CONFIG_SYS_HUSH_PARSER                 /* Use the HUSH parser  */
 
 #define CONFIG_SYS_MEMTEST_START               0x00800000
 #define CONFIG_SYS_MEMTEST_END                 0x04000000
-#define CONFIG_SYS_MALLOC_LEN                  (1024 * 1024)
+#define CONFIG_SYS_MALLOC_LEN                  (8 << 20)
 #define CONFIG_IDENT_STRING                    "-SPEAr"
 #define CONFIG_SYS_LONGHELP
 #define CONFIG_CMDLINE_EDITING
+#define CONFIG_AUTO_COMPLETE
 #define CONFIG_SYS_CBSIZE                      256
 #define CONFIG_SYS_PBSIZE                      (CONFIG_SYS_CBSIZE + \
                                                 sizeof(CONFIG_SYS_PROMPT) + 16)
        "bootcmd=run nand_ubifs\0"                                      \
        "\0"
 
-/* Stack sizes */
-#define CONFIG_STACKSIZE                       (512 * 1024)
-
 /* Physical Memory Map */
 #define CONFIG_NR_DRAM_BANKS                   1
 #define PHYS_SDRAM_1                           0x00000000
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_LIBCOMMON_SUPPORT   /* image.c */
 #define CONFIG_SPL_LIBGENERIC_SUPPORT  /* string.c */
-#define CONFIG_SPL_NO_PRINTF
 
 /*
  * Please select/define only one of the following