Commit 52a1aa55 authored by Alessandro Rubini's avatar Alessandro Rubini

softpll-unify: Kconfig: support wr-switch-sw::rt_cpu.bin

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 093fb3c6
...@@ -3,23 +3,16 @@ mainmenu "WR PTP Core software configuration" ...@@ -3,23 +3,16 @@ mainmenu "WR PTP Core software configuration"
# Later we'll build wr_cpu.bin for wr-switch from this code base # Later we'll build wr_cpu.bin for wr-switch from this code base
config WR_SWITCH config WR_SWITCH
bool bool "Build rt_cpu.bin, for the WR-Switch FPGA"
default n default n
select UART
config WR_NODE config WR_NODE
bool bool
default y default !WR_SWITCH
# most options with no prompt here are prompted-for in the "advanced" section # most options with no prompt here are prompted-for in the "advanced" section
config RAMSIZE
int
default 90112
config STACKSIZE
int
default 2048
config PRINT_BUFSIZE config PRINT_BUFSIZE
int int
default 128 default 128
...@@ -28,6 +21,18 @@ config PRINTF_XINT ...@@ -28,6 +21,18 @@ config PRINTF_XINT
boolean boolean
default y default y
config RAMSIZE
int
default 28672 if WR_SWITCH
default 90112
# CONFIG_WR_SWITCH has no further options at all at this point
if WR_NODE
config STACKSIZE
int
default 2048
config PPSI config PPSI
boolean boolean
default y default y
...@@ -218,3 +223,6 @@ config SDB_EEPROM ...@@ -218,3 +223,6 @@ config SDB_EEPROM
config LEGACY_EEPROM config LEGACY_EEPROM
boolean boolean
default !SDB_EEPROM default !SDB_EEPROM
endif
# CONFIG_WR_NODE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment