arm: head.S: port to rk platform
author黄涛 <huangtao@rock-chips.com>
Mon, 20 Feb 2012 07:17:28 +0000 (15:17 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 20 Feb 2012 07:46:09 +0000 (15:46 +0800)
arch/arm/kernel/head.S

index 81356ebd993ba4c554cb773872ee065956af0107..5a9c6cace9a629f6c7df1cb4e15c58d4a540a967 100644 (file)
@@ -42,7 +42,7 @@
        .equ    swapper_pg_dir, KERNEL_RAM_VADDR - 0x4000
 
        .macro  pgtbl, rd, phys
-#if defined(CONFIG_ARCH_RK29) || defined(CONFIG_ARCH_RK30)
+#ifdef CONFIG_PLAT_RK
        add     \rd, \phys, #((TEXT_OFFSET - 0x4000) & 0xffff0000)
        add     \rd, \rd,   #((TEXT_OFFSET - 0x4000) & 0x0000ffff)
 #else