ARM: shmobile: sh73a0: Remove obsolete static mapping
There are no more users of the statically mapped IOMEM region on SH-Mobile AG5. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20201117103022.2136527-8-geert+renesas@glider.be
This commit is contained in:
@ -22,24 +22,6 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sh73a0.h"
|
#include "sh73a0.h"
|
||||||
|
|
||||||
static struct map_desc sh73a0_io_desc[] __initdata = {
|
|
||||||
/* create a 1:1 identity mapping for 0xe6xxxxxx
|
|
||||||
* used by CPGA, INTC and PFC.
|
|
||||||
*/
|
|
||||||
{
|
|
||||||
.virtual = 0xe6000000,
|
|
||||||
.pfn = __phys_to_pfn(0xe6000000),
|
|
||||||
.length = 256 << 20,
|
|
||||||
.type = MT_DEVICE_NONSHARED
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
static void __init sh73a0_map_io(void)
|
|
||||||
{
|
|
||||||
debug_ll_io_init();
|
|
||||||
iotable_init(sh73a0_io_desc, ARRAY_SIZE(sh73a0_io_desc));
|
|
||||||
}
|
|
||||||
|
|
||||||
static void __init sh73a0_generic_init(void)
|
static void __init sh73a0_generic_init(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_CACHE_L2X0
|
#ifdef CONFIG_CACHE_L2X0
|
||||||
@ -55,7 +37,6 @@ static const char *const sh73a0_boards_compat_dt[] __initconst = {
|
|||||||
|
|
||||||
DT_MACHINE_START(SH73A0_DT, "Generic SH73A0 (Flattened Device Tree)")
|
DT_MACHINE_START(SH73A0_DT, "Generic SH73A0 (Flattened Device Tree)")
|
||||||
.smp = smp_ops(sh73a0_smp_ops),
|
.smp = smp_ops(sh73a0_smp_ops),
|
||||||
.map_io = sh73a0_map_io,
|
|
||||||
.init_machine = sh73a0_generic_init,
|
.init_machine = sh73a0_generic_init,
|
||||||
.init_late = shmobile_init_late,
|
.init_late = shmobile_init_late,
|
||||||
.dt_compat = sh73a0_boards_compat_dt,
|
.dt_compat = sh73a0_boards_compat_dt,
|
||||||
|
Reference in New Issue
Block a user