]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge branch 'mvebu/regmap' into for-next
authorJason Cooper <jason@lakedaemon.net>
Sun, 23 Jun 2013 22:00:22 +0000 (22:00 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sun, 23 Jun 2013 22:00:22 +0000 (22:00 +0000)
Conflicts:
arch/arm/mach-mvebu/armada-370-xp.c

1  2 
arch/arm/configs/mvebu_defconfig
arch/arm/mach-mvebu/armada-370-xp.c

Simple merge
index 8721e2d26066c1434724080b4813013cd35b1911,0dbc370f9e3510e9e82b8a876ce8229dedd6515a..97cbb802191930d21c64532d93e3a4ea2a2594af
@@@ -14,7 -14,7 +14,8 @@@
  
  #include <linux/kernel.h>
  #include <linux/init.h>
 +#include <linux/clk-provider.h>
+ #include <linux/of_address.h>
  #include <linux/of_platform.h>
  #include <linux/io.h>
  #include <linux/time-armada-370-xp.h>
@@@ -61,12 -56,22 +56,22 @@@ static void __init armada_370_xp_mbus_i
        else
                mbus_soc_name = "marvell,armadaxp-mbus";
  
+       dn = of_find_node_by_name(NULL, "internal-regs");
+       BUG_ON(!dn);
        mvebu_mbus_init(mbus_soc_name,
-                       ARMADA_370_XP_MBUS_WINS_BASE,
+                       of_translate_address(dn, &mbus_wins_offs),
                        ARMADA_370_XP_MBUS_WINS_SIZE,
-                       ARMADA_370_XP_SDRAM_WINS_BASE,
+                       of_translate_address(dn, &sdram_wins_offs),
                        ARMADA_370_XP_SDRAM_WINS_SIZE);
+ }
  
 -      mvebu_clocks_init();
+ static void __init armada_370_xp_timer_and_clk_init(void)
+ {
++      of_clk_init(NULL);
+       armada_370_xp_timer_init();
+       coherency_init();
+       armada_370_xp_mbus_init();
  #ifdef CONFIG_CACHE_L2X0
        l2x0_of_init(0, ~0UL);
  #endif