Skip to contentSkip to conversation

config: remove CONFIG_ARMV8_SWITCH_TO_EL1 from whitelist.txt

PATCH New Heinrich Schuchardt 2 participants 2 messages Jun 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config: remove CONFIG_ARMV8_SWITCH_TO_EL1 from whitelist.txt

Since commit 208bdaf2ae5f ("vexpress/aemv8a: drop CONFIG_ARMV8_SWITCH_TO_EL1") no board uses CONFIG_ARMV8_SWITCH_TO_EL1. So we should remove this setting from whitelist.txt. If anybody should ever need it again, he should add a Kconfig option.

---
 scripts/config_whitelist.txt | 1 -
 1 file changed, 1 deletion(-)
scripts/config_whitelist.txt +0 -1
index fe9a1971cc..15b77c981e 100644
@@ -49,7 +49,6 @@ CONFIG_ARMV7_PSCI_1_0
 CONFIG_ARMV7_SECURE_BASE
 CONFIG_ARMV7_SECURE_MAX_SIZE
 CONFIG_ARMV7_SECURE_RESERVE_SIZE
-CONFIG_ARMV8_SWITCH_TO_EL1
 CONFIG_ARM_ARCH_CP15_ERRATA
 CONFIG_ARM_DCC
 CONFIG_ARM_FREQ

--
2.26.2

#1 lore raw

PATCH 1/1 config: remove CONFIG_ARMV8_SWITCH_TO_EL1 from whitelist.txt

Quoted 15 lines · Heinrich Schuchardt

Since commit 208bdaf2ae5f ("vexpress/aemv8a: drop CONFIG_ARMV8_SWITCH_TO_EL1") no board uses CONFIG_ARMV8_SWITCH_TO_EL1. So we should remove this setting from whitelist.txt. If anybody should ever need it again, he should add a Kconfig option.

---
 scripts/config_whitelist.txt | 1 -
 1 file changed, 1 deletion(-)
scripts/config_whitelist.txt +0 -0
index fe9a1971cc..15b77c981e 100644

scripts/config_whitelist.txt CONFIG_ARMV7_PSCI_1_0 · line 54

Quoted 7 lines
scripts/config_whitelist.txt +0 -1
@@ -49,7 +49,6 @@ CONFIG_ARMV7_PSCI_1_0
 CONFIG_ARMV7_SECURE_BASE
 CONFIG_ARMV7_SECURE_MAX_SIZE
 CONFIG_ARMV7_SECURE_RESERVE_SIZE
-CONFIG_ARMV8_SWITCH_TO_EL1
 CONFIG_ARM_ARCH_CP15_ERRATA
 CONFIG_ARM_DCC
 CONFIG_ARM_FREQ

Nak, the file is auto-generated. That said, scripts/build-whitelist.sh might be able to note that up top without breaking the logic used to break builds that add new symbols.

The next problem however is that the code around CONFIG_ARMV8_SWITCH_TO_EL1 hasn't been removed, and needs to be otherwise the symbol will be listed again when I run the generator next. 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/20200602/a2c1e6a4/attachment.sig>