u-boot/drivers/ram
Patrick Delaunay 81b66b9033 ram: stm32mp1: use the DDR size by default in the test addressBus
The test 4 = "AddressBus [size] [addr]" without parameter
detects alias for any address bit only when:
- size = real size of DDR
- addr = start of DDR = 0xC0000000

These value must be the default value when parameters are absent.

This patch sets bufsize to STM32_DDR_SIZE and get_bufsize() selects
the correct value for bufsize when this parameter is absent =
full size of the DDDR

On EV1 board :
DDR> test 4
running at 0xC0000000 length 0x40000000

On DK2 board
DDR> test 4
running at 0xC0000000 length 0x20000000

Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
2020-07-07 16:01:23 +02:00
..
k3-j721e common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mediatek common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rockchip common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sifive sifive: fu540: add ddr driver 2020-06-04 09:44:08 +08:00
stm32mp1 ram: stm32mp1: use the DDR size by default in the test addressBus 2020-07-07 16:01:23 +02:00
bmips_ram.c common: Move RAM-sizing functions to init.h 2020-01-17 14:02:35 -05:00
imxrt_sdram.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
k3-am654-ddrss.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
k3-am654-ddrss.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig sifive: fu540: add ddr driver 2020-06-04 09:44:08 +08:00
Makefile sifive: fu540: add ddr driver 2020-06-04 09:44:08 +08:00
mpc83xx_sdram.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ram-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_ram.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_sdram.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00