Commit 6f1efe81aa8450c9d225ddbf59d81475462e7112

Authored by Adam Ford
Committed by Lokesh Vutla
1 parent 9bc97792d8

configs: omap3/35_logic and omap3/35_logic_somlv: Reduce SPL size

Currently the DM37 and OMAP35 boards do not boot due to SPL
bring too large.

SPL doesn't need GPIO, I2C nor MMC sector access since it uses
a FAT file system.

This patch unifies all these boards to remove these unused features
from their defconfigs

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>

Showing 4 changed files with 8 additions and 0 deletions Side-by-side Diff

configs/omap35_logic_defconfig
... ... @@ -21,7 +21,9 @@
21 21 CONFIG_VERSION_VARIABLE=y
22 22 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
23 23 CONFIG_SPL_SEPARATE_BSS=y
  24 +# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
24 25 # CONFIG_SPL_FS_EXT4 is not set
  26 +# CONFIG_SPL_I2C_SUPPORT is not set
25 27 CONFIG_SPL_MTD_SUPPORT=y
26 28 CONFIG_SPL_OS_BOOT=y
27 29 CONFIG_SYS_PROMPT="OMAP Logic # "
configs/omap35_logic_somlv_defconfig
... ... @@ -20,7 +20,9 @@
20 20 CONFIG_VERSION_VARIABLE=y
21 21 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
22 22 CONFIG_SPL_SEPARATE_BSS=y
  23 +# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
23 24 # CONFIG_SPL_FS_EXT4 is not set
  25 +# CONFIG_SPL_I2C_SUPPORT is not set
24 26 CONFIG_SPL_MTD_SUPPORT=y
25 27 CONFIG_SPL_OS_BOOT=y
26 28 # CONFIG_SPL_POWER_SUPPORT is not set
configs/omap3_logic_defconfig
... ... @@ -20,7 +20,9 @@
20 20 CONFIG_VERSION_VARIABLE=y
21 21 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
22 22 CONFIG_SPL_SEPARATE_BSS=y
  23 +# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
23 24 # CONFIG_SPL_FS_EXT4 is not set
  25 +# CONFIG_SPL_I2C_SUPPORT is not set
24 26 CONFIG_SPL_MTD_SUPPORT=y
25 27 CONFIG_SPL_OS_BOOT=y
26 28 CONFIG_SYS_PROMPT="OMAP Logic # "
configs/omap3_logic_somlv_defconfig
... ... @@ -21,7 +21,9 @@
21 21 CONFIG_VERSION_VARIABLE=y
22 22 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
23 23 CONFIG_SPL_SEPARATE_BSS=y
  24 +# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
24 25 # CONFIG_SPL_FS_EXT4 is not set
  26 +# CONFIG_SPL_I2C_SUPPORT is not set
25 27 CONFIG_SPL_MTD_SUPPORT=y
26 28 CONFIG_SPL_OS_BOOT=y
27 29 # CONFIG_SPL_POWER_SUPPORT is not set