]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
csky: Support vmlinux bootup with MMU off
authorGuo Ren <ren_guo@c-sky.com>
Fri, 12 Apr 2019 11:08:34 +0000 (19:08 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Mon, 22 Apr 2019 05:44:57 +0000 (13:44 +0800)
commit205353fa06cc5dbfe1949de013ba905bb151c702
treea51d0bfb604e0794aa6a1665794e5fa98e3bdd1d
parentb4bf274198bd415e66af0b54a2e181c59fd43ba4
csky: Support vmlinux bootup with MMU off

Modify SETUP_MMU macro to fit on both MMU-on or MMU-off enviornment
and vmlinux could bootup from MMU off enviornment for some cases.

Unify the style of _start and _start_smp_secondary in head.S to make
head.S looks more concise and easy to understand.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
arch/csky/abiv1/inc/abi/entry.h
arch/csky/abiv2/inc/abi/entry.h
arch/csky/kernel/head.S
arch/csky/kernel/setup.c