Re: [PATCH 1/4] env: remove callback.o for an SPL build

2020-04-24 Thread Tom Rini
On Thu, Feb 27, 2020 at 01:56:10PM +, Rasmus Villemoes wrote: > env.h says this about about callback declarations (U_BOOT_ENV_CALLBACK): > > * For SPL these are silently dropped to reduce code size, since environment > * callbacks are not supported with SPL. > > So env_callback_init()

Re: [PATCH 1/4] env: remove callback.o for an SPL build

2020-02-27 Thread Simon Glass
On Thu, 27 Feb 2020 at 05:56, Rasmus Villemoes wrote: > > env.h says this about about callback declarations (U_BOOT_ENV_CALLBACK): > > * For SPL these are silently dropped to reduce code size, since environment > * callbacks are not supported with SPL. > > So env_callback_init() does a lot of

[PATCH 1/4] env: remove callback.o for an SPL build

2020-02-27 Thread Rasmus Villemoes
env.h says this about about callback declarations (U_BOOT_ENV_CALLBACK): * For SPL these are silently dropped to reduce code size, since environment * callbacks are not supported with SPL. So env_callback_init() does a lot of work to not find anything in the guaranteed empty env_clbk list.