cns3xxx: add linux 3.8 support and use it by default
[openwrt/svn-archive/archive.git] / target / linux / cns3xxx / patches-3.8 / 035-add_io_spaces.patch
1 --- a/arch/arm/mach-cns3xxx/core.c
2 +++ b/arch/arm/mach-cns3xxx/core.c
3 @@ -58,6 +58,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