diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-06-17 08:33:23 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-06-18 06:20:35 -0400 |
commit | cad47b322da0b67d864180b6fc8e92561890ccec (patch) | |
tree | ccab47f5a753f8ff0a6d8e9c703130678dba82bb | |
parent | 4b576d15df5c8cbe9cf427093c1c0f5f58fbf8fa (diff) |
firmware: trusted_foundations: add ARMv7 dependency
The "+sec" extension is invalid for older ARM architectures, but
the code can now be built on any ARM configuration:
/tmp/trusted_foundations-2d0882.s: Assembler messages:
/tmp/trusted_foundations-2d0882.s:194: Error: architectural extension `sec' is not allowed for the current base architecture
/tmp/trusted_foundations-2d0882.s:201: Error: selected processor does not support `smc #0' in ARM mode
/tmp/trusted_foundations-2d0882.s:213: Error: architectural extension `sec' is not allowed for the current base architecture
/tmp/trusted_foundations-2d0882.s:220: Error: selected processor does not support `smc #0' in ARM mode
Add a dependency on ARMv7 for the build.
Fixes: 4cb5d9eca143 ("firmware: Move Trusted Foundations support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | drivers/firmware/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index 9026df923542..d40ccc3af9e2 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig | |||
@@ -256,7 +256,7 @@ config TI_SCI_PROTOCOL | |||
256 | 256 | ||
257 | config TRUSTED_FOUNDATIONS | 257 | config TRUSTED_FOUNDATIONS |
258 | bool "Trusted Foundations secure monitor support" | 258 | bool "Trusted Foundations secure monitor support" |
259 | depends on ARM | 259 | depends on ARM && CPU_V7 |
260 | help | 260 | help |
261 | Some devices (including most early Tegra-based consumer devices on | 261 | Some devices (including most early Tegra-based consumer devices on |
262 | the market) are booted with the Trusted Foundations secure monitor | 262 | the market) are booted with the Trusted Foundations secure monitor |