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

Christoph Müllner christoph.muellner at theobroma-systems.com
Tue May 28 13:18:28 UTC 2019



On 28.05.19 15:06, Kever Yang wrote:
> 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?

Correct.
Thanks for the hint, I will rebase and fix.

Thanks,
Christoph

> 
> 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