45 lines
642 B
Plaintext
45 lines
642 B
Plaintext
if SOC_NIOS2F_ZEPHYR
|
|
|
|
config SOC
|
|
string
|
|
default nios2f-zephyr
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
int
|
|
default 50000000
|
|
|
|
config ALTERA_AVALON_SYSID
|
|
def_bool y
|
|
|
|
if GPIO_ALTERA_NIOS2
|
|
|
|
config ALTERA_AVALON_PIO
|
|
def_bool y
|
|
|
|
endif # GPIO_ALTERA_NIOS2
|
|
|
|
if UART_NS16550
|
|
|
|
config UART_NS16550_PCI
|
|
def_bool n
|
|
|
|
config UART_NS16550_PORT_0
|
|
def_bool y
|
|
|
|
if UART_NS16550_PORT_0
|
|
|
|
config UART_NS16550_PORT_0_NAME
|
|
default "UART_0"
|
|
config UART_NS16550_PORT_0_IRQ_PRI
|
|
default 3
|
|
config UART_NS16550_PORT_0_BAUD_RATE
|
|
default 115200
|
|
config UART_NS16550_PORT_0_OPTIONS
|
|
default 0
|
|
|
|
endif # UART_NS16550_PORT_0
|
|
|
|
endif # UART_NS16550
|
|
|
|
endif # SOC_NIOS2F_ZEPHYR
|