arm: vexpress: don't reset flags in board_init to avoid losing previous ones
PATCH v3 1/1 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.
Signed-off-by Arnaud Aujon Chevallier <[email protected]>
--- board/armltd/vexpress/vexpress_common.c | 1 - 1 file changed, 1 deletion(-)
board/armltd/vexpress/vexpress_common.c +0 -1
@@ -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 ();
Signature · 1 line
2.26.2
PATCH v3 1/1 arm: vexpress: don't reset flags in board_init to avoid losing previous ones
Tested-by Michael Opdenacker <[email protected]>
Signature · 3 lines
Michael Opdenacker, CEO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v3 1/1 arm: vexpress: don't reset flags in board_init to avoid losing previous ones
In reply to Arnaud Aujon ChevallierQuoted 7 lines · Arnaud Aujon Chevallier
Re-submitted because of missing description and signed-off.
flags reset in
board_initcaused bugs when executing command like editenv because the reallocated flag was lost.Tested-by Michael Opdenacker <[email protected]>Signed-off-by Arnaud Aujon Chevallier <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201119/a3edd751/attachment.sig>