Guo Ren f62e31623d 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>
2019-04-22 13:44:57 +08:00
..
2019-04-22 13:44:57 +08:00
2018-10-25 23:36:19 +08:00
2018-10-26 00:54:22 +08:00
2019-04-22 13:44:57 +08:00
2019-01-02 22:17:11 +08:00
2018-10-26 00:54:24 +08:00
2018-12-31 23:12:22 +08:00
2019-04-22 13:44:57 +08:00
2018-12-31 23:12:22 +08:00
2018-10-25 23:36:19 +08:00
2018-10-25 23:36:19 +08:00
2018-10-26 00:54:13 +08:00
2018-10-26 00:54:22 +08:00
2018-10-25 23:36:19 +08:00