Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
2fd575d
soc: arm: nuvoton: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
a1e7ee2
soc: arm: nxp: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
156fc82
soc: arm: quicklogic: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
7dfe82d
soc: arm: renesas: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
fb9dac8
soc: arm: rpi: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
a1a2707
soc: arm: silabs: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
e24eb94
soc: arm: st: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
e23299e
soc: arm: ti: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
0e18401
soc: arm: xilinx: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
ae586d8
soc: arm64: arm: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
57e774b
soc: arm64: broadcom: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
4d38ccc
soc: arm64: intel: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
ca658ef
soc: arm64: nxp: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
60c6cc3
soc: riscv: ite: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
9611db4
soc: riscv: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
2829ca4
soc: xtensa: intel: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
c814d3e
soc: xtensa: nxp: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
05178a3
soc: arc: snps: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
b9d5e38
soc: arm: arm: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
8e42385
soc: arm: aspeed: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
20f6089
soc: arm: atmel: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
bcb9c3d
soc: arm: broadcom: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
9762be7
soc: arm: cypress: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
9080041
soc: arm: gigadevice: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
af0beb2
soc: arm: infineon: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
ce8eac0
soc: arm: intel: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
8c9b930
soc: arm: microchip: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
1c67331
soc: Remove CPU selection from being a choice
nordicjm Sep 12, 2022
09d2926
boards: arc: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
6240913
boards: arm: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
a05995f
boards: arm64: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
19af1c2
boards: mips: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
b04f90a
boards: nios2: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
830bc72
boards: posix: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
ffcdd48
boards: riscv: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
5aaaa8d
boards: sparc: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
42c8847
boards: x86: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
ddc71d4
boards: xtensa: Use Kconfig files to select SOC
nordicjm Sep 12, 2022
770ca00
Kconfig: Load specific board Kconfig
nordicjm Sep 12, 2022
d26ca90
soc: arm: nordic: Make SOC Kconfig options unselectable
nordicjm Sep 12, 2022
e47f704
kconfig: Make board Kconfig.defconfig optional
nordicjm Sep 12, 2022
ad63f62
drivers: Add native_posix_64 to depends on list
nordicjm Sep 12, 2022
ce80629
drivers: Change xenvm to use SOC instead of BOARD Kconfig
nordicjm Sep 12, 2022
0ae0d9b
boards: arm: remove setting BOARD Kconfig
nordicjm Sep 12, 2022
d665d21
testsuide: boards: unit_testing: Update Kconfig file name
nordicjm Sep 13, 2022
e7c7e31
drivers: Update for x86 Kconfig changes
nordicjm Sep 13, 2022
0bcd73e
modules: tfm: Update board names
nordicjm Sep 13, 2022
e188c8d
tests: Update native_posix ifdef checks
nordicjm Sep 13, 2022
961d493
rtio: Update native_posix ifdef check
nordicjm Sep 13, 2022
3410863
samples: net: socketpair: Update native_posix ifdef check
nordicjm Sep 13, 2022
4ad3d61
bluetooth: Update native_posix ifdef check
nordicjm Sep 13, 2022
325ed59
doc: Add board environment variable
nordicjm Sep 13, 2022
f6f6a55
samples: tfm: psa_firmware: Update mps3_an547 board name
nordicjm Sep 13, 2022
7188ad1
modules: tfm: Update nxp Kconfig check
nordicjm Sep 13, 2022
62de78d
lib: posix: Update board name
nordicjm Sep 13, 2022
056a38e
tests: kernel: mem_protect: Update nsim ifdef check
nordicjm Sep 13, 2022
17b2b20
samples: board: arc_secure_services: Do not force board
nordicjm Sep 13, 2022
6dff5fd
tests: ztest: error_hook: Update QEMU ifdef checks
nordicjm Sep 14, 2022
580d0a7
boards: arc: remove setting BOARD Kconfig
nordicjm Sep 14, 2022
534e5a7
boards: mips: remove setting BOARD Kconfig
nordicjm Sep 14, 2022
68d4a1f
boards: nios2: remove setting BOARD Kconfig
nordicjm Sep 14, 2022
f5790ee
boards: posix: remove setting BOARD Kconfig
nordicjm Sep 14, 2022
018680f
boards: riscv: remove setting BOARD Kconfig
nordicjm Sep 14, 2022
8a180a5
boards: sparc: remove setting BOARD Kconfig
nordicjm Sep 14, 2022
beed5a4
boards: x86: remove setting BOARD Kconfig
nordicjm Sep 14, 2022
140060b
boards: xtensa: remove setting BOARD Kconfig
nordicjm Sep 14, 2022
687795f
scripts: ci: check_compliance: Add BOARD environmental value
nordicjm Sep 14, 2022
da9b0df
boards: arc: Remove if checks for board names
nordicjm Sep 14, 2022
3ee7df5
boards: arm: Remove if checks for board names
nordicjm Sep 14, 2022
7b22013
boards: mips: Remove if checks for board names
nordicjm Sep 14, 2022
0a4f3f5
boards: nios2: Remove if checks for board names
nordicjm Sep 14, 2022
4746a7f
boards: posix: Remove if checks for board names
nordicjm Sep 14, 2022
2aa48ee
boards: riscv: Remove if checks for board names
nordicjm Sep 14, 2022
7179c4c
boards: sparc: Remove if checks for board names
nordicjm Sep 14, 2022
f52fa17
boards: x86: Remove if checks for board names
nordicjm Sep 14, 2022
b1010f7
boards: xtensa: Remove if checks for board names
nordicjm Sep 14, 2022
dae50bb
boards: shields: Remove if checks for board names
nordicjm Sep 14, 2022
aaf7dc9
drivers: timer: apic_tsc: Update native_posix ifdef check
nordicjm Sep 14, 2022
13fe183
tests: drivers: adc: adc_api: Update native_posix ifdef check
nordicjm Sep 14, 2022
348fa78
tests: drivers: pwm: pwm_api: Update native_posix ifdef check
nordicjm Sep 14, 2022
f71611d
tests: boards: native_posix: cpu_wait: Add native_posix_64 support
nordicjm Sep 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Kconfig.zephyr
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ osource "$(KCONFIG_BINARY_DIR)/Kconfig.shield.defconfig"
# This loads Zephyr base shield defconfigs
source "boards/shields/*/Kconfig.defconfig"

source "$(BOARD_DIR)/Kconfig.defconfig"
osource "$(BOARD_DIR)/Kconfig.defconfig"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this effectively changes Kconfig.defconfig from being mandatory to being optional.

The alternative approach is to keep the source and then boards not having any default to override must create an empty file, maybe containing # Intentionally left empty.

I have a slight preference for keeping the source and then an empty file for those boards not needing to override anything.

Reason being:

  • most downstream users of Zephyr will at some point need to create a custom board of there own, and having a source helps them to place board specific defconfigs the right place.
  • It prevents stupid user mistakes like writing kconfig.defconfig / Kconfig.defconfinstead of Kconfig.defconfig.
  • If board is later updated to override defaults then it's clearer where to do this if the file is already empty (but present)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer we use osource, we shouldn't create empty files if they aren't needed. I get the points you make, but there are enough boards that will have a Kconfig.defconfig that custom boards can see what the pattern is.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough, we have different opinion on this.

Another risk is that someone later wants to add a new default to a board which doesn't have a Kconfig.defconfig already.
Contributor looks around in that board folder and decides to place it in Kconfig.$(BOARD) because lack of knowledge.
Such PR can easily approved and be merged, resulting in inconsistency.

Whereas a Kconfig.defconfig with content:

# Kconfig.defconfig file for board specific overload of default settings.

# No board specific defaults.

will help to ensure that such defaults goes to the right location.

Contributors will often look for an existing file to place small suggestions, rather than create new files.


# This loads custom SoC root defconfigs
osource "$(KCONFIG_BINARY_DIR)/Kconfig.soc.defconfig"
Expand Down
9 changes: 2 additions & 7 deletions boards/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

config BOARD
string
default "$(BOARD)"
help
This option holds the name of the board and is used to locate the files
related to the board in the source tree (under boards/).
Expand Down Expand Up @@ -39,13 +40,7 @@ config NET_DRIVERS
enabled to allow for easy use of SLIP or PPP

# Note: $BOARD_DIR might be a glob pattern

choice
prompt "Board Selection"

source "$(BOARD_DIR)/Kconfig.board"

endchoice
source "$(BOARD_DIR)/Kconfig.$(BOARD)"

# Parse shields references
# Don't do it as a menuconfig, as shield selection is a CMake feature.
Expand Down
10 changes: 5 additions & 5 deletions boards/arc/em_starterkit/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# Copyright (c) 2017 Synopsys, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

choice
prompt "Board Firmware Version"
default BOARD_EM_STARTERKIT_R23
depends on BOARD_EM_STARTERKIT
#choice
# prompt "Board Firmware Version"
# default BOARD_EM_STARTERKIT_R23
# depends on BOARD_EM_STARTERKIT

config BOARD_EM_STARTERKIT_R22
bool "2.2"

config BOARD_EM_STARTERKIT_R23
bool "2.3"

endchoice
#endchoice
8 changes: 4 additions & 4 deletions boards/arc/em_starterkit/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: Apache-2.0

if BOARD_EM_STARTERKIT
#if BOARD_EM_STARTERKIT

config BOARD
default "em_starterkit"
#config BOARD
# default "em_starterkit"

if GPIO

Expand All @@ -29,4 +29,4 @@ config SPI_DW_ARC_AUX_REGS

endif # SPI_DW

endif # BOARD_EM_STARTERKIT
#endif # BOARD_EM_STARTERKIT
8 changes: 8 additions & 0 deletions boards/arc/em_starterkit/Kconfig.em_starterkit
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EM_STARTERKIT_R23
bool
default y
select SOC_EMSK
select SOC_EMSK_EM9D
8 changes: 8 additions & 0 deletions boards/arc/em_starterkit/Kconfig.em_starterkit_em11d
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EM_STARTERKIT_R23
bool
default y
select SOC_EMSK
select SOC_EMSK_EM11D
8 changes: 8 additions & 0 deletions boards/arc/em_starterkit/Kconfig.em_starterkit_em7d
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EM_STARTERKIT_R23
bool
default y
select SOC_EMSK
select SOC_EMSK_EM7D
8 changes: 8 additions & 0 deletions boards/arc/em_starterkit/Kconfig.em_starterkit_em7d_v22
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EM_STARTERKIT_R22
bool
default y
select SOC_EMSK
select SOC_EMSK_EM7D
8 changes: 8 additions & 0 deletions boards/arc/em_starterkit/Kconfig.em_starterkit_r23
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EM_STARTERKIT_R23
bool
default y
select SOC_EMSK
select SOC_EMSK_EM9D
4 changes: 0 additions & 4 deletions boards/arc/em_starterkit/em_starterkit_defconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_EMSK=y
CONFIG_SOC_EMSK_EM9D=y
CONFIG_BOARD_EM_STARTERKIT=y
CONFIG_BOARD_EM_STARTERKIT_R23=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
4 changes: 0 additions & 4 deletions boards/arc/em_starterkit/em_starterkit_em11d_defconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_EMSK=y
CONFIG_SOC_EMSK_EM11D=y
CONFIG_BOARD_EM_STARTERKIT=y
CONFIG_BOARD_EM_STARTERKIT_R23=y
CONFIG_XIP=n
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
4 changes: 0 additions & 4 deletions boards/arc/em_starterkit/em_starterkit_em7d_defconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_EMSK=y
CONFIG_SOC_EMSK_EM7D=y
CONFIG_BOARD_EM_STARTERKIT=y
CONFIG_BOARD_EM_STARTERKIT_R23=y
CONFIG_XIP=n
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
4 changes: 0 additions & 4 deletions boards/arc/em_starterkit/em_starterkit_em7d_v22_defconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_EMSK=y
CONFIG_SOC_EMSK_EM7D=y
CONFIG_BOARD_EM_STARTERKIT=y
CONFIG_BOARD_EM_STARTERKIT_R22=y
CONFIG_XIP=n
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
15 changes: 0 additions & 15 deletions boards/arc/emsdp/Kconfig.board

This file was deleted.

8 changes: 4 additions & 4 deletions boards/arc/emsdp/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

if BOARD_EMSDP
#if BOARD_EMSDP

config BOARD
default "emsdp"
#config BOARD
# default "emsdp"


if GPIO
Expand All @@ -16,4 +16,4 @@ config GPIO_INIT_PRIORITY

endif # GPIO

