public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH 0/3] arm64: rk3399: enable SPL with ATF support
@ 2016-12-29 10:25 Kever Yang
  2016-12-29 10:25 ` [U-Boot] [RFC PATCH 1/3] arm64: rk3399: add SPL support Kever Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Kever Yang @ 2016-12-29 10:25 UTC (permalink / raw)
  To: u-boot


RK3399 SPL is not enable bacause of the lack of ATF support in SPL,
after port some source code from ATF, I manage to enable the support for
ATF in SPL. This patch set depends on some patch for SPL support multi
binary in FIT which is from Andre.

The patch of sdram controller is still not clean, because I want to get
comments from upstream.I port this driver from coreboot, and I don't
want to make much change on it. The rk3399 dram controller has many registers
to config, I want to make them directly used by driver instead of parse
and copy them one by one from dts.

Another part of comment is welcome for the implementation of spl_atf.c
and the entry in spl.c



Kever Yang (3):
  arm64: rk3399: add SPL support
  arm64: rk3399: add ddr controller driver
  spl: add support to booting with ATF

 arch/arm/Kconfig                                   |    1 +
 arch/arm/dts/rk3399.dtsi                           |   24 +
 arch/arm/include/asm/arch-rockchip/grf_rk3399.h    |  118 ++
 arch/arm/include/asm/arch-rockchip/sdram_rk3399.h  |  188 +++
 arch/arm/mach-rockchip/Kconfig                     |    2 +
 arch/arm/mach-rockchip/Makefile                    |    1 +
 arch/arm/mach-rockchip/rk3399-board-spl.c          |  157 ++
 arch/arm/mach-rockchip/rk3399/Makefile             |    1 +
 arch/arm/mach-rockchip/rk3399/sdram-lpddr3-4GB.inc | 1565 ++++++++++++++++++++
 arch/arm/mach-rockchip/rk3399/sdram_rk3399.c       | 1121 ++++++++++++++
 common/spl/Kconfig                                 |   14 +
 common/spl/Makefile                                |    1 +
 common/spl/spl.c                                   |    4 +
 common/spl/spl_atf.c                               |   91 ++
 configs/evb-rk3399_defconfig                       |   17 +
 drivers/clk/rockchip/clk_rk3399.c                  |   42 +-
 drivers/pinctrl/rockchip/pinctrl_rk3399.c          |  106 --
 include/atf_common.h                               |  295 ++++
 include/configs/rk3399_common.h                    |   11 +
 include/dt-bindings/clock/rk3399-cru.h             |   16 +-
 include/spl.h                                      |    1 +
 21 files changed, 3663 insertions(+), 113 deletions(-)
 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-lpddr3-4GB.inc
 create mode 100644 arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
 create mode 100644 common/spl/spl_atf.c
 create mode 100644 include/atf_common.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-01-28 21:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-29 10:25 [U-Boot] [RFC PATCH 0/3] arm64: rk3399: enable SPL with ATF support Kever Yang
2016-12-29 10:25 ` [U-Boot] [RFC PATCH 1/3] arm64: rk3399: add SPL support Kever Yang
2017-01-13  2:11   ` Simon Glass
2016-12-29 10:25 ` [U-Boot] [RFC PATCH 2/3] arm64: rk3399: add ddr controller driver Kever Yang
2017-01-13  2:18   ` Simon Glass
2017-01-18  9:55     ` Kever Yang
2016-12-29 10:25 ` [U-Boot] [RFC PATCH 3/3] spl: add support to booting with ATF Kever Yang
2017-01-02 15:05   ` Michal Simek
2017-01-06  7:09     ` Kever Yang
2017-01-06  7:55       ` Michal Simek
2017-01-26 14:23         ` Simon Glass
2017-01-28 21:55           ` Tom Rini
2017-01-18 12:20   ` Kever Yang
2017-01-02 15:05 ` [U-Boot] [RFC PATCH 0/3] arm64: rk3399: enable SPL with ATF support Michal Simek
2017-01-06  7:11   ` Kever Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox