From 94d6dd677bd2b0837810909af80f8e9702bbd841 Mon Sep 17 00:00:00 2001 From: Konstantin Porotchkin <kostap@marvell.com> Date: Sun, 29 Jul 2018 13:30:51 +0300 Subject: [PATCH] plat: marvell: rename common include file Rename a8k_common.h to armada_common.h to keep the same header name across all other Marvell Armada platforms. This is especially useful since various Marvell platforms may use common platform files and share the driver modules. Change-Id: I7262105201123d54ccddef9aad4097518f1e38ef Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> --- drivers/marvell/amb_adec.c | 2 +- drivers/marvell/ccu.c | 2 +- drivers/marvell/gwin.c | 2 +- drivers/marvell/i2c/a8k_i2c.c | 2 +- drivers/marvell/io_win.c | 2 +- drivers/marvell/iob.c | 2 +- .../plat/marvell/a8k/common/{a8k_common.h => armada_common.h} | 0 plat/marvell/a8k/a70x0/board/marvell_plat_config.c | 2 +- plat/marvell/a8k/a70x0_amc/board/marvell_plat_config.c | 2 +- plat/marvell/a8k/a80x0/board/marvell_plat_config.c | 3 ++- plat/marvell/a8k/a80x0_mcbin/board/marvell_plat_config.c | 3 ++- plat/marvell/a8k/common/mss/mss_bl2_setup.c | 2 +- plat/marvell/a8k/common/plat_bl31_setup.c | 2 +- plat/marvell/a8k/common/plat_ble_setup.c | 2 +- plat/marvell/a8k/common/plat_pm.c | 2 +- 15 files changed, 16 insertions(+), 14 deletions(-) rename include/plat/marvell/a8k/common/{a8k_common.h => armada_common.h} (100%) diff --git a/drivers/marvell/amb_adec.c b/drivers/marvell/amb_adec.c index 3fb2f3890..16fe772da 100644 --- a/drivers/marvell/amb_adec.c +++ b/drivers/marvell/amb_adec.c @@ -7,7 +7,7 @@ /* AXI to M-Bridge decoding unit driver for Marvell Armada 8K and 8K+ SoCs */ -#include <a8k_common.h> +#include <armada_common.h> #include <debug.h> #include <mmio.h> #include <mvebu.h> diff --git a/drivers/marvell/ccu.c b/drivers/marvell/ccu.c index 1502c3f8b..acb1c00c0 100644 --- a/drivers/marvell/ccu.c +++ b/drivers/marvell/ccu.c @@ -7,7 +7,7 @@ /* CCU unit device driver for Marvell AP807, AP807 and AP810 SoCs */ -#include <a8k_common.h> +#include <armada_common.h> #include <ccu.h> #include <debug.h> #include <mmio.h> diff --git a/drivers/marvell/gwin.c b/drivers/marvell/gwin.c index b5705f7a4..a4743eb5e 100644 --- a/drivers/marvell/gwin.c +++ b/drivers/marvell/gwin.c @@ -7,7 +7,7 @@ /* GWIN unit device driver for Marvell AP810 SoC */ -#include <a8k_common.h> +#include <armada_common.h> #include <debug.h> #include <gwin.h> #include <mmio.h> diff --git a/drivers/marvell/i2c/a8k_i2c.c b/drivers/marvell/i2c/a8k_i2c.c index 737dd0a72..72a773162 100644 --- a/drivers/marvell/i2c/a8k_i2c.c +++ b/drivers/marvell/i2c/a8k_i2c.c @@ -442,7 +442,7 @@ static int marvell_i2c_unstuck(int ret) void i2c_init(void *i2c_base) { /* For I2C speed and slave address, now we do not set them since - * we just provide the working speed and slave address in plat_def.h + * we just provide the working speed and slave address in mvebu_def.h * for i2c_init */ base = (struct marvell_i2c_regs *)i2c_base; diff --git a/drivers/marvell/io_win.c b/drivers/marvell/io_win.c index 40b198212..c0424e086 100644 --- a/drivers/marvell/io_win.c +++ b/drivers/marvell/io_win.c @@ -7,7 +7,7 @@ /* IO Window unit device driver for Marvell AP807, AP807 and AP810 SoCs */ -#include <a8k_common.h> +#include <armada_common.h> #include <debug.h> #include <io_win.h> #include <mmio.h> diff --git a/drivers/marvell/iob.c b/drivers/marvell/iob.c index acc4941f5..e88bc1673 100644 --- a/drivers/marvell/iob.c +++ b/drivers/marvell/iob.c @@ -7,7 +7,7 @@ /* IOW unit device driver for Marvell CP110 and CP115 SoCs */ -#include <a8k_common.h> +#include <armada_common.h> #include <arch_helpers.h> #include <debug.h> #include <iob.h> diff --git a/include/plat/marvell/a8k/common/a8k_common.h b/include/plat/marvell/a8k/common/armada_common.h similarity index 100% rename from include/plat/marvell/a8k/common/a8k_common.h rename to include/plat/marvell/a8k/common/armada_common.h diff --git a/plat/marvell/a8k/a70x0/board/marvell_plat_config.c b/plat/marvell/a8k/a70x0/board/marvell_plat_config.c index 917198670..26b67eb6d 100644 --- a/plat/marvell/a8k/a70x0/board/marvell_plat_config.c +++ b/plat/marvell/a8k/a70x0/board/marvell_plat_config.c @@ -5,7 +5,7 @@ * https://spdx.org/licenses */ -#include <a8k_common.h> +#include <armada_common.h> /* * If bootrom is currently at BLE there's no need to include the memory diff --git a/plat/marvell/a8k/a70x0_amc/board/marvell_plat_config.c b/plat/marvell/a8k/a70x0_amc/board/marvell_plat_config.c index ec4124c13..f8a1c40be 100644 --- a/plat/marvell/a8k/a70x0_amc/board/marvell_plat_config.c +++ b/plat/marvell/a8k/a70x0_amc/board/marvell_plat_config.c @@ -5,7 +5,7 @@ * https://spdx.org/licenses */ -#include <a8k_common.h> +#include <armada_common.h> /* * If bootrom is currently at BLE there's no need to include the memory diff --git a/plat/marvell/a8k/a80x0/board/marvell_plat_config.c b/plat/marvell/a8k/a80x0/board/marvell_plat_config.c index 43beffabf..4948c9a33 100644 --- a/plat/marvell/a8k/a80x0/board/marvell_plat_config.c +++ b/plat/marvell/a8k/a80x0/board/marvell_plat_config.c @@ -5,7 +5,8 @@ * https://spdx.org/licenses */ -#include <a8k_common.h> +#include <armada_common.h> + /* * If bootrom is currently at BLE there's no need to include the memory * maps structure at this point diff --git a/plat/marvell/a8k/a80x0_mcbin/board/marvell_plat_config.c b/plat/marvell/a8k/a80x0_mcbin/board/marvell_plat_config.c index 079bd8fef..384d0f54b 100644 --- a/plat/marvell/a8k/a80x0_mcbin/board/marvell_plat_config.c +++ b/plat/marvell/a8k/a80x0_mcbin/board/marvell_plat_config.c @@ -5,9 +5,10 @@ * https://spdx.org/licenses */ -#include <a8k_common.h> +#include <armada_common.h> #include <delay_timer.h> #include <mmio.h> + /* * If bootrom is currently at BLE there's no need to include the memory * maps structure at this point diff --git a/plat/marvell/a8k/common/mss/mss_bl2_setup.c b/plat/marvell/a8k/common/mss/mss_bl2_setup.c index 21541855b..973c56dc8 100644 --- a/plat/marvell/a8k/common/mss/mss_bl2_setup.c +++ b/plat/marvell/a8k/common/mss/mss_bl2_setup.c @@ -5,7 +5,7 @@ * https://spdx.org/licenses */ -#include <a8k_common.h> +#include <armada_common.h> #include <bl_common.h> #include <ccu.h> #include <cp110_setup.h> diff --git a/plat/marvell/a8k/common/plat_bl31_setup.c b/plat/marvell/a8k/common/plat_bl31_setup.c index 6c85fcc37..e6ffeeab1 100644 --- a/plat/marvell/a8k/common/plat_bl31_setup.c +++ b/plat/marvell/a8k/common/plat_bl31_setup.c @@ -5,7 +5,7 @@ * https://spdx.org/licenses */ -#include <a8k_common.h> +#include <armada_common.h> #include <ap_setup.h> #include <cp110_setup.h> #include <debug.h> diff --git a/plat/marvell/a8k/common/plat_ble_setup.c b/plat/marvell/a8k/common/plat_ble_setup.c index 0cd62cbdb..d2607dafc 100644 --- a/plat/marvell/a8k/common/plat_ble_setup.c +++ b/plat/marvell/a8k/common/plat_ble_setup.c @@ -5,8 +5,8 @@ * https://spdx.org/licenses */ -#include <a8k_common.h> #include <ap_setup.h> +#include <armada_common.h> #include <aro.h> #include <ccu.h> #include <cp110_setup.h> diff --git a/plat/marvell/a8k/common/plat_pm.c b/plat/marvell/a8k/common/plat_pm.c index c716ee0f7..ec4b55b39 100644 --- a/plat/marvell/a8k/common/plat_pm.c +++ b/plat/marvell/a8k/common/plat_pm.c @@ -5,7 +5,7 @@ * https://spdx.org/licenses */ -#include <a8k_common.h> +#include <armada_common.h> #include <assert.h> #include <bakery_lock.h> #include <debug.h> -- GitLab