From: Heiko Stuebner <heiko@sntech.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/8] rockchip: rk3288: move TPL options to generic position
Date: Fri, 5 Apr 2019 10:30:08 +0200 [thread overview]
Message-ID: <20190405083013.5473-4-heiko@sntech.de> (raw)
In-Reply-To: <20190405083013.5473-1-heiko@sntech.de>
Move the TPL-related options to the generic RK3288 config option
protected by "if TPL" conditionals.
This way board wanting TPL support just need to "select TPL" to
get all necessary options instead of duplicating all of them.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm/mach-rockchip/Kconfig | 15 +++++++++++++++
arch/arm/mach-rockchip/rk3288/Kconfig | 15 ---------------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index b9a026abb5..ba11e8a497 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -63,6 +63,21 @@ config ROCKCHIP_RK3288
select SPL_BOARD_INIT if SPL
select SUPPORT_SPL
select SPL
+ select SUPPORT_TPL
+ select ROCKCHIP_BROM_HELPER if TPL
+ select TPL_BOOTROM_SUPPORT if TPL
+ select TPL_CLK if TPL
+ select TPL_DM if TPL
+ select TPL_DRIVERS_MISC_SUPPORT if TPL
+ select TPL_LIBCOMMON_SUPPORT if TPL
+ select TPL_LIBGENERIC_SUPPORT if TPL
+ select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
+ select TPL_OF_CONTROL if TPL
+ select TPL_OF_PLATDATA if TPL
+ select TPL_RAM if TPL
+ select TPL_REGMAP if TPL
+ select TPL_SERIAL_SUPPORT if TPL
+ select TPL_SYSCON if TPL
imply USB_FUNCTION_ROCKUSB
imply CMD_ROCKUSB
help
diff --git a/arch/arm/mach-rockchip/rk3288/Kconfig b/arch/arm/mach-rockchip/rk3288/Kconfig
index f540b8daec..936faf75ca 100644
--- a/arch/arm/mach-rockchip/rk3288/Kconfig
+++ b/arch/arm/mach-rockchip/rk3288/Kconfig
@@ -98,22 +98,7 @@ config TARGET_POPMETAL_RK3288
config TARGET_VYASA_RK3288
bool "Vyasa-RK3288"
select BOARD_LATE_INIT
- select ROCKCHIP_BROM_HELPER
- select SUPPORT_TPL
select TPL
- select TPL_BOOTROM_SUPPORT
- select TPL_CLK
- select TPL_DM
- select TPL_DRIVERS_MISC_SUPPORT
- select TPL_LIBCOMMON_SUPPORT
- select TPL_LIBGENERIC_SUPPORT
- select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
- select TPL_OF_CONTROL
- select TPL_OF_PLATDATA
- select TPL_RAM
- select TPL_REGMAP
- select TPL_SERIAL_SUPPORT
- select TPL_SYSCON
help
Vyasa is a RK3288-based development board with 2 USB ports,
HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
--
2.20.1
next prev parent reply other threads:[~2019-04-05 8:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-05 8:30 [U-Boot] [PATCH 0/8] arm-trusted-firmware support for rk3288 Heiko Stuebner
2019-04-05 8:30 ` [U-Boot] [PATCH 1/8] arm: v7: add read_mpidr function for arm32 Heiko Stuebner
2019-04-16 10:29 ` Matthias Brugger
2019-04-05 8:30 ` [U-Boot] [PATCH 2/8] spl: atf: add arm32 variant Heiko Stuebner
2019-04-05 8:30 ` Heiko Stuebner [this message]
2019-04-16 9:37 ` [U-Boot] [PATCH 3/8] rockchip: rk3288: move TPL options to generic position Jagan Teki
2019-04-05 8:30 ` [U-Boot] [PATCH 4/8] rockchip: rk3288: adjust load addresses Heiko Stuebner
2019-04-05 8:30 ` [U-Boot] [PATCH 5/8] rockchip: rk3288: reserve first 2MB when build with ATF support Heiko Stuebner
2019-05-07 2:29 ` Kever Yang
2019-04-05 8:30 ` [U-Boot] [PATCH 6/8] rockchip: rk3288: split evb into its two entities Heiko Stuebner
2019-04-05 8:30 ` [U-Boot] [PATCH 7/8] rockchip: rk3288: convert rk3288-evb to use tpl Heiko Stuebner
2019-05-07 2:32 ` Kever Yang
2019-04-05 8:30 ` [U-Boot] [PATCH 8/8] rockchip: rk3288: make both evb variants use atf Heiko Stuebner
2019-05-07 2:28 ` Kever Yang
[not found] ` <526672816.2740575.1557194072777.JavaMail.javamailuser@localhost>
2019-05-07 7:51 ` Heiko Stuebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190405083013.5473-4-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox