setup.c (84a73014d86fd660822a20c032625e3afe99ca58) | setup.c (2937367b8a4b0d46ce3312cb997e4a240b02cf15) |
---|---|
1/* 2 * linux/arch/arm/kernel/setup.c 3 * 4 * Copyright (C) 1995-2001 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 24 unchanged lines hidden (view full) --- 33#include <linux/sort.h> 34#include <linux/psci.h> 35 36#include <asm/unified.h> 37#include <asm/cp15.h> 38#include <asm/cpu.h> 39#include <asm/cputype.h> 40#include <asm/elf.h> | 1/* 2 * linux/arch/arm/kernel/setup.c 3 * 4 * Copyright (C) 1995-2001 Russell King 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 24 unchanged lines hidden (view full) --- 33#include <linux/sort.h> 34#include <linux/psci.h> 35 36#include <asm/unified.h> 37#include <asm/cp15.h> 38#include <asm/cpu.h> 39#include <asm/cputype.h> 40#include <asm/elf.h> |
41#include <asm/early_ioremap.h> |
|
41#include <asm/fixmap.h> 42#include <asm/procinfo.h> 43#include <asm/psci.h> 44#include <asm/sections.h> 45#include <asm/setup.h> 46#include <asm/smp_plat.h> 47#include <asm/mach-types.h> 48#include <asm/cacheflush.h> --- 902 unchanged lines hidden (view full) --- 951 init_mm.end_code = (unsigned long) _etext; 952 init_mm.end_data = (unsigned long) _edata; 953 init_mm.brk = (unsigned long) _end; 954 955 /* populate cmd_line too for later use, preserving boot_command_line */ 956 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); 957 *cmdline_p = cmd_line; 958 | 42#include <asm/fixmap.h> 43#include <asm/procinfo.h> 44#include <asm/psci.h> 45#include <asm/sections.h> 46#include <asm/setup.h> 47#include <asm/smp_plat.h> 48#include <asm/mach-types.h> 49#include <asm/cacheflush.h> --- 902 unchanged lines hidden (view full) --- 952 init_mm.end_code = (unsigned long) _etext; 953 init_mm.end_data = (unsigned long) _edata; 954 init_mm.brk = (unsigned long) _end; 955 956 /* populate cmd_line too for later use, preserving boot_command_line */ 957 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); 958 *cmdline_p = cmd_line; 959 |
959 if (IS_ENABLED(CONFIG_FIX_EARLYCON_MEM)) 960 early_fixmap_init(); | 960 early_fixmap_init(); 961 early_ioremap_init(); |
961 962 parse_early_param(); 963 964#ifdef CONFIG_MMU 965 early_paging_init(mdesc); 966#endif 967 setup_dma_zone(mdesc); 968 sanity_check_meminfo(); 969 arm_memblock_init(mdesc); 970 | 962 963 parse_early_param(); 964 965#ifdef CONFIG_MMU 966 early_paging_init(mdesc); 967#endif 968 setup_dma_zone(mdesc); 969 sanity_check_meminfo(); 970 arm_memblock_init(mdesc); 971 |
972 early_ioremap_reset(); 973 |
|
971 paging_init(mdesc); 972 request_standard_resources(mdesc); 973 974 if (mdesc->restart) 975 arm_pm_restart = mdesc->restart; 976 977 unflatten_device_tree(); 978 --- 187 unchanged lines hidden --- | 974 paging_init(mdesc); 975 request_standard_resources(mdesc); 976 977 if (mdesc->restart) 978 arm_pm_restart = mdesc->restart; 979 980 unflatten_device_tree(); 981 --- 187 unchanged lines hidden --- |