[U-Boot] [PATCH 04/11] vexpress64: Kconfig: add CONFIG_SYS_BOOTM_LEN
Tom Rini
trini at konsulko.com
Mon Sep 28 17:13:02 CEST 2015
On Wed, Sep 23, 2015 at 10:25:36AM -0700, Ryan Harkin wrote:
> vexpress64 kernels are usually over 8 MBytes in length, so setting the
> max uImage length to 0x4000000 (64 Mbytes) should give us plenty of
> scope for expansion.
>
> I mostly chose this length to match other board configs that use
> "(64 << 20)", however, Kconfig doesn't allow arithmetic operations.
>
> Signed-off-by: Ryan Harkin <ryan.harkin at linaro.org>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
> CC: Masahiro Yamada <yamada.m at jp.panasonic.com
> CC: Linus Walleij <linus.walleij at linaro.org>
> ---
> board/armltd/vexpress64/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/board/armltd/vexpress64/Kconfig b/board/armltd/vexpress64/Kconfig
> index 8da3bec..72679be 100644
> --- a/board/armltd/vexpress64/Kconfig
> +++ b/board/armltd/vexpress64/Kconfig
> @@ -1,3 +1,6 @@
> +config CONFIG_SYS_BOOTM_LEN
> + default 0x4000000
> +
> config SYS_BOARD
> default "vexpress64"
First, this is a typo (should be SYS_BOOTM_LEN, not
CONFIG_SYS_BOOTM_LEN) and second, this sounds more like it should be set
as the default for say aarch64 when adding the option to Kconfig. Or
maybe a more broad default even. moveconfig.py will help make it
clearer how many boards use what.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150928/689862cf/attachment.sig>
More information about the U-Boot
mailing list