zephyr/boards/riscv/hifive1_revb/Kconfig.defconfig

37 lines
473 B
Plaintext

# Copyright (c) 2019 SiFive Inc.
# SPDX-License-Identifier: Apache-2.0
if BOARD_HIFIVE1_REVB
config BOARD
default "hifive1_revb"
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
config SYS_CLOCK_TICKS_PER_SEC
default 128
if PWM
config PWM_SIFIVE
default y
endif
if SPI
config SPI_SIFIVE
default y
endif
if I2C
config I2C_SIFIVE
default y
endif
endif