setup.c (9e8238020c5beba64e7ffafbb7ea0fb02fe68270) | setup.c (2bc3fc877aa9c4c8b80cc49f66dfcb7e4857a128) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 2009 Sunplus Core Technology Co., Ltd. 4 * Chen Liqin <liqin.chen@sunplusct.com> 5 * Lennox Wu <lennox.wu@sunplusct.com> 6 * Copyright (C) 2012 Regents of the University of California 7 */ 8 --- 4 unchanged lines hidden (view full) --- 13#include <linux/console.h> 14#include <linux/screen_info.h> 15#include <linux/of_fdt.h> 16#include <linux/of_platform.h> 17#include <linux/sched/task.h> 18#include <linux/swiotlb.h> 19#include <linux/smp.h> 20 | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 2009 Sunplus Core Technology Co., Ltd. 4 * Chen Liqin <liqin.chen@sunplusct.com> 5 * Lennox Wu <lennox.wu@sunplusct.com> 6 * Copyright (C) 2012 Regents of the University of California 7 */ 8 --- 4 unchanged lines hidden (view full) --- 13#include <linux/console.h> 14#include <linux/screen_info.h> 15#include <linux/of_fdt.h> 16#include <linux/of_platform.h> 17#include <linux/sched/task.h> 18#include <linux/swiotlb.h> 19#include <linux/smp.h> 20 |
21#include <asm/clint.h> | |
22#include <asm/cpu_ops.h> 23#include <asm/setup.h> 24#include <asm/sections.h> | 21#include <asm/cpu_ops.h> 22#include <asm/setup.h> 23#include <asm/sections.h> |
25#include <asm/pgtable.h> | |
26#include <asm/sbi.h> 27#include <asm/tlbflush.h> 28#include <asm/thread_info.h> 29#include <asm/kasan.h> 30 31#include "head.h" 32 33#ifdef CONFIG_DUMMY_CONSOLE --- 36 unchanged lines hidden (view full) --- 70 init_mm.brk = (unsigned long) _end; 71 72 *cmdline_p = boot_command_line; 73 74 parse_early_param(); 75 76 setup_bootmem(); 77 paging_init(); | 24#include <asm/sbi.h> 25#include <asm/tlbflush.h> 26#include <asm/thread_info.h> 27#include <asm/kasan.h> 28 29#include "head.h" 30 31#ifdef CONFIG_DUMMY_CONSOLE --- 36 unchanged lines hidden (view full) --- 68 init_mm.brk = (unsigned long) _end; 69 70 *cmdline_p = boot_command_line; 71 72 parse_early_param(); 73 74 setup_bootmem(); 75 paging_init(); |
76#if IS_ENABLED(CONFIG_BUILTIN_DTB) 77 unflatten_and_copy_device_tree(); 78#else |
|
78 unflatten_device_tree(); | 79 unflatten_device_tree(); |
79 clint_init_boot_cpu(); | 80#endif |
80 81#ifdef CONFIG_SWIOTLB 82 swiotlb_init(1); 83#endif 84 85#ifdef CONFIG_KASAN 86 kasan_init(); 87#endif --- 26 unchanged lines hidden --- | 81 82#ifdef CONFIG_SWIOTLB 83 swiotlb_init(1); 84#endif 85 86#ifdef CONFIG_KASAN 87 kasan_init(); 88#endif --- 26 unchanged lines hidden --- |