summaryrefslogtreecommitdiff
path: root/configs/sniper_defconfig
diff options
context:
space:
mode:
authorPaul Kocialkowski <[email protected]>2024-07-28 22:25:01 +0200
committerTom Rini <[email protected]>2024-08-06 18:32:46 -0600
commite902ac8d3bd7609eaf73d59ea44b2c5d80fcb891 (patch)
tree852c6deab1b4659fccf0ed20dcbeb65311d3ef37 /configs/sniper_defconfig
parent2e148cb0b423bbb0b2e16b55bab053edca5abbfb (diff)
omap3: sniper: Streamline defconfig
Remove custom config options that are not particularly necessary. Align them with OMAP3 defaults used on other boards (especially for memory locations). Also enable Thumb build to reduce the SPL size and remove the custom prompt text. This makes the config a lot more minimalistic, maintainable and easier to read. Signed-off-by: Paul Kocialkowski <[email protected]> Reviewed-by: Tom Rini <[email protected]> Tested-by: Derald D. Woods <[email protected]>
Diffstat (limited to 'configs/sniper_defconfig')
-rw-r--r--configs/sniper_defconfig16
1 files changed, 4 insertions, 12 deletions
diff --git a/configs/sniper_defconfig b/configs/sniper_defconfig
index 08ab3a66c51..5c6f9328bf8 100644
--- a/configs/sniper_defconfig
+++ b/configs/sniper_defconfig
@@ -1,28 +1,20 @@
CONFIG_ARM=y
-# CONFIG_SYS_THUMB_BUILD is not set
CONFIG_ARCH_OMAP2PLUS=y
-CONFIG_TEXT_BASE=0x80100000
-CONFIG_SYS_MALLOC_LEN=0x120000
-CONFIG_SYS_MALLOC_F_LEN=0x400
+CONFIG_SYS_MALLOC_F_LEN=0x4000
CONFIG_TARGET_SNIPER=y
-CONFIG_SPL_STACK=0x4020fffc
-CONFIG_SPL_BSS_START_ADDR=0x80000000
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x400
CONFIG_SPL=y
CONFIG_DISTRO_DEFAULTS=y
CONFIG_BOOTCOMMAND="setenv boot_mmc_part ${kernel_mmc_part}; if test reboot-${reboot-mode} = reboot-r; then echo recovery; setenv boot_mmc_part ${recovery_mmc_part}; fi; if test reboot-${reboot-mode} = reboot-b; then echo fastboot; fastboot 0; fi; part start mmc ${boot_mmc_dev} ${boot_mmc_part} boot_mmc_start; part size mmc ${boot_mmc_dev} ${boot_mmc_part} boot_mmc_size; mmc dev ${boot_mmc_dev}; mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && bootm ${kernel_addr_r};"
-CONFIG_SYS_CBSIZE=512
-CONFIG_SYS_PBSIZE=538
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
-# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
+CONFIG_SPL_SYS_MALLOC_SIMPLE=y
CONFIG_SPL_SYS_MALLOC=y
-CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
-CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80208000
+CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=2
# CONFIG_SPL_FS_EXT4 is not set
# CONFIG_SPL_NAND_SUPPORT is not set
-CONFIG_SYS_PROMPT="sniper # "
CONFIG_CMD_GPIO=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y