rk30: io: add ROM map
author黄涛 <huangtao@rock-chips.com>
Wed, 29 Aug 2012 03:04:43 +0000 (11:04 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 29 Aug 2012 03:05:00 +0000 (11:05 +0800)
arch/arm/mach-rk30/include/mach/io.h
arch/arm/mach-rk30/io.c

index 61901f4e4d812219f9f94bf5f63ab9966cf0463f..ae5dcca95bcc247b394d4f0636e9e075e3e2fc1b 100755 (executable)
@@ -35,6 +35,7 @@
 #define RK30_GPU_SIZE           SZ_64K
 
 #define RK30_ROM_PHYS           0x10100000
+#define RK30_ROM_BASE           RK30_IO_TO_VIRT0(RK30_ROM_PHYS)
 #define RK30_ROM_SIZE           SZ_16K
 #define RK30_VCODEC_PHYS        0x10104000
 #define RK30_VCODEC_SIZE        SZ_16K
index f368f6d89547e80c49a3283637e0248322548caa..e741bc132e5034aa41e621263ea8d9931920c035 100755 (executable)
@@ -28,6 +28,7 @@
         }
 
 static struct map_desc rk30_io_desc[] __initdata = {
+       RK30_DEVICE(ROM),
        RK30_DEVICE(CORE),
        RK30_DEVICE(CPU_AXI_BUS),
 #if CONFIG_RK_DEBUG_UART == 0