[cns3xxx]: fix non terminated uart resources for laguna
[openwrt.git] / target / linux / cns3xxx / patches-3.3 / 100-add_io_spaces.patch
1 --- a/arch/arm/mach-cns3xxx/core.c
2 +++ b/arch/arm/mach-cns3xxx/core.c
3 @@ -59,6 +59,16 @@ static struct map_desc cns3xxx_io_desc[]
4                 .pfn            = __phys_to_pfn(CNS3XXX_PM_BASE),
5                 .length         = SZ_4K,
6                 .type           = MT_DEVICE,
7 +       }, {
8 +               .virtual        = CNS3XXX_SWITCH_BASE_VIRT,
9 +               .pfn            = __phys_to_pfn(CNS3XXX_SWITCH_BASE),
10 +               .length         = SZ_4K,
11 +               .type           = MT_DEVICE,
12 +       }, {
13 +               .virtual        = CNS3XXX_SSP_BASE_VIRT,
14 +               .pfn            = __phys_to_pfn(CNS3XXX_SSP_BASE),
15 +               .length         = SZ_4K,
16 +               .type           = MT_DEVICE,
17         },
18  };
19