summaryrefslogtreecommitdiffstats
path: root/arch/nds32/kernel/setup.c
AgeCommit message (Collapse)Author
2018-05-23nds32: Fix the virtual address may map too much range by tlbop issue.Greentime Hu
We use tlbop to map virtual address in the first beginning, however it may map too much if DRAM size is not that big. We have to invalidate the mapping when the page table is created. Signed-off-by: Greentime Hu <greentime@andestech.com>
2018-02-22nds32: Kernel booting and initializationGreentime Hu
This patch includes the kernel startup code. It can get dtb pointer passed from bootloader. It will create a temp mapping by tlb instructions at beginning and goto start_kernel. Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>