mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-03 04:42:40 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue