u-boot/arch/arm
Andre Przywara 1bf98bd4e2 sunxi: Kconfig: introduce SUNXI_MINIMUM_DRAM_MB
Traditionally we assumed that every Allwinner board would come with at
least 256 MB of DRAM, and set our DRAM layout accordingly. This affected
both the default load addresses, but also U-Boot's own address
expectations (like being loaded at 160 MB).

Some SoCs come with co-packaged DRAM, but only provide 32 or 64MB. So
far we special-cased those *chips*, as there was only one chip per DRAM
size. However new chips force us to take a more general approach.

Introduce a Kconfig symbol, which provides the minimum DRAM size of the
board. If nothing else is specified, we use 256 MB, and default to
smaller values for those co-packaged SoCs.
Then select the different DRAM maps according to this new symbol, so
that different SoCs with the same DRAM size can share those definitions.

Inspired by an idea from Icenowy.

This is just refactoring: compiled for all boards before and after this
patch: the binaries were identical.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
2022-10-19 14:15:02 +01:00
..
cpu armv8: cache_v8: Fix pgtables setup when MMU is already enabled 2022-10-06 21:05:17 -04:00
dts sunxi: dts: arm: update devicetree files 2022-10-18 08:18:22 +01:00
include imx: gpmi: Add register needed to control nand bus timing 2022-10-09 10:42:26 +02:00
lib common/board_f: move CONFIG_MACH_TYPE logic to arch/arm/lib/bdinfo.c 2022-10-06 21:05:17 -04:00
mach-apple arm: apple: Add initial Apple M2 support 2022-07-25 09:38:47 -04:00
mach-aspeed treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-at91 cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
mach-bcm283x
mach-bcmbca arm: bcmbca: introduce the bcmbca architecture and 47622 SOC 2022-06-10 13:37:32 -04:00
mach-bcmstb
mach-cortina
mach-davinci arm: Remove unused references to CONFIG_SOC_DM* 2022-07-25 14:57:27 -04:00
mach-exynos arm: samsung: Migrate a number of symbols to Kconfig 2022-06-28 17:04:37 -04:00
mach-highbank
mach-hpe ARM: hpe: gxp: add core support 2022-06-22 21:30:04 -04:00
mach-imx treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-integrator
mach-ipq40xx arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings 2022-08-26 10:55:46 -04:00
mach-k3 treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-keystone treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-kirkwood arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00
mach-lpc32xx net: lpc32xx_eth.c ethernet driver 2022-08-20 21:18:15 -04:00
mach-mediatek arm: mediatek: add support for MediaTek MT7981 SoC 2022-09-23 15:09:15 -04:00
mach-meson ARM: meson: fixup error on efuse commands return 2022-08-08 09:56:38 +02:00
mach-mvebu arm: mvebu: Add support for specifying VHV_Enable GPIO 2022-10-06 10:15:35 +02:00
mach-nexell
mach-npcm arm: nuvoton: Add support for Nuvoton NPCM845 BMC 2022-10-06 21:05:17 -04:00
mach-octeontx
mach-octeontx2
mach-omap2 Convert CONFIG_SYS_L2_PL310 to Kconfig 2022-09-01 17:18:42 -04:00
mach-orion5x arm: Remove edminiv2 board 2022-08-20 21:18:15 -04:00
mach-owl
mach-qemu
mach-rmobile arm: Remove kzm9g board 2022-08-20 21:18:15 -04:00
mach-rockchip board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
mach-s5pc1xx
mach-snapdragon arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings 2022-08-26 10:55:46 -04:00
mach-socfpga treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
mach-sti stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
mach-stm32
mach-stm32mp - Increase SYS_MALLOC_F_LEN for STM32 MCU's board 2022-09-27 08:53:51 -04:00
mach-sunxi sunxi: Kconfig: introduce SUNXI_MINIMUM_DRAM_MB 2022-10-19 14:15:02 +01:00
mach-tegra dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
mach-u8500
mach-uniphier serial: Replace CONFIG_DEBUG_UART_BASE by CONFIG_VAL(DEBUG_UART_BASE) 2022-06-06 18:01:21 -04:00
mach-versal arm64: versal: Define zynqmp_mmio_write() for versal 2022-09-13 11:32:48 +02:00
mach-versal-net spi: cadence_qspi: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
mach-versatile
mach-zynq ARM: zynq: Align bss and end of u-boot image to 64bits 2022-09-13 11:32:48 +02:00
mach-zynqmp arm64: zynqmp: Fix compiler warnings in mp.c 2022-10-07 11:29:48 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk Makefile: Allow LTO to be disabled for a build 2022-09-02 16:20:11 -04:00
Kconfig arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
Kconfig.debug
Makefile arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00