* [PATCH] ARM: Kirkwood: Remove redundant kexec code
@ 2014-02-24 18:09 Andrew Lunn
2014-02-24 18:12 ` Arnd Bergmann
2014-02-24 18:54 ` Jason Cooper
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Lunn @ 2014-02-24 18:09 UTC (permalink / raw)
To: linux-arm-kernel
The PCIe driver has been fully clock aware for quite a while. Remove
the kexec code to enable the PCIe clock, since the PCIe driver will do
the right thing.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
arch/arm/mach-kirkwood/board-dt.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c
index ec0702c02d6c..2801da49e2a3 100644
--- a/arch/arm/mach-kirkwood/board-dt.c
+++ b/arch/arm/mach-kirkwood/board-dt.c
@@ -19,7 +19,6 @@
#include <linux/of_platform.h>
#include <linux/dma-mapping.h>
#include <linux/irqchip.h>
-#include <linux/kexec.h>
#include <asm/hardware/cache-feroceon-l2.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
@@ -207,10 +206,6 @@ static void __init kirkwood_dt_init(void)
kirkwood_pm_init();
kirkwood_dt_eth_fixup();
-#ifdef CONFIG_KEXEC
- kexec_reinit = kirkwood_enable_pcie;
-#endif
-
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
--
1.8.5.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: Kirkwood: Remove redundant kexec code
2014-02-24 18:09 [PATCH] ARM: Kirkwood: Remove redundant kexec code Andrew Lunn
@ 2014-02-24 18:12 ` Arnd Bergmann
2014-02-24 18:54 ` Jason Cooper
1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2014-02-24 18:12 UTC (permalink / raw)
To: linux-arm-kernel
On Monday 24 February 2014 19:09:24 Andrew Lunn wrote:
> The PCIe driver has been fully clock aware for quite a while. Remove
> the kexec code to enable the PCIe clock, since the PCIe driver will do
> the right thing.
>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Arnd Bergmann <arnd@arndb.de>
It's probably worth mentioning in the changelog that this fixes a
build error for the case when CONFIG_KEXEC is enabled but
KIRKWOOD_LEGACY is not.
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: Kirkwood: Remove redundant kexec code
2014-02-24 18:09 [PATCH] ARM: Kirkwood: Remove redundant kexec code Andrew Lunn
2014-02-24 18:12 ` Arnd Bergmann
@ 2014-02-24 18:54 ` Jason Cooper
1 sibling, 0 replies; 3+ messages in thread
From: Jason Cooper @ 2014-02-24 18:54 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 24, 2014 at 07:09:24PM +0100, Andrew Lunn wrote:
> The PCIe driver has been fully clock aware for quite a while. Remove
> the kexec code to enable the PCIe clock, since the PCIe driver will do
> the right thing.
>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> ---
> arch/arm/mach-kirkwood/board-dt.c | 5 -----
> 1 file changed, 5 deletions(-)
Applied to mvebu/soc-kw with Arnd's Ack. Also, added the comment to the
commit log regarding the build error it was fixing.
thx,
Jason.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-24 18:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 18:09 [PATCH] ARM: Kirkwood: Remove redundant kexec code Andrew Lunn
2014-02-24 18:12 ` Arnd Bergmann
2014-02-24 18:54 ` Jason Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).