Skip to content

Commit

Permalink
FIx: arch:risc-v:hpmicro:hpm6750:kconfig rename HPM_CAM to HPM_CAN
Browse files Browse the repository at this point in the history
- Kconfig rename HPM_CAM to HPM_CAN

Signed-off-by: Runcheng Lu <runcheng.lu@hpmicro.com>
  • Loading branch information
RCSN committed Apr 14, 2023
1 parent 0d7cc5f commit 4478d9b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/risc-v/src/hpmicro/hpm6750/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -357,14 +357,14 @@ config HPM_CAN_DRV
bool
default n

config HPM_CAM
config HPM_CAN
bool
select HPM_CAN_DRV
default n

config HPM6750_CAN0
bool "CAN0"
select HPM_CAM
select HPM_CAN
default n

menu "CAN0 device driver options"
Expand Down Expand Up @@ -472,7 +472,7 @@ endmenu # CAN0 device driver options

config HPM6750_CAN1
bool "CAN1"
select HPM_CAM
select HPM_CAN
default n

menu "CAN1 device driver options"
Expand Down Expand Up @@ -580,7 +580,7 @@ endmenu # CAN1 device driver options

config HPM6750_CAN2
bool "CAN2"
select HPM_CAM
select HPM_CAN
default n

menu "CAN2 device driver options"
Expand Down Expand Up @@ -688,7 +688,7 @@ endmenu # CAN2 device driver options

config HPM6750_CAN3
bool "CAN3"
select HPM_CAM
select HPM_CAN
default n

menu "CAN3 device driver options"
Expand Down Expand Up @@ -795,7 +795,7 @@ config HPM6750_CAN3_FD_MAX_SAMPLEPOINT
endmenu # CAN3 device driver options

menu "CAN driver configuration"
depends on HPM_CAM
depends on HPM_CAN

choice
prompt "CAN character driver or SocketCAN support"
Expand Down

0 comments on commit 4478d9b

Please sign in to comment.