xen/arm: Rename all early printk macro
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 31 Mar 2020 10:30:45 +0000 (11:30 +0100)
committerJulien Grall <jgrall@amazon.com>
Wed, 1 Apr 2020 09:49:29 +0000 (10:49 +0100)
commit370f44fa73004e9e19cff9b1e65ee7ea61b55700
tree2933bcdf0e1dff71358ee63748f0ff23c76268d2
parent5af4698d98d881e786c0909b6308f04696586c49
xen/arm: Rename all early printk macro

We are going to move the generation of the early printk macro into
Kconfig. This means all macro will be prefix with CONFIG_. We do that
ahead of the change.

We also take the opportunity to better name some variables, which are
used by only one driver and wouldn't make sens for other UART driver.
Thus,
    - EARLY_UART_REG_SHIFT became CONFIG_EARLY_UART_8250_REG_SHIFT
    - EARLY_PRINTK_VERSION_* became CONFIG_EARLY_UART_SCIF_VERSION_*

The other variables are change to have the prefix CONFIG_EARLY_UART_
when they change a parameter of the driver. So we have now:
    - CONFIG_EARLY_UART_BAUD_RATE
    - CONFIG_EARLY_UART_BASE_ADDRESS
    - CONFIG_EARLY_UART_INIT

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Tested-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/Rules.mk
xen/arch/arm/arm32/debug-8250.inc
xen/arch/arm/arm32/debug-pl011.inc
xen/arch/arm/arm32/debug-scif.inc
xen/arch/arm/arm32/debug.S
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/debug-8250.inc
xen/arch/arm/arm64/debug-pl011.inc
xen/arch/arm/arm64/debug.S
xen/arch/arm/arm64/head.S
xen/include/asm-arm/early_printk.h