endif # BOARD_EMSDP
#endif # BOARD_EMSDP
8 changes: 8 additions & 0 deletions boards/arc/emsdp/Kconfig.emsdp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EMSDP
bool
default y
select SOC_ARC_EMSDP
select SOC_EMSDP_EM11D
8 changes: 8 additions & 0 deletions boards/arc/emsdp/Kconfig.emsdp_em4
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EMSDP_EM4
bool
default y
select SOC_ARC_EMSDP
select SOC_EMSDP_EM4
8 changes: 8 additions & 0 deletions boards/arc/emsdp/Kconfig.emsdp_em5d
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EMSDP_EM5D
bool
default y
select SOC_ARC_EMSDP
select SOC_EMSDP_EM5D
8 changes: 8 additions & 0 deletions boards/arc/emsdp/Kconfig.emsdp_em6
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EMSDP_EM6
bool
default y
select SOC_ARC_EMSDP
select SOC_EMSDP_EM6
8 changes: 8 additions & 0 deletions boards/arc/emsdp/Kconfig.emsdp_em7d
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EMSDP_EM7D
bool
default y
select SOC_ARC_EMSDP
select SOC_EMSDP_EM7D
8 changes: 8 additions & 0 deletions boards/arc/emsdp/Kconfig.emsdp_em7d_esp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EMSDP_EM7D_ESP
bool
default y
select SOC_ARC_EMSDP
select SOC_EMSDP_EM7D_ESP
8 changes: 8 additions & 0 deletions boards/arc/emsdp/Kconfig.emsdp_em9d
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_EMSDP_EM9D
bool
default y
select SOC_ARC_EMSDP
select SOC_EMSDP_EM9D
3 changes: 0 additions & 3 deletions boards/arc/emsdp/emsdp_defconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_EMSDP=y
CONFIG_SOC_EMSDP_EM11D=y
CONFIG_BOARD_EMSDP=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
3 changes: 0 additions & 3 deletions boards/arc/emsdp/emsdp_em4_defconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_EMSDP=y
CONFIG_SOC_EMSDP_EM4=y
CONFIG_BOARD_EMSDP=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
3 changes: 0 additions & 3 deletions boards/arc/emsdp/emsdp_em5d_defconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_EMSDP=y
CONFIG_SOC_EMSDP_EM5D=y
CONFIG_BOARD_EMSDP=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
3 changes: 0 additions & 3 deletions boards/arc/emsdp/emsdp_em6_defconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_EMSDP=y
CONFIG_SOC_EMSDP_EM6=y
CONFIG_BOARD_EMSDP=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
3 changes: 0 additions & 3 deletions boards/arc/emsdp/emsdp_em7d_defconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_EMSDP=y
CONFIG_SOC_EMSDP_EM7D=y
CONFIG_BOARD_EMSDP=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
3 changes: 0 additions & 3 deletions boards/arc/emsdp/emsdp_em7d_esp_defconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_EMSDP=y
CONFIG_SOC_EMSDP_EM7D_ESP=y
CONFIG_BOARD_EMSDP=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
3 changes: 0 additions & 3 deletions boards/arc/emsdp/emsdp_em9d_defconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_EMSDP=y
CONFIG_SOC_EMSDP_EM9D=y
CONFIG_BOARD_EMSDP=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
13 changes: 0 additions & 13 deletions boards/arc/hsdk/Kconfig.board

This file was deleted.

7 changes: 0 additions & 7 deletions boards/arc/hsdk/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

if BOARD_HSDK

config BOARD
default "hsdk"

if GPIO

config GPIO_INIT_PRIORITY
Expand Down Expand Up @@ -35,5 +30,3 @@ config I2C_DW_CLOCK_SPEED
default 200

endif #I2C_DW

endif # BOARD_HSDK
7 changes: 7 additions & 0 deletions boards/arc/hsdk/Kconfig.hsdk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_HSDK
bool
default y
select SOC_ARC_HSDK
7 changes: 7 additions & 0 deletions boards/arc/hsdk/Kconfig.hsdk_2cores
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (c) 2022 Zephyr Project members and individual contributors
# SPDX-License-Identifier: Apache-2.0

config BOARD_HSDK_2CORES
bool
default y
select SOC_ARC_HSDK
2 changes: 0 additions & 2 deletions boards/arc/hsdk/hsdk_2cores_defconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_HSDK=y
CONFIG_BOARD_HSDK=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
2 changes: 0 additions & 2 deletions boards/arc/hsdk/hsdk_defconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_ARC_HSDK=y
CONFIG_BOARD_HSDK=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
Expand Down
10 changes: 0 additions & 10 deletions boards/arc/iotdk/Kconfig.board

This file was deleted.

5 changes: 0 additions & 5 deletions boards/arc/iotdk/Kconfig.defconfig

This file was deleted.

Loading