From: Philipp Tomsich Date: Fri, 29 Sep 2017 18:15:41 +0200 Subject: [U-Boot] [U-Boot,v2,3/5] rk3288: vyasa: Add TPL support In-Reply-To: <1506533594-9741-4-git-send-email-chakra.divi@openedev.com> References: <1506533594-9741-4-git-send-email-chakra.divi@openedev.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Jagan Teki > > Since the size of SPL can't be exceeded 0x8000 bytes in RK3288, > it is not possible add new SPL features like Falcon mode or etc. > > So add TPL stage so-that adding new features to SPL is possible. > - TPL: DRAM init, clocks > - SPL: MMC, falcon, etc > > Signed-off-by: Jagan Teki > Reviewed-by: Philipp Tomsich > --- > Changes for v2: > - Drop console output from commit message > - Updated licence note > - Moved read/write L2CTRL and configure_l2ctlr to common > - Moved debug header in include files list > - Moved preprocessor macro to top > Note: > Idea is not to build this in SPL when TPL enabled, > so CONFIG_SUPPORT_TPL work that case. > > arch/arm/mach-rockchip/Makefile | 1 + > arch/arm/mach-rockchip/rk3288-board-spl.c | 3 ++ > arch/arm/mach-rockchip/rk3288-board-tpl.c | 84 +++++++++++++++++++++++++++++++ > arch/arm/mach-rockchip/rk3288/Kconfig | 16 ++++++ > configs/vyasa-rk3288_defconfig | 3 ++ > doc/README.rockchip | 18 +++++++ > include/configs/rk3288_common.h | 6 ++- > 7 files changed, 130 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/mach-rockchip/rk3288-board-tpl.c > Acked-by: Philipp Tomsich