This series patch enable basic driver for rk3399 SPL, the ATF support has been split as a separate patch.
SPL_OF_PLATDATA is consider as recommend option because the dram driver has much configuration parameter from dts, we can save some boot time if we don't do the copy. Other driver like clock, pinctrl, sdhci has update to support OF-PLATDATA. Patches that have been applied are removed from this version. Changes in v3: - enable driver without of-platdata - add binding file for sdram driver - some fix base on Simon's comment. Changes in v2: - use lower-case hex for input dts data - using rk3288 like style to encode/decode sys_reg - gather some parameters as base params in rk3399_sdram_params - add some missing comment - split SPL patch into 4 patches Changes in v1: - use dts for parameter - get all controller base address from dts instead of hard code - gather all controller into dram_info instead of separate global variables. - add return value for error case Kever Yang (4): arm64: rk3399: add ddr controller driver dts: rk3399: update for spl require driver arm64: rk3399: add SPL support config: rk3399: enable SPL config for evb-rk3399 arch/arm/Kconfig | 1 + arch/arm/dts/rk3399-evb.dts | 2 + arch/arm/dts/rk3399-sdram-lpddr3-4GB-1600.dtsi | 1536 ++++++++++++++++++++ arch/arm/dts/rk3399.dtsi | 44 + arch/arm/include/asm/arch-rockchip/sdram_rk3399.h | 119 ++ arch/arm/mach-rockchip/Kconfig | 2 + arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk3399-board-spl.c | 158 ++ arch/arm/mach-rockchip/rk3399/Makefile | 1 + arch/arm/mach-rockchip/rk3399/rk3399.c | 1 + arch/arm/mach-rockchip/rk3399/sdram_rk3399.c | 1321 +++++++++++++++++ configs/evb-rk3399_defconfig | 18 + .../clock/rockchip,rk3399-dmc.txt | 42 + include/configs/rk3399_common.h | 11 + 14 files changed, 3257 insertions(+) create mode 100644 arch/arm/dts/rk3399-sdram-lpddr3-4GB-1600.dtsi create mode 100644 arch/arm/include/asm/arch-rockchip/sdram_rk3399.h create mode 100644 arch/arm/mach-rockchip/rk3399-board-spl.c create mode 100644 arch/arm/mach-rockchip/rk3399/sdram_rk3399.c create mode 100644 doc/device-tree-bindings/clock/rockchip,rk3399-dmc.txt -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot