blob: 841e2c9ce419a36e4ea2e2733c4d7c6839f78b7d [file] [log] [blame]
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2018 SiFive, Inc.
if BOARD_HIFIVE1_FE310
config SYS_CLOCK_TICKS_PER_SEC
default 128
if "$(BOARD_REVISION)" = "B"
config HAS_FLASH_LOAD_OFFSET
default y
config FLASH_BASE_ADDRESS
default $(dt_node_reg_addr_hex,/soc/spi@10014000,1)
config FLASH_LOAD_OFFSET
default 0x0
endif # "$(BOARD_REVISION)" = "B"
endif # BOARD_HIFIVE1_FE310