34 lines
482 B
Plaintext
34 lines
482 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
|
|
|
|
config PWM_SIFIVE
|
|
default y
|
|
depends on PWM
|
|
|
|
config SPI_SIFIVE
|
|
default y
|
|
depends on SPI
|
|
|
|
config I2C_SIFIVE
|
|
default y
|
|
depends on I2C
|
|
|
|
endif
|