Commit 5a7885cc authored by Arnaud Aujon Chevallier's avatar Arnaud Aujon Chevallier Committed by Tom Rini
Browse files

arm: vexpress: don't reset flags in board_init to avoid losing previous ones



Re-submitted because of missing description and signed-off.

flags reset in board_init caused bugs when executing command like editenv
because the reallocated flag was lost.
Tested-by: default avatarMichael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: default avatarArnaud Aujon Chevallier <arnaud@intelibre.fr>
parent 2a0a577a
...@@ -55,7 +55,6 @@ int board_init(void) ...@@ -55,7 +55,6 @@ int board_init(void)
{ {
gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR; gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR;
gd->bd->bi_arch_number = MACH_TYPE_VEXPRESS; gd->bd->bi_arch_number = MACH_TYPE_VEXPRESS;
gd->flags = 0;
icache_enable(); icache_enable();
flash__init(); flash__init();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment