mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Arnaud Aujon Chevallier <arnaud@intelibre.fr>
This commit is contained in:
parent
2a0a577aad
commit
5a7885cca5
|
@ -55,7 +55,6 @@ int board_init(void)
|
|||
{
|
||||
gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR;
|
||||
gd->bd->bi_arch_number = MACH_TYPE_VEXPRESS;
|
||||
gd->flags = 0;
|
||||
|
||||
icache_enable();
|
||||
flash__init();
|
||||
|
|
Loading…
Reference in New Issue
Block a user