From: Tom Rini Date: Mon, 28 Sep 2015 11:13:02 -0400 Subject: [U-Boot] [PATCH 04/11] vexpress64: Kconfig: add CONFIG_SYS_BOOTM_LEN In-Reply-To: <1443029143-22313-5-git-send-email-ryan.harkin@linaro.org> References: <1443029143-22313-1-git-send-email-ryan.harkin@linaro.org> <1443029143-22313-5-git-send-email-ryan.harkin@linaro.org> Message-ID: <20150928151302.GI22966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Linus Walleij > CC: Masahiro Yamada CC: Linus Walleij > --- > 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: