Skip to content

Commit

Permalink
boards: arm and arm64: rcar_h3ulcb: Convert to v2
Browse files Browse the repository at this point in the history
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <[email protected]>
  • Loading branch information
nordicjm committed Feb 8, 2024
1 parent c47dbb0 commit 99b129d
Show file tree
Hide file tree
Showing 22 changed files with 21 additions and 120 deletions.
6 changes: 0 additions & 6 deletions boards/boards_legacy/arm/rcar_h3ulcb/Kconfig.board

This file was deleted.

7 changes: 0 additions & 7 deletions boards/boards_legacy/arm/rcar_h3ulcb/Kconfig.defconfig

This file was deleted.

88 changes: 0 additions & 88 deletions boards/boards_legacy/arm/rcar_h3ulcb/support/openocd.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions boards/boards_legacy/arm64/rcar_h3ulcb_ca57/Kconfig.board

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# Copyright (c) 2023 EPAM Systems
# SPDX-License-Identifier: Apache-2.0

if BOARD_RCAR_H3ULCB_CA57

config BOARD
default "rcar_h3ulcb_ca57"
if BOARD_RCAR_H3ULCB

config BUILD_OUTPUT_BIN
default y

endif # BOARD_RCAR_H3ULCB_CA57
endif # BOARD_RCAR_H3ULCB
10 changes: 10 additions & 0 deletions boards/renesas/rcar_h3ulcb/Kconfig.rcar_h3ulcb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright (c) 2023 EPAM Systems
# SPDX-License-Identifier: Apache-2.0

config BOARD_RCAR_H3ULCB_R8A77951_R7
bool
select SOC_R8A77951_R7

config BOARD_RCAR_H3ULCB_R8A77951_A57
bool
select SOC_R8A77951_A57
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

#r7 only:
board_runner_args(openocd "--use-elf")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
5 changes: 5 additions & 0 deletions boards/renesas/rcar_h3ulcb/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: rcar_h3ulcb
vendor: Renesas
socs:
- name: r8a77951
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/dts-v1/;
#include <mem.h>
#include <arm64/renesas/r8a77951.dtsi>
#include "rcar_h3ulcb_ca57-pinctrl.dtsi"
#include "rcar_h3ulcb_r8a77951_a57-pinctrl.dtsi"

/ {
model = "H3ULCB CA57";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
CONFIG_SOC_ARM64_R8A77951=y
CONFIG_SOC_SERIES_RCAR_GEN3=y
CONFIG_BOARD_RCAR_H3ULCB_CA57=y

# Cache management
CONFIG_CACHE_MANAGEMENT=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/dts-v1/;
#include <arm/renesas/rcar/gen3/r8a77951.dtsi>
#include "rcar_h3ulcb_cr7-pinctrl.dtsi"
#include "rcar_h3ulcb_r8a77951_r7-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>

/ {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
CONFIG_SOC_R8A77951=y
CONFIG_SOC_SERIES_RCAR_GEN3=y
CONFIG_BOARD_RCAR_H3ULCB_CR7=y
CONFIG_CLOCK_CONTROL=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32000
CONFIG_CONSOLE=y
Expand Down

0 comments on commit 99b129d

Please sign in to comment.