u-boot-brain/arch/arm
Icenowy Zheng 176868bc65 sunxi: enable dual rank detection in DesignWare-like DRAM code
The DesignWare-like DRAM code used to set the controller defaultly to
single rank mode, which makes it not able to detect the second rank.

Set the default value to dual rank, thus the rank detection code can
work and finally the rank setting will be the correct value.

Currently we know little about the dual-rank on R40, and the usage
of A15 address line seems to be breaking dual-rank support. The only R40
board currently available (Sinovoip Banana Pi M2 Ultra) uses A15 rather
than dual-rank, thus we cannot do research for it. So dual rank detection
is temporarily disabled on R40.

This change is tested on a Orange Pi One (H3, single rank), a Pine64+
2GiB version (A64, single rank) , a Pinebook early prototype with DDR3
(A64, dual rank) and a SoPine with some LPDDR3 patch (A64, dual CS pins
on one chip).

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
2017-06-08 22:37:55 +05:30
..
cpu armv7m: Fix larger builds 2017-06-05 14:13:14 -04:00
dts sun8i: h3: Add initial NanoPi M1 Plus support 2017-06-08 21:48:23 +05:30
imx-common Convert CONFIG_CMD_HDMIDETECT to Kconfig 2017-05-22 12:45:22 -04:00
include sunxi: Add selective DRAM type and timing 2017-06-08 22:37:55 +05:30
lib arm: Add Kconfig symbols used for Linux asm compatibility 2017-06-05 14:13:13 -04:00
mach-aspeed aspeed: Refactor SCU to use consistent mask & shift 2017-05-08 11:57:35 -04:00
mach-at91 Kconfig: USB: Migrate CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCD 2017-05-15 10:40:05 -04:00
mach-bcm283x bcm2835_wdt: support for the BCM2835/2836 watchdog 2017-05-09 20:30:08 -04:00
mach-davinci common: arm: davinci: Move header file out of common 2017-06-05 12:31:23 -04:00
mach-exynos Kconfig: Finish migration of hashing commands 2017-05-31 19:38:14 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
mach-kirkwood Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
mach-meson board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-mvebu dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mach-omap2 arm: Include asm/setup.h explictly 2017-06-05 11:02:37 -04:00
mach-orion5x board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-rmobile ARM: rmobile: Move address of IICDVFS(I2C) to rcar-gen3-base.h 2017-05-22 15:07:31 +09:00
mach-rockchip dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mach-socfpga Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 stm32f7: configure mpu valid for f7 family 2017-05-12 08:37:08 -04:00
mach-sunxi sunxi: enable dual rank detection in DesignWare-like DRAM code 2017-06-08 22:37:55 +05:30
mach-tegra fdt: Rename a few functions in fdt_support 2017-06-01 07:03:11 -06:00
mach-uniphier dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq zynq: Move zynq to clock framework 2017-02-17 10:22:46 +01:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk arm: Always keep the dtb section on objcopy 2017-06-05 14:13:11 -04:00
Kconfig arm: Add Kconfig symbols used for Linux asm compatibility 2017-06-05 14:13:13 -04:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile ARM: omap2+: rename config to ARCH_OMAP2PLUS and consolidate Kconfig 2017-04-27 16:49:08 -04:00