All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kever Yang <kever.yang@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/7] rockchip: Kconfig: enable TPL support for rk3328
Date: Mon, 5 Aug 2019 21:03:13 +0800	[thread overview]
Message-ID: <ef49a7e3-f955-f6ac-d713-81e5a3743d8c@rock-chips.com> (raw)
In-Reply-To: <20190802074004.4301-5-matwey.kornilov@gmail.com>


On 2019/8/2 下午3:40, Matwey V. Kornilov wrote:
> From: Kever Yang <kever.yang@rock-chips.com>
>
> Enable TPL support and some related option in Kconfig.
>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> [cherry picked from commit https://github.com/rockchip-linux/u-boot/commit/430b01462bf3f24aaf7920ae2587a6943c39ab5d with minor modifications]
> Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/mach-rockchip/Kconfig        |  5 +++++
>   arch/arm/mach-rockchip/rk3328/Kconfig | 12 ++++++++++++
>   2 files changed, 17 insertions(+)
>
> diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
> index e337d06b99..f5a80b4f0c 100644
> --- a/arch/arm/mach-rockchip/Kconfig
> +++ b/arch/arm/mach-rockchip/Kconfig
> @@ -110,9 +110,14 @@ config ROCKCHIP_RK3328
>   	select ARM64
>   	select SUPPORT_SPL
>   	select SPL
> +	select SUPPORT_TPL
> +	select TPL
> +	select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
> +	select TPL_NEEDS_SEPARATE_STACK if TPL
>   	imply ROCKCHIP_COMMON_BOARD
>   	imply SPL_ROCKCHIP_COMMON_BOARD
>   	imply SPL_SERIAL_SUPPORT
> +	imply TPL_SERIAL_SUPPORT
>   	imply SPL_SEPARATE_BSS
>   	select ENABLE_ARM_SOC_BOOT0_HOOK
>   	select DEBUG_UART_BOARD_INIT
> diff --git a/arch/arm/mach-rockchip/rk3328/Kconfig b/arch/arm/mach-rockchip/rk3328/Kconfig
> index f8e15288e0..d13a169022 100644
> --- a/arch/arm/mach-rockchip/rk3328/Kconfig
> +++ b/arch/arm/mach-rockchip/rk3328/Kconfig
> @@ -27,6 +27,18 @@ config SPL_LIBCOMMON_SUPPORT
>   config SPL_LIBGENERIC_SUPPORT
>   	default y
>   
> +config TPL_LDSCRIPT
> +	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
> +
> +config TPL_TEXT_BASE
> +	default 0xff091000
> +
> +config TPL_MAX_SIZE
> +	default 28672
> +
> +config TPL_STACK
> +	default 0xff098000
> +
>   source "board/rockchip/evb_rk3328/Kconfig"
>   
>   endif

  reply	other threads:[~2019-08-05 13:03 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-31 16:01 [U-Boot] [PATCH 0/7] Add TPL support for Pine64 Rock64 board Matwey V. Kornilov
2019-07-31 16:01 ` [U-Boot] [PATCH 1/7] rockchip: ram: add full feature rk3328 DRAM driver Matwey V. Kornilov
2019-07-31 16:01 ` [U-Boot] [PATCH 2/7] rockchip: dts: rk3328: update dmc node for driver Matwey V. Kornilov
2019-08-01  2:38   ` Kever Yang
2019-07-31 16:01 ` [U-Boot] [PATCH 3/7] rockchip: dts: rk3328: enable the drivers need by TPL/SPL Matwey V. Kornilov
2019-08-01  2:39   ` Kever Yang
2019-07-31 16:01 ` [U-Boot] [PATCH 4/7] rockchip: Kconfig: enable TPL support for rk3328 Matwey V. Kornilov
2019-08-01  2:40   ` Kever Yang
2019-07-31 16:01 ` [U-Boot] [PATCH 5/7] rockchip: evb-rk3328: enable defconfig options for TPL/SPL Matwey V. Kornilov
2019-07-31 16:01 ` [U-Boot] [PATCH 6/7] configs: rk3328: enable TPL for rock64-rk3328_defconfig Matwey V. Kornilov
2019-08-01  2:42   ` Kever Yang
2019-07-31 16:01 ` [U-Boot] [PATCH 7/7] doc: rockchip: Adapt Pine64 Rock64 board instructions Matwey V. Kornilov
2019-08-01  2:42   ` Kever Yang
2019-08-01  2:36 ` [U-Boot] [PATCH 0/7] Add TPL support for Pine64 Rock64 board Kever Yang
2019-08-02  7:09   ` Matwey V. Kornilov
2019-08-02  7:39   ` [U-Boot] [PATCH v2 " Matwey V. Kornilov
2019-08-02  7:39     ` [U-Boot] [PATCH v2 1/7] rockchip: dts: rk3328: Add rk3328-evb-u-boot.dtsi Matwey V. Kornilov
2019-08-05 13:01       ` Kever Yang
2019-08-02  7:39     ` [U-Boot] [PATCH v2 2/7] rockchip: ram: add full feature rk3328 DRAM driver Matwey V. Kornilov
2019-08-05 13:02       ` Kever Yang
2019-08-05 13:04       ` Philipp Tomsich
2019-08-06  1:46         ` Kever Yang
2019-08-02  7:40     ` [U-Boot] [PATCH v2 3/7] rockchip: dts: rk3328: update dmc node for driver Matwey V. Kornilov
2019-08-05 13:02       ` Kever Yang
2019-08-02  7:40     ` [U-Boot] [PATCH v2 4/7] rockchip: Kconfig: enable TPL support for rk3328 Matwey V. Kornilov
2019-08-05 13:03       ` Kever Yang [this message]
2019-08-02  7:40     ` [U-Boot] [PATCH v2 5/7] rockchip: evb-rk3328: enable defconfig options for TPL/SPL Matwey V. Kornilov
2019-08-05 13:03       ` Kever Yang
2019-08-02  7:40     ` [U-Boot] [PATCH v2 6/7] configs: rk3328: enable TPL for rock64-rk3328_defconfig Matwey V. Kornilov
2019-08-05 13:03       ` Kever Yang
2019-08-02  7:40     ` [U-Boot] [PATCH v2 7/7] doc: rockchip: Adapt Pine64 Rock64 board instructions Matwey V. Kornilov
2019-08-02 10:41     ` [U-Boot] [PATCH v2 0/7] Add TPL support for Pine64 Rock64 board Chen-Yu Tsai
2019-08-02 10:55       ` Matwey V. Kornilov
2019-08-02 11:21         ` Chen-Yu Tsai

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=ef49a7e3-f955-f6ac-d713-81e5a3743d8c@rock-chips.com \
    --to=kever.yang@rock-chips.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.