Clean up changes for omaps for v5.14 merge window
With the recent changes to drop legacy platform data for am3/4, omap4/5, and dra7, we can drop the related unused code. There is also a patch to remove leading spaces from the Kconfig file. -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmC3LIERHHRvbnlAYXRv bWlkZS5jb20ACgkQG9Q+yVyrpXNxnRAA2Sivq3pGG05XbTYSJ+Q5UD86l7bxrp7O 6nsS0WHUr3TgvHOnxuIwBzGAFO7MRkv7gCRj3vBHspiDen38sjpwtk+t7RpnygPA 1SccXMdau0a4zYu8s3GMGPEs+ojy0gpmXEXq16hxToKGwfyMMGZl0coMpru8yw6A AqukqpFBzFVNHFPZKBvEHiL+wZ+fz8u3parX2kfJzlBFYa8y5RduRobEgyON2w7o 8S2B1LFrNkNGz+UzOiHVdfHzqHlXkrfpLvttxMNpSweiYgQwZf9do0Q70oz0TTOB 1DJMYoQptkp0g0o2p2is+QRbj5yuTBEqXfCyoJeiWoXZF9MwDp5A82PseBn01arc eKw2uwM91Hw6mk3dWx5dl2dg9s8m8KSW68jpPgP73WJodl+sXTasfIeRBiTAIpFx lY+aG+TrM5ab3nV0pIEa6VaC0q6XpfJej4EY9LSgxQi8/+nTTpO8q2wfsoWrjTyf Ze5Wf7f0vZWO3AxzQOhIXUlDB0c+/CN4XXN8sVy/m8lRaSPe9CRt4z2m9njXXwC/ jB2GpF82rT+VRdafmnxAgT1PznaP5LPTviuSj8dAPVXMZZKC49x89xHpa10kwQFd QOO7V7+2l8g0YNwb6ILHaL+sZIwxIAIcMnE3p55k3XkgbCeZEZvHyc3Hqrk+pgg4 D8Z173aLVHI= =8/VK -----END PGP SIGNATURE----- Merge tag 'omap-for-v5.14/cleanup-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/soc Clean up changes for omaps for v5.14 merge window With the recent changes to drop legacy platform data for am3/4, omap4/5, and dra7, we can drop the related unused code. There is also a patch to remove leading spaces from the Kconfig file. * tag 'omap-for-v5.14/cleanup-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP2+: remove omap2_set_globals_control() ARM: OMAP2+: CM: remove omap2_set_globals_cm() ARM: OMAP1: Remove leading spaces in Kconfig MAINTAINERS: remove obsolete OMAP HWMOD DATA FOR OMAP4-BASED DEVICES Link: https://lore.kernel.org/r/pull-1622618286-677305@atomide.com Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
8639a12370
|
@ -13347,12 +13347,6 @@ L: linux-omap@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: arch/arm/mach-omap2/omap_hwmod*data*
|
F: arch/arm/mach-omap2/omap_hwmod*data*
|
||||||
|
|
||||||
OMAP HWMOD DATA FOR OMAP4-BASED DEVICES
|
|
||||||
M: Benoît Cousson <bcousson@baylibre.com>
|
|
||||||
L: linux-omap@vger.kernel.org
|
|
||||||
S: Maintained
|
|
||||||
F: arch/arm/mach-omap2/omap_hwmod_44xx_data.c
|
|
||||||
|
|
||||||
OMAP HWMOD SUPPORT
|
OMAP HWMOD SUPPORT
|
||||||
M: Benoît Cousson <bcousson@baylibre.com>
|
M: Benoît Cousson <bcousson@baylibre.com>
|
||||||
M: Paul Walmsley <paul@pwsan.com>
|
M: Paul Walmsley <paul@pwsan.com>
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
extern struct omap_domain_base cm_base;
|
extern struct omap_domain_base cm_base;
|
||||||
extern struct omap_domain_base cm2_base;
|
extern struct omap_domain_base cm2_base;
|
||||||
extern void omap2_set_globals_cm(void __iomem *cm, void __iomem *cm2);
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -37,19 +37,6 @@ struct omap_domain_base cm2_base;
|
||||||
#define CM_NO_CLOCKS 0x1
|
#define CM_NO_CLOCKS 0x1
|
||||||
#define CM_SINGLE_INSTANCE 0x2
|
#define CM_SINGLE_INSTANCE 0x2
|
||||||
|
|
||||||
/**
|
|
||||||
* omap2_set_globals_cm - set the CM/CM2 base addresses (for early use)
|
|
||||||
* @cm: CM base virtual address
|
|
||||||
* @cm2: CM2 base virtual address (if present on the booted SoC)
|
|
||||||
*
|
|
||||||
* XXX Will be replaced when the PRM/CM drivers are completed.
|
|
||||||
*/
|
|
||||||
void __init omap2_set_globals_cm(void __iomem *cm, void __iomem *cm2)
|
|
||||||
{
|
|
||||||
cm_base.va = cm;
|
|
||||||
cm2_base.va = cm2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cm_split_idlest_reg - split CM_IDLEST reg addr into its components
|
* cm_split_idlest_reg - split CM_IDLEST reg addr into its components
|
||||||
* @idlest_reg: CM_IDLEST* virtual address
|
* @idlest_reg: CM_IDLEST* virtual address
|
||||||
|
|
|
@ -136,11 +136,6 @@ struct omap3_control_regs {
|
||||||
static struct omap3_control_regs control_context;
|
static struct omap3_control_regs control_context;
|
||||||
#endif /* CONFIG_ARCH_OMAP3 && CONFIG_PM */
|
#endif /* CONFIG_ARCH_OMAP3 && CONFIG_PM */
|
||||||
|
|
||||||
void __init omap2_set_globals_control(void __iomem *ctrl)
|
|
||||||
{
|
|
||||||
omap2_ctrl_base = ctrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
u8 omap_ctrl_readb(u16 offset)
|
u8 omap_ctrl_readb(u16 offset)
|
||||||
{
|
{
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
|
@ -528,7 +528,6 @@ extern int omap3_ctrl_save_padconf(void);
|
||||||
void omap3_ctrl_init(void);
|
void omap3_ctrl_init(void);
|
||||||
int omap2_control_base_init(void);
|
int omap2_control_base_init(void);
|
||||||
int omap_control_init(void);
|
int omap_control_init(void);
|
||||||
void omap2_set_globals_control(void __iomem *ctrl);
|
|
||||||
void __init omap3_control_legacy_iomap_init(void);
|
void __init omap3_control_legacy_iomap_init(void);
|
||||||
#else
|
#else
|
||||||
#define omap_ctrl_readb(x) 0
|
#define omap_ctrl_readb(x) 0
|
||||||
|
|
Loading…
Reference in New Issue