mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
Convert CONFIG_CONS_SCIF0 et al to Kconfig
This converts the following to Kconfig: CONFIG_CONS_SCIF0 CONFIG_CONS_SCIF1 CONFIG_CONS_SCIF2 CONFIG_CONS_SCIF4 CONFIG_CONS_SCIFA0 Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
8c3e231b8f
commit
f9f3209a34
12 changed files with 21 additions and 11 deletions
|
@ -804,6 +804,27 @@ config SCIF_CONSOLE
|
|||
on systems with RCar or SH SoCs, say Y to this option. If unsure,
|
||||
say N.
|
||||
|
||||
choice
|
||||
prompt "SCIF console port"
|
||||
depends on SCIF_CONSOLE && (!DM_SERIAL || (SPL && !SPL_DM_SERIAL))
|
||||
|
||||
config CONS_SCIF0
|
||||
bool "SCIF0"
|
||||
|
||||
config CONS_SCIF1
|
||||
bool "SCIF1"
|
||||
|
||||
config CONS_SCIF2
|
||||
bool "SCIF2"
|
||||
|
||||
config CONS_SCIF4
|
||||
bool "SCIF4"
|
||||
|
||||
config CONS_SCIFA0
|
||||
bool "SCIFA0"
|
||||
|
||||
endchoice
|
||||
|
||||
config SEMIHOSTING_SERIAL
|
||||
bool "Semihosting UART support"
|
||||
depends on SEMIHOSTING && !SERIAL_RX_BUFFER
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#define CONFIG_SPL_STACK 0xe6340000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x4000
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_CONS_SCIF2
|
||||
#define CONFIG_SH_SCIF_CLK_FREQ 65000000
|
||||
#endif
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#define CONFIG_SYS_BAUDRATE_TABLE { 115200 }
|
||||
|
||||
/* SCIF */
|
||||
#define CONFIG_CONS_SCIF1
|
||||
#define SCIF0_BASE 0xe6c40000
|
||||
#define SCIF1_BASE 0xe6c50000
|
||||
#define SCIF2_BASE 0xe6c60000
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#define CONFIG_SPL_STACK 0xe6340000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x4000
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_CONS_SCIF0
|
||||
#define CONFIG_SH_SCIF_CLK_FREQ 65000000
|
||||
#endif
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#define CONFIG_SPL_STACK 0xe6340000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x4000
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_CONS_SCIF0
|
||||
#define CONFIG_SH_SCIF_CLK_FREQ 65000000
|
||||
#endif
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#define CONFIG_SYS_BAUDRATE_TABLE { 115200 }
|
||||
|
||||
/* SCIF */
|
||||
#define CONFIG_CONS_SCIF4
|
||||
|
||||
#undef CONFIG_SYS_LOADS_BAUD_CHANGE
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#define CONFIG_SPL_STACK 0xe6340000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x4000
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_CONS_SCIF0
|
||||
#define CONFIG_SH_SCIF_CLK_FREQ 65000000
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#define CONFIG_SPL_STACK 0xe6340000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x4000
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_CONS_SCIF0
|
||||
#define CONFIG_SH_SCIF_CLK_FREQ 65000000
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#define __LITTLE_ENDIAN__ 1
|
||||
|
||||
/* SCIF */
|
||||
#define CONFIG_CONS_SCIF1 1
|
||||
|
||||
/* SDRAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x8C000000
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
#define CONFIG_SPL_STACK 0xe6304000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x7000
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_CONS_SCIF2
|
||||
#define CONFIG_SH_SCIF_CLK_FREQ 65000000
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#define CONFIG_SPL_STACK 0xe6340000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x4000
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_CONS_SCIF2
|
||||
#define CONFIG_SH_SCIF_CLK_FREQ 65000000
|
||||
#endif
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#define CONFIG_SPL_STACK 0xe6340000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x4000
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_CONS_SCIFA0
|
||||
#define CONFIG_SH_SCIF_CLK_FREQ 52000000
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue