Loading...
# 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_hex_val,DT_FLASH_BASE_ADDRESS)
config FLASH_LOAD_OFFSET
default 0x0
if PWM
config PWM_SIFIVE
default y
endif
if SPI
config SPI_SIFIVE
default y
endif
if I2C
config I2C_SIFIVE
default y
endif
config HAS_DTS_I2C
default y
endif
|