diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-04-08 11:12:25 +0800 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-04-22 13:44:57 +0800 |
commit | f62e31623d718a7c20d9da98de48361624d7360a (patch) | |
tree | 686ee8d9ea793443c6ad184f36074c2e391c535c /security | |
parent | bf241682936293291dcf40fd93cdd0f5e6222902 (diff) | |
download | linux-f62e31623d718a7c20d9da98de48361624d7360a.tar.gz linux-f62e31623d718a7c20d9da98de48361624d7360a.tar.bz2 linux-f62e31623d718a7c20d9da98de48361624d7360a.zip |
csky: Support dynamic start physical address
Before this patch csky-linux need CONFIG_RAM_BASE to determine start
physical address. Now we use phys_offset variable to replace the macro
of PHYS_OFFSET and we setup phys_offset with real physical address which
is determined during startup in head.S.
With this patch we needn't re-compile kernel for different start
physical address. ie: 0x0 / 0xc0000000 start physical address could use
the same vmlinux, be care different start address must be 512MB aligned.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions