Skip to content

Commit

Permalink
arm: plat-orion: make bridge_virt_base non-const to support DT use case
Browse files Browse the repository at this point in the history
For the Armada 370 and XP SoCs where the DT is used, we need to fill
at runtime the bridge_virt_base field on the
orion_addr_map_cfg. Therefore, remove the 'const' qualifier on this
field.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
  • Loading branch information
Thomas Petazzoni authored and Jason Cooper committed Sep 21, 2012
1 parent abcda1d commit 87d1364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-orion/include/plat/addr-map.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extern struct mbus_dram_target_info orion_mbus_dram_info;
struct orion_addr_map_cfg {
const int num_wins; /* Total number of windows */
const int remappable_wins;
void __iomem * const bridge_virt_base;
void __iomem *bridge_virt_base;

/* If NULL, the default cpu_win_can_remap will be used, using
the value in remappable_wins */
Expand Down

0 comments on commit 87d1364

Please sign in to comment.