Skip to content

Commit

Permalink
soc: nuvoton: npcm4: change CONFIG_ROM_START_OFFSET as imply setting
Browse files Browse the repository at this point in the history
change CONFIG_ROM_START_OFFSET as imply setting.

Signed-off-by: James Chiang <[email protected]>
  • Loading branch information
James Chiang authored and jc849 committed Aug 13, 2024
1 parent 5128e1a commit 0652251
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion boards/nuvoton/npcm400f_evb/npcm400f_evb_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ CONFIG_SRAM_VECTOR_TABLE=y
CONFIG_BOOTLOADER_SRAM_SIZE=0
# General Kernel Options
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=96000000
# CONFIG_ROM_START_OFFSET=0x600
CONFIG_XIP=n

# CONFIG_ARM_MPU=y
Expand Down
4 changes: 4 additions & 0 deletions soc/nuvoton/npcm/npcm4/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ config FLASH_BASE_ADDRESS
normally set by the board's defconfig file and the user should generally
avoid modifying it via the menu configuration.

config ROM_START_OFFSET
default 0x600 if XIP
default 0x0 if !XIP

endif # SOC_SERIES_NPCM4

0 comments on commit 0652251

Please sign in to comment.