From: Rob Herring Date: Sun, 2 Sep 2012 19:57:33 +0000 (-0500) Subject: ARM: mvebu: move armada-370-xp.h in mach dir X-Git-Tag: firefly_0821_release~3680^2~1956^2~7^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6eb5be341173ceae788d5d846f20de6d1b67b2db;p=firefly-linux-kernel-4.4.55.git ARM: mvebu: move armada-370-xp.h in mach dir Signed-off-by: Rob Herring Cc: Jason Cooper Cc: Andrew Lunn --- diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index 4ef923b032ec..b46418a8b352 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include "armada-370-xp.h" #include "common.h" static struct map_desc armada_370_xp_io_desc[] __initdata = { diff --git a/arch/arm/mach-mvebu/armada-370-xp.h b/arch/arm/mach-mvebu/armada-370-xp.h new file mode 100644 index 000000000000..25f0ca8d7820 --- /dev/null +++ b/arch/arm/mach-mvebu/armada-370-xp.h @@ -0,0 +1,22 @@ +/* + * Generic definitions for Marvell Armada_370_XP SoCs + * + * Copyright (C) 2012 Marvell + * + * Lior Amsalem + * Gregory CLEMENT + * Thomas Petazzoni + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#ifndef __MACH_ARMADA_370_XP_H +#define __MACH_ARMADA_370_XP_H + +#define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000 +#define ARMADA_370_XP_REGS_VIRT_BASE 0xfeb00000 +#define ARMADA_370_XP_REGS_SIZE SZ_1M + +#endif /* __MACH_ARMADA_370_XP_H */ diff --git a/arch/arm/mach-mvebu/include/mach/armada-370-xp.h b/arch/arm/mach-mvebu/include/mach/armada-370-xp.h deleted file mode 100644 index 25f0ca8d7820..000000000000 --- a/arch/arm/mach-mvebu/include/mach/armada-370-xp.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Generic definitions for Marvell Armada_370_XP SoCs - * - * Copyright (C) 2012 Marvell - * - * Lior Amsalem - * Gregory CLEMENT - * Thomas Petazzoni - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#ifndef __MACH_ARMADA_370_XP_H -#define __MACH_ARMADA_370_XP_H - -#define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000 -#define ARMADA_370_XP_REGS_VIRT_BASE 0xfeb00000 -#define ARMADA_370_XP_REGS_SIZE SZ_1M - -#endif /* __MACH_ARMADA_370_XP_H */