summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorArnaud Aujon Chevallier <arnaud@intelibre.fr>2020-11-15 12:54:10 +0100
committerTom Rini <trini@konsulko.com>2020-11-19 09:45:49 -0500
commit5a7885cca50fbc90c52839c4bef0a2cf316ad4fe (patch)
tree4b6b3c05690004b5fcf0646044ca8cfbf2728ce9 /board/armltd
parent2a0a577aad4337eab24812911df248a9a8c4ebd0 (diff)
downloadu-boot-5a7885cca50fbc90c52839c4bef0a2cf316ad4fe.tar.gz
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>
Diffstat (limited to 'board/armltd')
-rw-r--r--board/armltd/vexpress/vexpress_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/armltd/vexpress/vexpress_common.c b/board/armltd/vexpress/vexpress_common.c
index 70f6cd80d5..8fea8ff352 100644
--- a/board/armltd/vexpress/vexpress_common.c
+++ b/board/armltd/vexpress/vexpress_common.c
@@ -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();