From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Tue, 30 Jan 2018 09:18:09 +0100 Subject: [U-Boot] [PATCH v3 13/15] env: Mark env_get_location as weak In-Reply-To: References: Message-ID: <20180130081809.cyhllpfhcog3jhjx@flea.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jan 30, 2018 at 09:12:41AM +0100, Simon Goldschmidt wrote: > On 23.01.2018 21:17, Maxime Ripard wrote: > > Allow boards and architectures to override the default environment lookup > > code by overriding env_get_location. > > Sorry for missing that conversation a bit, but is it really enough to > override env_get_location? > Overriding this function should make the env_locations array unused, but > env_set_inited still references it. Well, it's not really referenced, there's a build time boundary check that we do not overflow our bitfield. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: