ARM: shmobile: Enable R-Car Gen2 CMA code in board files
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 9 Jun 2014 12:38:53 +0000 (21:38 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 17 Jun 2014 10:35:59 +0000 (19:35 +0900)
Hook in the R-Car Gen2 CMA reservation code in the board
files for Lager and Koelsch. Both the DT-reference code
and the legacy code is modified.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-koelsch-reference.c
arch/arm/mach-shmobile/board-koelsch.c
arch/arm/mach-shmobile/board-lager-reference.c
arch/arm/mach-shmobile/board-lager.c

index 28e3c45c8b90ea073e0f351d68fee19d747fea6b..5e0375fdc6f7b13765f2e3afb291afbe7db4fbe6 100644 (file)
@@ -113,5 +113,6 @@ DT_MACHINE_START(KOELSCH_DT, "koelsch")
        .init_time      = rcar_gen2_timer_init,
        .init_machine   = koelsch_add_standard_devices,
        .init_late      = shmobile_init_late,
+       .reserve        = rcar_gen2_reserve,
        .dt_compat      = koelsch_boards_compat_dt,
 MACHINE_END
index 0d44e7eb650898b20ca30631c844a92a47ad345c..db4b8a311c759685df6342f5f61ba23cbd729166 100644 (file)
@@ -526,5 +526,6 @@ DT_MACHINE_START(KOELSCH_DT, "koelsch")
        .init_time      = rcar_gen2_timer_init,
        .init_machine   = koelsch_init,
        .init_late      = shmobile_init_late,
+       .reserve        = rcar_gen2_reserve,
        .dt_compat      = koelsch_boards_compat_dt,
 MACHINE_END
index 9e0624e1b2f09ff20bf4a0ba60ee91febc1a7983..c5e656e3bae3fd44299b2ce910a27ce221c4cb64 100644 (file)
@@ -119,5 +119,6 @@ DT_MACHINE_START(LAGER_DT, "lager")
        .init_time      = rcar_gen2_timer_init,
        .init_machine   = lager_add_standard_devices,
        .init_late      = shmobile_init_late,
+       .reserve        = rcar_gen2_reserve,
        .dt_compat      = lager_boards_compat_dt,
 MACHINE_END
index 83bbb5c48863c57e425deec9140388b443f600ca..a51d202cddcf51123d36a35c2164eb4aeda26ba4 100644 (file)
@@ -891,5 +891,6 @@ DT_MACHINE_START(LAGER_DT, "lager")
        .init_time      = rcar_gen2_timer_init,
        .init_machine   = lager_init,
        .init_late      = shmobile_init_late,
+       .reserve        = rcar_gen2_reserve,
        .dt_compat      = lager_boards_compat_dt,
 MACHINE_END