diff mbox series

[1/1] config: remove CONFIG_ARMV8_SWITCH_TO_EL1 from whitelist.txt

Message ID 20200602194556.6741-1-xypron.glpk@gmx.de
State New
Headers show
Series [1/1] config: remove CONFIG_ARMV8_SWITCH_TO_EL1 from whitelist.txt | expand

Commit Message

Heinrich Schuchardt June 2, 2020, 7:45 p.m. UTC
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.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 scripts/config_whitelist.txt | 1 -
 1 file changed, 1 deletion(-)

--
2.26.2

Comments

Tom Rini June 2, 2020, 8:07 p.m. UTC | #1
On Tue, Jun 02, 2020 at 09:45:56PM +0200, Heinrich Schuchardt wrote:

> 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.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  scripts/config_whitelist.txt | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index fe9a1971cc..15b77c981e 100644
> --- a/scripts/config_whitelist.txt
> +++ b/scripts/config_whitelist.txt
> @@ -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!
diff mbox series

Patch

diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index fe9a1971cc..15b77c981e 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -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