@@ -73,6 +73,7 @@ static struct omap_clk omap44xx_clks[] = {
CLK(NULL, "gpt9_fck", &gpt9_fck, CK_443X),
CLK(NULL, "gpt10_fck", &gpt10_fck, CK_443X),
CLK(NULL, "gpt11_fck", &gpt11_fck, CK_443X),
+ CLK(NULL, "gpmc_fck", &gpmc_fck, CK_443X),
};
static struct clk_functions omap2_clk_functions = {
@@ -291,4 +291,11 @@ static struct clk gpt11_fck = {
.clksel = omap443x_gpt_clksel,
.recalc = &omap2_clksel_recalc,
};
+
+/* TODO:Dummy clock node still needed to boot on Omap4, remove later */
+static struct clk gpmc_fck = {
+ .name = "gpmc_fck",
+ .ops = &clkops_null,
+};
+
#endif
This patch adds a dummy gpmc clock node to prevent a crash at bootup on OMAP4. Signed-off-by: Rajendra Nayak <rnayak@ti.com> --- arch/arm/mach-omap2/clock44xx.c | 1 + arch/arm/mach-omap2/clock44xx.h | 7 +++++++ 2 files changed, 8 insertions(+), 0 deletions(-)