[PATCH 3/4] socfpga64: Do not define CONFIG_SYS_MEM_RESERVE_SECURE to 0

Tom Rini trini at konsulko.com
Thu Jun 24 15:15:35 CEST 2021


On Thu, Jun 03, 2021 at 09:39:01AM -0400, Tom Rini wrote:

> Based on the comment in socfpga_soc64_common.h, the intention is for
> CONFIG_SYS_MEM_RESERVE_SECURE to be unused.  However, in the code we do:
> ...
> 
> and that will evaluate to true.  This leads to unwanted code being
> compiled.  Further, as CONFIG_SYS_MEM_RESERVE_SECURE has not been
> migrated to Kconfig, this leads to a mismatch in the size of gd
> depending on if we have or have not also had <configs/BOARD.h> also
> included yet.
> 
> Remove the define as it's not needed.
> 
> Cc: Siew Chin Lim <elly.siew.chin.lim at intel.com>
> Cc: Chee Hong Ang <chee.hong.ang at intel.com>
> Cc: Dalon Westergreen <dalon.westergreen at intel.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210624/97b3ff59/attachment.sig>


More information about the U-Boot mailing list