map RK2818_SDRAMC_BASE

This commit is contained in:
黄涛
2010-05-11 02:11:23 +00:00
parent 4b5d517f8a
commit 2fe0f135b9
2 changed files with 8 additions and 0 deletions

View File

@@ -109,6 +109,13 @@ static struct map_desc rk2818_io_desc[] __initdata = {
.type = MT_DEVICE
},
{
.virtual = RK2818_SDRAMC_BASE,
.pfn = __phys_to_pfn(RK2818_SDRAMC_PHYS),
.length = RK2818_SDRAMC_SIZE,
.type = MT_DEVICE
},
{
.virtual = RK2818_ARMDARBITER_BASE,
.pfn = __phys_to_pfn(RK2818_ARMDARBITER_PHYS),

View File

@@ -92,6 +92,7 @@
#define RK2818_NANDC_PHYS 0x100AE000
#define RK2818_NANDC_SIZE SZ_16K
#define RK2818_SDRAMC_BASE 0xFF0B0000
#define RK2818_SDRAMC_PHYS 0x100B0000
#define RK2818_SDRAMC_SIZE SZ_8K