From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 16 Jan 2021 11:24:06 -0500 Subject: [PATCH v4 17/18] spl: Kconfig: Add SPL dependency to CONFIG_HANDOFF In-Reply-To: <20201128084320.10164-18-ovidiu.panait@windriver.com> References: <20201128084320.10164-1-ovidiu.panait@windriver.com> <20201128084320.10164-18-ovidiu.panait@windriver.com> Message-ID: <20210116162406.GK9782@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 Sat, Nov 28, 2020 at 10:43:19AM +0200, Ovidiu Panait wrote: > CONFIG_HANDOFF is used in u-boot proper to locate handoff info from SPL > during pre-relocation init (in setup_spl_handoff). Add explicit dependency > on CONFIG_SPL, to fix the following build error when CONFIG_HANDOFF && > !CONFIG_SPL: > > common/board_f.c: In function ?setup_spl_handoff?: > common/board_f.c:283:4: error: ?gd_t {aka struct global_data}? > has no member named ?spl_handoff? > gd->spl_handoff = bloblist_find(BLOBLISTT_SPL_HANDOFF, > ^~ > > Signed-off-by: Ovidiu Panait > Reviewed-by: Simon Glass 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: