[U-Boot] relationship between "ARM_DCC" and "DEBUG_UART_ARM_DCC"?
Robert P. J. Day
rpjday at crashcourse.ca
Fri Apr 19 11:27:09 UTC 2019
just noticed the oddness regarding those two Kbuild symbols:
$ git grep ARM_DCC
arch/x86/include/asm/acpi_table.h:#define ACPI_DBG2_ARM_DCC 0x000F
configs/zynq_cse_qspi_defconfig:CONFIG_DEBUG_UART_ARM_DCC=y
drivers/serial/Kconfig:config DEBUG_UART_ARM_DCC
drivers/serial/Makefile:obj-$(CONFIG_ARM_DCC) += arm_dcc.o
drivers/serial/arm_dcc.c:#ifdef CONFIG_DEBUG_UART_ARM_DCC
include/configs/xilinx_versal.h:#define CONFIG_ARM_DCC
include/configs/xilinx_zynqmp.h:#define CONFIG_ARM_DCC
include/configs/zynq-common.h:#define CONFIG_ARM_DCC
scripts/config_whitelist.txt:CONFIG_ARM_DCC
$
strangely(?), there is a Kbuild config directive for the latter:
drivers/serial/Kconfig:config DEBUG_UART_ARM_DCC
but not the former, which is just hardcoded in some xilinx-associated
header files. is this deliberate? it just seems ... weird.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the U-Boot
mailing list