Skip to content

Commit

Permalink
sparc: add SPARC dependency to SPARC_CASA
Browse files Browse the repository at this point in the history
Settings which defaults to `y` but is architecture related should have
a arch dependency for safety reasons.

Thefore add `if SPARC` to the SPARC_CASA Kconfig to ensure this setting
is only enabled on the sparc arch.

Signed-off-by: Torsten Rasmussen <[email protected]>
  • Loading branch information
tejlmand committed Nov 1, 2023
1 parent d89938f commit 2b662ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soc/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

config SPARC_CASA
default y
default y if SPARC

config SOC_SPARC_LEON
bool

0 comments on commit 2b662ef

Please sign in to comment.