aboutsummaryrefslogtreecommitdiff
path: root/arch/hexagon/kernel/setup.c
diff options
context:
space:
mode:
authorGravatar Richard Kuo <rkuo@codeaurora.org> 2013-03-22 16:05:40 -0500
committerGravatar Richard Kuo <rkuo@codeaurora.org> 2013-04-30 19:40:22 -0500
commit8f5a0b9dffeb3cb94f2b0622b6fe0717512ef54b (patch)
treed85d4b7531645b4b189fb88dd8d6b4b62072284b /arch/hexagon/kernel/setup.c
parentHexagon: fix __atomic_add_unless (diff)
downloadlinux-8f5a0b9dffeb3cb94f2b0622b6fe0717512ef54b.tar.gz
linux-8f5a0b9dffeb3cb94f2b0622b6fe0717512ef54b.tar.bz2
linux-8f5a0b9dffeb3cb94f2b0622b6fe0717512ef54b.zip
Hexagon: add support for ARCH_PFN_OFFSET
Add support for loading the kernel at a physical offset. The offset should still be 4M aligned. Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/kernel/setup.c')
-rw-r--r--arch/hexagon/kernel/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/setup.c b/arch/hexagon/kernel/setup.c
index 94a387835008..2e2304f7b7ee 100644
--- a/arch/hexagon/kernel/setup.c
+++ b/arch/hexagon/kernel/setup.c
@@ -68,6 +68,8 @@ void __init setup_arch(char **cmdline_p)
*/
__vmsetvec(_K_VM_event_vector);
+ printk(KERN_INFO "PHYS_OFFSET=0x%08x\n", PHYS_OFFSET);
+
/*
* Simulator has a few differences from the hardware.
* For now, check uninitialized-but-mapped memory