Skip to content

Commit 5ff4412

Browse files
duynguyenxafabiobaltieri
authored andcommitted
Kconfig: Fix issue in KConfig of Renesas modules
Add condition for KConfig Renesas FSP hal module Move the DUAL_BANK_MODE from SOC to flash driver KCONFIG Signed-off-by: Duy Nguyen <[email protected]>
1 parent 6d868e5 commit 5ff4412

File tree

5 files changed

+13
-22
lines changed

5 files changed

+13
-22
lines changed

drivers/flash/Kconfig.renesas_ra

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ config FLASH_RA_WRITE_PROTECT
2525
Enables flash extended operation to enable/disable flash write
2626
protection from external devices
2727

28+
config DUAL_BANK_MODE
29+
bool "Dual bank mode"
30+
help
31+
Enable dual bank mode
32+
2833
endif # RA_FLASH_HP

modules/Kconfig.renesas_fsp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ config HAS_RENESAS_RA_FSP
88
help
99
Enable Renesas RA FSP support
1010

11+
if HAS_RENESAS_RA_FSP
12+
1113
config USE_RA_FSP_SCI_B_UART
1214
bool
1315
help
@@ -58,3 +60,5 @@ config USE_RA_FSP_FLASH_HP
5860
bool
5961
help
6062
Enable RA FSP FLASH HP driver
63+
64+
endif # HAS_RENESAS_RA_FSP

soc/renesas/ra/ra8d1/Kconfig.soc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ config SOC_SERIES_RA8D1
66
bool
77
select SOC_FAMILY_RENESAS_RA
88
help
9-
Renesas RA8D1 series
9+
Renesas RA8D1 series
1010

1111
config SOC_SERIES
1212
default "ra8d1" if SOC_SERIES_RA8D1
@@ -15,13 +15,7 @@ config SOC_R7FA8D1BHECBD
1515
bool
1616
select SOC_SERIES_RA8D1
1717
help
18-
R7FA8D1BHECBD
18+
R7FA8D1BHECBD
1919

2020
config SOC
2121
default "r7fa8d1bhecbd" if SOC_R7FA8D1BHECBD
22-
23-
config DUAL_BANK_MODE
24-
bool "Dual bank mode"
25-
default n
26-
help
27-
Enable dual bank mode

soc/renesas/ra/ra8m1/Kconfig.soc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,3 @@ config SOC_SERIES
1919

2020
config SOC
2121
default "r7fa8m1ahecbd" if SOC_R7FA8M1AHECBD
22-
23-
config DUAL_BANK_MODE
24-
bool "Dual bank mode"
25-
default n
26-
help
27-
Enable dual bank mode

soc/renesas/ra/ra8t1/Kconfig.soc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ config SOC_SERIES_RA8T1
66
bool
77
select SOC_FAMILY_RENESAS_RA
88
help
9-
Renesas RA8T1 series
9+
Renesas RA8T1 series
1010

1111
config SOC_SERIES
1212
default "ra8t1" if SOC_SERIES_RA8T1
@@ -15,13 +15,7 @@ config SOC_R7FA8T1AHECBD
1515
bool
1616
select SOC_SERIES_RA8T1
1717
help
18-
R7FA8T1AHECBD
18+
R7FA8T1AHECBD
1919

2020
config SOC
2121
default "r7fa8t1ahecbd" if SOC_R7FA8T1AHECBD
22-
23-
config DUAL_BANK_MODE
24-
bool "Dual bank mode"
25-
default n
26-
help
27-
Enable dual bank mode

0 commit comments

Comments
 (0)