u-boot-brain/arch/arm/mach-sunxi
Jens Kuske e013bead30 sunxi: H3: add DRAM controller single bit delay support
So far the DRAM driver for the H3 SoC (and apparently boot0/libdram as
well) only applied coarse delay line settings, with one delay value for
all the data lines in each byte lane and one value for the control lines.

Instead of setting the delays for whole bytes only allow setting it for
each individual bit. Also add support for address/command lane delays.

For the purpose of this patch the rules for the existing coarse settings
were just applied to the new scheme, so the actual register writes don't
change for the H3. Other SoCs will utilize this feature later properly.

With a stock GCC 5.3.0 this increases the dram_sun8i_h3.o code size from
2296 to 2344 Bytes.

[Andre: move delay parameters into macros to ease later sharing, use
	defines for numbers of delay registers, extend commit message]

Signed-off-by: Jens Kuske <jenskuske@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2017-01-04 16:37:42 +01:00
..
board.c spl: sunxi: Drop spl_board_announce_boot_device() 2016-12-09 08:40:16 -05:00
clock_sun4i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
clock_sun6i.c sun6i: Restrict some register initialization to Allwinner A31 SoC 2017-01-04 16:37:40 +01:00
clock_sun8i_a83t.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
clock_sun9i.c sunxi: add initial clock setup for sun9i for SPL 2016-10-30 11:38:04 +01:00
clock.c sunxi: add gtbus-initialisation for sun9i 2016-10-30 11:38:04 +01:00
cpu_info.c sunxi: fix SID read on H3 2016-12-20 16:08:50 +01:00
dram_helpers.c ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
dram_sun4i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun6i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a23.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a33.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a83t.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_h3.c sunxi: H3: add DRAM controller single bit delay support 2017-01-04 16:37:42 +01:00
dram_sun9i.c sunxi: DRAM initialisation for sun9i 2016-10-30 11:38:04 +01:00
gtbus_sun9i.c sunxi: add gtbus-initialisation for sun9i 2016-10-30 11:38:04 +01:00
Makefile sunxi: add gtbus-initialisation for sun9i 2016-10-30 11:38:04 +01:00
p2wi.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
pinmux.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
pmic_bus.c sunxi: power: add AXP809 support 2016-05-25 17:52:39 +02:00
prcm.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
rmr_switch.S sunxi: A64: do an RMR switch if started in AArch32 mode 2017-01-04 16:37:42 +01:00
rsb.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
usb_phy.c sunxi: A64: enable USB support 2016-10-30 11:38:04 +01:00