setup.c (2680e04c187495e779abdfdd8ff8e1805fcc1d63) setup.c (8ad8b72721d0f07fa02dbe71f901743f9c71c8e6)
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

--- 10 unchanged lines hidden (view full) ---

19
20#include <asm/clint.h>
21#include <asm/setup.h>
22#include <asm/sections.h>
23#include <asm/pgtable.h>
24#include <asm/smp.h>
25#include <asm/tlbflush.h>
26#include <asm/thread_info.h>
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

--- 10 unchanged lines hidden (view full) ---

19
20#include <asm/clint.h>
21#include <asm/setup.h>
22#include <asm/sections.h>
23#include <asm/pgtable.h>
24#include <asm/smp.h>
25#include <asm/tlbflush.h>
26#include <asm/thread_info.h>
27#include <asm/kasan.h>
27
28#include "head.h"
29
30#ifdef CONFIG_DUMMY_CONSOLE
31struct screen_info screen_info = {
32 .orig_video_lines = 30,
33 .orig_video_cols = 80,
34 .orig_video_mode = 0,

--- 34 unchanged lines hidden (view full) ---

69 paging_init();
70 unflatten_device_tree();
71 clint_init_boot_cpu();
72
73#ifdef CONFIG_SWIOTLB
74 swiotlb_init(1);
75#endif
76
28
29#include "head.h"
30
31#ifdef CONFIG_DUMMY_CONSOLE
32struct screen_info screen_info = {
33 .orig_video_lines = 30,
34 .orig_video_cols = 80,
35 .orig_video_mode = 0,

--- 34 unchanged lines hidden (view full) ---

70 paging_init();
71 unflatten_device_tree();
72 clint_init_boot_cpu();
73
74#ifdef CONFIG_SWIOTLB
75 swiotlb_init(1);
76#endif
77
78#ifdef CONFIG_KASAN
79 kasan_init();
80#endif
81
77#ifdef CONFIG_SMP
78 setup_smp();
79#endif
80
82#ifdef CONFIG_SMP
83 setup_smp();
84#endif
85
86#ifdef CONFIG_DUMMY_CONSOLE
87 conswitchp = &dummy_con;
88#endif
89
81 riscv_fill_hwcap();
82}
90 riscv_fill_hwcap();
91}