[U-Boot] [PATCH] rockchip: rk3399-puma: Reduce SPL size.

Kever Yang kever.yang at rock-chips.com
Tue May 28 13:06:00 UTC 2019


Hi Christoph,

    This patch need re-base upon latest mainline tree.

    And see below commons.


On 05/07/2019 04:42 PM, Christoph Muellner wrote:
> This commit reduces the SPL size by fixing typos in the removed property
> string list, switching to the tiny versions of printf/memset and
> disabling SPL_DOS/EFI_PARTITION support.
>
> Signed-off-by: Christoph Muellner <christoph.muellner at theobroma-systems.com>
> ---
>
>  configs/puma-rk3399_defconfig | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig
> index 964464ac0f..95e6eef10f 100644
> --- a/configs/puma-rk3399_defconfig
> +++ b/configs/puma-rk3399_defconfig
> @@ -47,10 +47,12 @@ CONFIG_CMD_CACHE=y
>  CONFIG_CMD_TIME=y
>  CONFIG_CMD_PMIC=y
>  CONFIG_CMD_REGULATOR=y
> +# CONFIG_SPL_DOS_PARTITION is not set
> +# CONFIG_SPL_EFI_PARTITION is not set
>  CONFIG_SPL_OF_CONTROL=y
>  CONFIG_OF_LIVE=y
>  CONFIG_DEFAULT_DEVICE_TREE="rk3399-puma-ddr1600"
> -CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
> +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parents assigned-clocks assigned-clock-rates assigned-clock-parents"

Did you really need to update "interrupt-parent" to "interrupt-parents",
I think this is a typo?

Thanks,
- Kever
>  CONFIG_ENV_IS_IN_MMC=y
>  CONFIG_REGMAP=y
>  CONFIG_SPL_REGMAP=y
> @@ -110,4 +112,6 @@ CONFIG_DM_VIDEO=y
>  CONFIG_DISPLAY=y
>  CONFIG_VIDEO_ROCKCHIP=y
>  CONFIG_DISPLAY_ROCKCHIP_HDMI=y
> +CONFIG_USE_TINY_PRINTF=y
> +CONFIG_SPL_TINY_MEMSET=y
>  CONFIG_ERRNO_STR=y





More information about the U-Boot mailing list