projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c254c6
)
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
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/head.S
b/arch/arm/kernel/head.S
index 81356ebd993ba4c554cb773872ee065956af0107..5a9c6cace9a629f6c7df1cb4e15c58d4a540a967 100644
(file)
--- a/
arch/arm/kernel/head.S
+++ b/
arch/arm/kernel/head.S
@@
-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)
+#if
def CONFIG_PLAT_RK
add \rd, \phys, #((TEXT_OFFSET - 0x4000) & 0xffff0000)
add \rd, \rd, #((TEXT_OFFSET - 0x4000) & 0x0000ffff)
#else