0001
0002
0003 #ifndef __ARM64_ASM_SETUP_H
0004 #define __ARM64_ASM_SETUP_H
0005
0006 #include <linux/string.h>
0007
0008 #include <uapi/asm/setup.h>
0009
0010 void *get_early_fdt_ptr(void);
0011 void early_fdt_map(u64 dt_phys);
0012
0013
0014
0015
0016 extern phys_addr_t __fdt_pointer __initdata;
0017 extern u64 __cacheline_aligned boot_args[4];
0018
0019 static inline bool arch_parse_debug_rodata(char *arg)
0020 {
0021 extern bool rodata_enabled;
0022 extern bool rodata_full;
0023
0024 if (arg && !strcmp(arg, "full")) {
0025 rodata_enabled = true;
0026 rodata_full = true;
0027 return true;
0028 }
0029
0030 return false;
0031 }
0032 #define arch_parse_debug_rodata arch_parse_debug_rodata
0033
0034 #endif