Skip to content
Commit ad371d8c authored by Eugen Hristev's avatar Eugen Hristev
Browse files

board: atmel: fix pda variable not being reset



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: default avatarEugen Hristev <eugen.hristev@microchip.com>
parent 5eea874b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment