From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:23 +0200 Subject: [U-Boot] [U-Boot, v4, 53/66] rockchip: rk3368: spl: add TPL support In-Reply-To: <1501706105-7490-54-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-54-git-send-email-philipp.tomsich@theobroma-systems.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 > This adds the TPL support for the RK3368, including the u-boot-tpl.lds. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: > - removes the '#define DEBUG' > - uses the syscon API to access GRF and SGRF to avoid using hard-coded > addresses > > Changes in v2: > - copies the enum for the IOMUX config of the debug UART into the TPL > support code, as the various constants are otherwise private to the > pinctrl code (and we can't include pinctrl in the TPL stage due to > size constraints/dependencies) > > arch/arm/mach-rockchip/Makefile | 1 + > arch/arm/mach-rockchip/rk3368-board-tpl.c | 177 +++++++++++++++++++++++++++ > arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds | 13 ++ > 3 files changed, 191 insertions(+) > create mode 100644 arch/arm/mach-rockchip/rk3368-board-tpl.c > create mode 100644 arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds > Applied to u-boot-rockchip, thanks!