head.S (e1de2c93e78740383db1a0ff626d8ca2cdc28aaf) | head.S (63b13e64a829e7b12fba81fccbea0d5448fc0c24) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2012 Regents of the University of California 4 */ 5 6#include <asm/asm-offsets.h> 7#include <asm/asm.h> 8#include <linux/init.h> 9#include <linux/linkage.h> 10#include <asm/thread_info.h> 11#include <asm/page.h> 12#include <asm/pgtable.h> 13#include <asm/csr.h> 14#include <asm/cpu_ops_sbi.h> 15#include <asm/hwcap.h> 16#include <asm/image.h> 17#include "efi-header.S" 18 | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2012 Regents of the University of California 4 */ 5 6#include <asm/asm-offsets.h> 7#include <asm/asm.h> 8#include <linux/init.h> 9#include <linux/linkage.h> 10#include <asm/thread_info.h> 11#include <asm/page.h> 12#include <asm/pgtable.h> 13#include <asm/csr.h> 14#include <asm/cpu_ops_sbi.h> 15#include <asm/hwcap.h> 16#include <asm/image.h> 17#include "efi-header.S" 18 |
19#ifdef CONFIG_XIP_KERNEL 20.macro XIP_FIXUP_OFFSET reg 21 REG_L t0, _xip_fixup 22 add \reg, \reg, t0 23.endm 24.macro XIP_FIXUP_FLASH_OFFSET reg 25 la t1, __data_loc 26 li t0, XIP_OFFSET_MASK 27 and t1, t1, t0 28 li t1, XIP_OFFSET 29 sub t0, t0, t1 30 sub \reg, \reg, t0 31.endm 32_xip_fixup: .dword CONFIG_PHYS_RAM_BASE - CONFIG_XIP_PHYS_ADDR - XIP_OFFSET 33#else 34.macro XIP_FIXUP_OFFSET reg 35.endm 36.macro XIP_FIXUP_FLASH_OFFSET reg 37.endm 38#endif /* CONFIG_XIP_KERNEL */ 39 | |
40__HEAD 41ENTRY(_start) 42 /* 43 * Image header expected by Linux boot-loaders. The image header data 44 * structure is described in asm/image.h. 45 * Do not modify it without modifying the structure and all bootloaders 46 * that expects this header format!! 47 */ --- 409 unchanged lines hidden --- | 19__HEAD 20ENTRY(_start) 21 /* 22 * Image header expected by Linux boot-loaders. The image header data 23 * structure is described in asm/image.h. 24 * Do not modify it without modifying the structure and all bootloaders 25 * that expects this header format!! 26 */ --- 409 unchanged lines hidden --- |