public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kever Yang <kever.yang@rock-chips.com>
To: Jonas Karlman <jonas@kwiboo.se>, Simon Glass <sjg@chromium.org>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH 04/11] rockchip: rk3288-firefly: Use common bss and stack addresses
Date: Fri, 3 Jan 2025 14:39:44 +0800	[thread overview]
Message-ID: <cd18e024-9b75-46f1-9c69-202d0cbe984e@rock-chips.com> (raw)
In-Reply-To: <20241212221000.94501-5-jonas@kwiboo.se>


On 2024/12/13 06:09, Jonas Karlman wrote:
> Migrate to use common bss, stack and malloc heap size and addresses to
> unify memory use in TPL, SPL and pre-reloc.
>
> ENV_OFFSET is using the default value of 0x3f8000 and is also dropped.
>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/mach-rockchip/rk3288/Kconfig |  1 +
>   configs/firefly-rk3288_defconfig      | 10 ----------
>   2 files changed, 1 insertion(+), 10 deletions(-)
>
> diff --git a/arch/arm/mach-rockchip/rk3288/Kconfig b/arch/arm/mach-rockchip/rk3288/Kconfig
> index 9cc97bacc41d..e563bf455e68 100644
> --- a/arch/arm/mach-rockchip/rk3288/Kconfig
> +++ b/arch/arm/mach-rockchip/rk3288/Kconfig
> @@ -75,6 +75,7 @@ config TARGET_FENNEC_RK3288
>   config TARGET_FIREFLY_RK3288
>   	bool "Firefly-RK3288"
>   	select BOARD_LATE_INIT
> +	select ROCKCHIP_COMMON_STACK_ADDR
>   	select TPL
>   	help
>   	  Firefly is a RK3288-based development board with 2 USB ports,
> diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig
> index eed0806b2321..87ed0c0d2aea 100644
> --- a/configs/firefly-rk3288_defconfig
> +++ b/configs/firefly-rk3288_defconfig
> @@ -5,19 +5,11 @@ CONFIG_SYS_ARCH_TIMER=y
>   CONFIG_ARCH_ROCKCHIP=y
>   CONFIG_TEXT_BASE=0x01000000
>   CONFIG_NR_DRAM_BANKS=1
> -CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> -CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x100000
>   CONFIG_SF_DEFAULT_SPEED=20000000
> -CONFIG_ENV_OFFSET=0x3F8000
>   CONFIG_DEFAULT_DEVICE_TREE="rk3288-firefly"
>   CONFIG_DM_RESET=y
> -CONFIG_SYS_MONITOR_LEN=614400
>   CONFIG_ROCKCHIP_RK3288=y
>   CONFIG_TARGET_FIREFLY_RK3288=y
> -CONFIG_SPL_STACK_R_ADDR=0x80000
> -CONFIG_SPL_STACK=0xff718000
> -CONFIG_SPL_STACK_R=y
> -CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000
>   CONFIG_SYS_BOOTM_LEN=0x4000000
>   CONFIG_SYS_LOAD_ADDR=0x800800
>   CONFIG_SPL_SIZE_LIMIT=0x40000
> @@ -31,8 +23,6 @@ CONFIG_SILENT_CONSOLE=y
>   CONFIG_DISPLAY_BOARDINFO_LATE=y
>   CONFIG_MISC_INIT_R=y
>   CONFIG_SPL_PAD_TO=0x7f8000
> -CONFIG_SPL_NO_BSS_LIMIT=y
> -# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_GPT=y
>   CONFIG_CMD_I2C=y

  reply	other threads:[~2025-01-03  6:39 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-12 22:09 [PATCH 00/11] rockchip: rk3288-firefly: Migrate to OF_UPSTREAM Jonas Karlman
2024-12-12 22:09 ` [PATCH 01/11] rockchip: rk3288-firefly: Drop unused SPL_LED related code Jonas Karlman
2025-01-03  6:39   ` Kever Yang
2024-12-12 22:09 ` [PATCH 02/11] rockchip: rk3288-firefly: Sort u-boot.dtsi nodes alphabetically Jonas Karlman
2025-01-03  6:39   ` Kever Yang
2024-12-12 22:09 ` [PATCH 03/11] rockchip: rk3288-firefly: Set ethaddr env based on cpuid Jonas Karlman
2025-01-03  6:39   ` Kever Yang
2024-12-12 22:09 ` [PATCH 04/11] rockchip: rk3288-firefly: Use common bss and stack addresses Jonas Karlman
2025-01-03  6:39   ` Kever Yang [this message]
2024-12-12 22:09 ` [PATCH 05/11] rockchip: rk3288-firefly: Include required DT nodes in xPL Jonas Karlman
2025-01-03  6:40   ` Kever Yang
2024-12-12 22:09 ` [PATCH 06/11] rockchip: rk3288-firefly: Include sdmmc regulator in SPL Jonas Karlman
2025-01-03  6:41   ` Kever Yang
2024-12-12 22:09 ` [PATCH 07/11] rockchip: rk3288-firefly: Drop use of silent console and late boardinfo Jonas Karlman
2025-01-03  6:41   ` Kever Yang
2024-12-12 22:09 ` [PATCH 08/11] rockchip: rk3288-firefly: Drop USE_PREBOOT Kconfig option Jonas Karlman
2025-01-03  6:41   ` Kever Yang
2024-12-12 22:09 ` [PATCH 09/11] rockchip: rk3288-firefly: Migrate to OF_UPSTREAM Jonas Karlman
2025-01-03  6:41   ` Kever Yang
2024-12-12 22:09 ` [PATCH 10/11] rockchip: rk3288-firefly: Fix slow Ethernet initializion Jonas Karlman
2025-01-03  6:42   ` Kever Yang
2024-12-12 22:09 ` [PATCH 11/11] rockchip: rk3288-firefly: Change to use FIT Jonas Karlman
2025-01-03  6:41   ` Kever Yang

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=cd18e024-9b75-46f1-9c69-202d0cbe984e@rock-chips.com \
    --to=kever.yang@rock-chips.com \
    --cc=jonas@kwiboo.se \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox