[U-Boot] [PATCH] board: atmel: fix pda variable not being reset

Eugen.Hristev at microchip.com Eugen.Hristev at microchip.com
Thu Jun 27 07:07:19 UTC 2019



On 13.06.2019 09:22, Eugen Hristev - M18282 wrote:
> From: Eugen Hristev <eugen.hristev at microchip.com>
> 
> In case someone detects a PDA and u-boot sets the 'pda' variable,
> and the user does a saveenv, the pda is set in env, and if the
> screen is removed, u-boot will still have in the env the 'pda'
> variable, even if no screen is attached.
> In order to fix this, we have to reset the 'pda' variable,
> such that it's not just set if the screen is detected, but also unset
> if no screen is detected.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
> ---

Applied to u-boot-atmel/master


More information about the U-Boot mailing list