Skip to content

Commit

Permalink
boards: actinius_*: change all boards to use common/actinius lib
Browse files Browse the repository at this point in the history
This changes all Actinius boards to use the helper lib in
`boards/common/actinius` for setting up common init values
such as SIM Select and Charger Enable.

Signed-off-by: Alex Tsamakos <[email protected]>
  • Loading branch information
alextsam committed Jan 20, 2023
1 parent fa65136 commit 2565bcc
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 209 deletions.
4 changes: 1 addition & 3 deletions boards/arm/actinius_icarus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

zephyr_library()

if (CONFIG_BOARD_ACTINIUS_ICARUS_NS)
zephyr_library_sources(board.c)
endif()
add_subdirectory(${ZEPHYR_BASE}/boards/common/actinius actinius_common)
12 changes: 0 additions & 12 deletions boards/arm/actinius_icarus/Kconfig

This file was deleted.

2 changes: 2 additions & 0 deletions boards/arm/actinius_icarus/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ if BOARD_ACTINIUS_ICARUS || BOARD_ACTINIUS_ICARUS_NS
config BOARD
default "actinius_icarus"

source "boards/common/actinius/Kconfig"

# For the secure version of the board the firmware is linked at the beginning
# of the flash, or into the code-partition defined in DT if it is intended to
# be loaded by MCUboot. If the secure firmware is to be combined with a non-
Expand Down
86 changes: 0 additions & 86 deletions boards/arm/actinius_icarus/board.c

This file was deleted.

4 changes: 1 addition & 3 deletions boards/arm/actinius_icarus_bee/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

zephyr_library()

if (CONFIG_BOARD_ACTINIUS_ICARUS_BEE_NS)
zephyr_library_sources(board.c)
endif()
add_subdirectory(${ZEPHYR_BASE}/boards/common/actinius actinius_common)
12 changes: 0 additions & 12 deletions boards/arm/actinius_icarus_bee/Kconfig

This file was deleted.

2 changes: 2 additions & 0 deletions boards/arm/actinius_icarus_bee/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ if BOARD_ACTINIUS_ICARUS_BEE || BOARD_ACTINIUS_ICARUS_BEE_NS
config BOARD
default "actinius_icarus_bee"

source "boards/common/actinius/Kconfig"

# For the secure version of the board the firmware is linked at the beginning
# of the flash, or into the code-partition defined in DT if it is intended to
# be loaded by MCUboot. If the secure firmware is to be combined with a non-
Expand Down
39 changes: 0 additions & 39 deletions boards/arm/actinius_icarus_bee/board.c

This file was deleted.

4 changes: 1 addition & 3 deletions boards/arm/actinius_icarus_som/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

zephyr_library()

if (CONFIG_BOARD_ACTINIUS_ICARUS_SOM_NS)
zephyr_library_sources(board.c)
endif()
add_subdirectory(${ZEPHYR_BASE}/boards/common/actinius actinius_common)
12 changes: 0 additions & 12 deletions boards/arm/actinius_icarus_som/Kconfig

This file was deleted.

2 changes: 2 additions & 0 deletions boards/arm/actinius_icarus_som/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ if BOARD_ACTINIUS_ICARUS_SOM || BOARD_ACTINIUS_ICARUS_SOM_NS
config BOARD
default "actinius_icarus_som"

source "boards/common/actinius/Kconfig"

# For the secure version of the board the firmware is linked at the beginning
# of the flash, or into the code-partition defined in DT if it is intended to
# be loaded by MCUboot. If the secure firmware is to be combined with a non-
Expand Down
39 changes: 0 additions & 39 deletions boards/arm/actinius_icarus_som/board.c

This file was deleted.

0 comments on commit 2565bcc

Please sign in to comment.