From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 01 Apr 2018 22:21:59 +0200 Subject: [U-Boot] [U-Boot, 36/36] rockchip: add common board file for rockchip platform In-Reply-To: <1522142971-20739-37-git-send-email-kever.yang@rock-chips.com> References: <1522142971-20739-37-git-send-email-kever.yang@rock-chips.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 > We use common board/spl/tpl file for all rockchip SoCs, > - all the SoC spec setting should move into SoC file like rk3288.c; > - tpl is option and only purpose to init DRAM, clock, uart(option); > - spl do secure relate one time init, boot device select, boot into > U-Boot or trust or OS in falcon mode; > - board do boot mode detect, enable regulator, usb init and so on. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Makefile | 23 +---- > arch/arm/mach-rockchip/board.c | 136 ++++++++++++++++++++++++++++ > arch/arm/mach-rockchip/spl.c | 195 ++++++++++++++++++++++++++++++++++++++++ > arch/arm/mach-rockchip/tpl.c | 111 +++++++++++++++++++++++ > 4 files changed, 445 insertions(+), 20 deletions(-) > create mode 100644 arch/arm/mach-rockchip/board.c > create mode 100644 arch/arm/mach-rockchip/spl.c > create mode 100644 arch/arm/mach-rockchip/tpl.c > Acked-by: Philipp Tomsich