aboutsummaryrefslogtreecommitdiff
path: root/configs/sniper_defconfig
diff options
context:
space:
mode:
authorPaul Kocialkowski2024-07-28 19:32:16 +0200
committerPaul Kocialkowski2024-07-28 19:53:13 +0200
commit944438c6a83c09600eb65db052df239c092ee405 (patch)
tree852c6deab1b4659fccf0ed20dcbeb65311d3ef37 /configs/sniper_defconfig
parente123342808c0c56a84272181f1b4f38b69540d62 (diff)
omap3: sniper: Streamline defconfigomap/config-cleanups
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 <contact@paulk.fr>
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