mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
serial: Convert ARM_DCC to Kconfig
The symbol "CONFIG_ARM_DCC" is used to control building drivers/serial/arm_dcc.c. Provide a simple Kconfig entry for this. Cc: Luca Ceresoli <luca@lucaceresoli.net> Cc: Michal Simek <monstr@monstr.eu> Cc: Tom McLeod <tom.mcleod@opalkelly.com> Cc: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
This commit is contained in:
parent
07d90d8bd4
commit
c2a38411d1
26 changed files with 27 additions and 5 deletions
|
@ -55,6 +55,7 @@ CONFIG_SPI_FLASH_WINBOND=y
|
|||
CONFIG_ZYNQ_GEM=y
|
||||
CONFIG_DEBUG_UART_ZYNQ=y
|
||||
CONFIG_DEBUG_UART_ANNOUNCE=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_SERIAL=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_ZYNQMP_GQSPI=y
|
||||
|
|
|
@ -66,6 +66,7 @@ CONFIG_MII=y
|
|||
CONFIG_ZYNQ_GEM=y
|
||||
CONFIG_DEBUG_UART_ZYNQ=y
|
||||
CONFIG_DEBUG_UART_ANNOUNCE=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_SERIAL=y
|
||||
# CONFIG_WATCHDOG is not set
|
||||
CONFIG_WDT=y
|
||||
|
|
|
@ -48,6 +48,7 @@ CONFIG_PHY_XILINX=y
|
|||
CONFIG_MII=y
|
||||
CONFIG_ZYNQ_GEM=y
|
||||
CONFIG_DEBUG_UART_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_SERIAL=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
|
|
|
@ -49,6 +49,7 @@ CONFIG_SF_DEFAULT_SPEED=108000000
|
|||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
||||
CONFIG_DEBUG_UART_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_SERIAL=y
|
||||
CONFIG_ZYNQ_QSPI=y
|
||||
CONFIG_USB=y
|
||||
|
|
|
@ -49,6 +49,7 @@ CONFIG_SF_DEFAULT_SPEED=108000000
|
|||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
||||
CONFIG_DEBUG_UART_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_SERIAL=y
|
||||
CONFIG_ZYNQ_QSPI=y
|
||||
CONFIG_USB=y
|
||||
|
|
|
@ -49,6 +49,7 @@ CONFIG_SPI_FLASH_STMICRO=y
|
|||
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
||||
# CONFIG_NETDEVICES is not set
|
||||
CONFIG_DEBUG_UART_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_SERIAL=y
|
||||
CONFIG_ZYNQ_QSPI=y
|
||||
CONFIG_USB=y
|
||||
|
|
|
@ -54,4 +54,5 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|||
# CONFIG_DM_WARN is not set
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_ARM_DCC=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -52,5 +52,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_FAT_WRITE=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -52,5 +52,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_FAT_WRITE=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -69,6 +69,7 @@ CONFIG_PHY_FIXED=y
|
|||
CONFIG_PHY_GIGE=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_ZYNQ_GEM=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_PL01X_SERIAL=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_DM_SPI=y
|
||||
|
|
|
@ -88,6 +88,7 @@ CONFIG_PHY_REALTEK=y
|
|||
CONFIG_PHY_XILINX=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_ZYNQ_GEM=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_SERIAL=y
|
||||
CONFIG_ZYNQ_SPI=y
|
||||
CONFIG_ZYNQ_QSPI=y
|
||||
|
|
|
@ -52,5 +52,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|||
# CONFIG_DM_WARN is not set
|
||||
# CONFIG_DM_DEVICE_REMOVE is not set
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -55,5 +55,6 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
|
|||
CONFIG_SUPPORT_EMMC_BOOT=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -55,5 +55,6 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
|
|||
CONFIG_SUPPORT_EMMC_BOOT=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -51,5 +51,6 @@ CONFIG_MTD=y
|
|||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_NAND_ARASAN=y
|
||||
CONFIG_SYS_NAND_MAX_CHIPS=2
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -50,5 +50,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|||
CONFIG_MTD=y
|
||||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_NAND_ARASAN=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -60,6 +60,7 @@ CONFIG_SPI_FLASH_SPANSION=y
|
|||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_ZYNQMP_GQSPI=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
|
|
|
@ -116,6 +116,7 @@ CONFIG_MII=y
|
|||
CONFIG_ZYNQ_GEM=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_DM_SCSI=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_SERIAL=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_ZYNQ_SPI=y
|
||||
|
|
|
@ -56,4 +56,5 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
|
|||
CONFIG_MTD=y
|
||||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_NAND_ZYNQ=y
|
||||
CONFIG_ARM_DCC=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -59,4 +59,5 @@ CONFIG_FLASH_CFI_DRIVER=y
|
|||
CONFIG_CFI_FLASH=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_ARM_DCC=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -69,5 +69,6 @@ CONFIG_SPI_FLASH_STMICRO=y
|
|||
CONFIG_SPI_FLASH_WINBOND=y
|
||||
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
||||
CONFIG_DEBUG_UART_ARM_DCC=y
|
||||
CONFIG_ARM_DCC=y
|
||||
CONFIG_ZYNQ_QSPI=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -504,6 +504,12 @@ config ARC_SERIAL
|
|||
Select this to enable support for ARC UART now typically
|
||||
only used in Synopsys DesignWare ARC simulators like nSIM.
|
||||
|
||||
config ARM_DCC
|
||||
bool "ARM Debug Communication Channel (DCC) as UART support"
|
||||
depends on ARM
|
||||
help
|
||||
Select this to enable using the ARM DCC as a form of UART.
|
||||
|
||||
config ATMEL_USART
|
||||
bool "Atmel USART support"
|
||||
help
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#endif
|
||||
|
||||
/* Serial setup */
|
||||
#define CONFIG_ARM_DCC
|
||||
#define CONFIG_CPU_ARMV8
|
||||
|
||||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 0x2000000)
|
||||
|
||||
/* Serial setup */
|
||||
#define CONFIG_ARM_DCC
|
||||
#define CONFIG_CPU_ARMV8
|
||||
|
||||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||
{300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400}
|
||||
|
||||
#define CONFIG_ARM_DCC
|
||||
|
||||
/* Ethernet driver */
|
||||
#if defined(CONFIG_ZYNQ_GEM)
|
||||
# define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
|
||||
|
|
|
@ -51,7 +51,6 @@ CONFIG_ARMV7_SECURE_MAX_SIZE
|
|||
CONFIG_ARMV7_SECURE_RESERVE_SIZE
|
||||
CONFIG_ARMV8_SWITCH_TO_EL1
|
||||
CONFIG_ARM_ARCH_CP15_ERRATA
|
||||
CONFIG_ARM_DCC
|
||||
CONFIG_ARM_FREQ
|
||||
CONFIG_ARM_GIC_BASE_ADDRESS
|
||||
CONFIG_ARM_PL180_MMCI_BASE
|
||||
|
|
Loading…
Reference in a new issue