repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
genetel200/u-boot
11,866
arch/m68k/cpu/mcf5227x/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2003 Josef Baumgartner <josef.baumgartner@telex.de> * Based on code from Bernhard Kuhn <bkuhn@metrowerks.com> */ #include <asm-offsets.h> #include <config.h> #include "version.h" #include <asm/cache.h> #define _START _start #define _FAULT _fault #define S...
genetel200/u-boot
7,165
arch/m68k/cpu/mcf532x/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2003 Josef Baumgartner <josef.baumgartner@telex.de> * Based on code from Bernhard Kuhn <bkuhn@metrowerks.com> * * (C) Copyright 2004-2008 Freescale Semiconductor, Inc. * TsiChung Liew (Tsi-Chung.Liew@freescale.com) */ #include <asm-offsets.h> #include <c...
genetel200/u-boot
4,272
arch/nios2/cpu/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2004, Psyent Corporation <www.psyent.com> * Scott McNutt <smcnutt@psyent.com> */ #include <asm-offsets.h> #include <config.h> #include <version.h> /* * icache and dcache configuration used only for start.S. * the values are chosen so that it will work fo...
genetel200/u-boot
2,684
arch/nios2/cpu/exceptions.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2004, Psyent Corporation <www.psyent.com> * Scott McNutt <smcnutt@psyent.com> */ #include <config.h> #include <asm/opcodes.h> .text .align 4 .global _exception .set noat .set nobreak _exception: /* SAVE ALL REGS -- this allows trap and unimplemen...
genetel200/u-boot
2,642
arch/sh/lib/ashrsi3.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ !! libgcc routines for the Renesas / SuperH SH CPUs. !! Contributed by Steve Chamberlain. !! sac@cygnus.com !! ashiftrt_r4_x, ___ashrsi3, ___ashlsi3,...
genetel200/u-boot
4,327
arch/sh/lib/movmem.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ !! libgcc routines for the Renesas / SuperH SH CPUs. !! Contributed by Steve Chamberlain. !! sac@cygnus.com !! ashiftrt_r4_x, ___ashrsi3, ___ashlsi3,...
genetel200/u-boot
2,887
arch/sh/lib/lshrsi3.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ !! libgcc routines for the Renesas / SuperH SH CPUs. !! Contributed by Steve Chamberlain. !! sac@cygnus.com !! ashiftrt_r4_x, ___ashrsi3, ___ashlsi3,...
genetel200/u-boot
1,273
arch/sh/lib/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2016 Vladimir Zapolskiy <vz@mleia.com> * Copyright (C) 2007, 2010 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> */ #include <asm-offsets.h> #include <config.h> .text .align 2 .global _start _start: #ifdef CONFIG_CPU_SH2 .long 0x00000010 /* Ppower ON...
genetel200/u-boot
2,295
arch/sh/lib/udivsi3_i4i-Os.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2006 Free Software Foundation, Inc. */ /* Moderately Space-optimized libgcc routines for the Renesas SH / STMicroelectronics ST40 CPUs. Contributed by J"orn Rennecke joern.rennecke@st.com. */ /* Size: 186 bytes jointly for udivsi3_i4i and sdivsi3_i4i...
genetel200/u-boot
2,892
arch/sh/lib/ashlsi3.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ !! libgcc routines for the Renesas / SuperH SH CPUs. !! Contributed by Steve Chamberlain. !! sac@cygnus.com !! ashiftrt_r4_x, ___ashrsi3, ___ashlsi3,...
genetel200/u-boot
2,346
arch/sh/lib/ashiftrt.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ !! libgcc routines for the Renesas / SuperH SH CPUs. !! Contributed by Steve Chamberlain. !! sac@cygnus.com !! ashiftrt_r4_x, ___ashrsi3, ___ashlsi3,...
genetel200/u-boot
9,109
arch/sh/lib/udivsi3_i4i.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ !! libgcc routines for the Renesas / SuperH SH CPUs. !! Contributed by Steve Chamberlain. !! sac@cygnus.com !! ashiftrt_r4_x, ___ashrsi3, ___ashlsi3,...
genetel200/u-boot
1,089
arch/sh/lib/udiv_qrnnd.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ !! libgcc routines for the Renesas / SuperH SH CPUs. !! Contributed by Steve Chamberlain. !! sac@cygnus.com !! ashiftrt_r4_x, ___ashrsi3, ___ashlsi3,...
genetel200/u-boot
1,227
arch/riscv/lib/setjmp.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) 2018 Alexander Graf <agraf@suse.de> */ #include <config.h> #include <linux/linkage.h> #ifdef CONFIG_ARCH_RV64I #define STORE_IDX(reg, idx) sd reg, (idx*8)(a0) #define LOAD_IDX(reg, idx) ld reg, (idx*8)(a0) #else #define STORE_IDX(reg, idx) sw reg, (idx*4)(a0) #define...
genetel200/u-boot
4,246
arch/riscv/lib/crt0_riscv_efi.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * crt0-efi-riscv.S - PE/COFF header for RISC-V EFI applications * * Copright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org> * Copright (C) 2018 Alexander Graf <agraf@suse.de> * * This file is inspired by arch/arm/lib/crt0_aarch64_efi.S */ #include <asm-generic/pe.h> ...
genetel200/u-boot
2,624
arch/riscv/cpu/mtrap.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * M-mode Trap Handler Code for RISC-V Core * * Copyright (c) 2017 Microsemi Corporation. * Copyright (c) 2017 Padmarao Begari <Padmarao.Begari@microsemi.com> * * Copyright (C) 2017 Andes Technology Corporation * Rick Chen, Andes Technology Corporation <rick@andestech.co...
genetel200/u-boot
4,524
arch/riscv/cpu/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Startup Code for RISC-V Core * * Copyright (c) 2017 Microsemi Corporation. * Copyright (c) 2017 Padmarao Begari <Padmarao.Begari@microsemi.com> * * Copyright (C) 2017 Andes Technology Corporation * Rick Chen, Andes Technology Corporation <rick@andestech.com> */ #inc...
genetel200/u-boot
1,201
arch/powerpc/lib/_ashrdi3.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * This code was copied from arch/powerpc/kernel/misc_32.S in the Linux * kernel sources (commit 85e2efbb1db9a18d218006706d6e4fbeb0216213, also * known as 2.6.38-rc5). The source file copyrights are as follows: * * (C) Copyright 1995-1996 Gary Thomas (gdt@linuxppc.org) *...
genetel200/u-boot
1,125
arch/powerpc/lib/_lshrdi3.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * This code was copied from arch/powerpc/kernel/misc_32.S in the Linux * kernel sources (commit 85e2efbb1db9a18d218006706d6e4fbeb0216213, also * known as 2.6.38-rc5). The source file copyrights are as follows: * * (C) Copyright 1995-1996 Gary Thomas (gdt@linuxppc.org) *...
genetel200/u-boot
2,781
arch/powerpc/lib/ppccache.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 1998 Dan Malek <dmalek@jlc.net> * Copyright (C) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se> * Copyright (C) 2000, 2001,2002 Wolfgang Denk <wd@denx.de> * Copyright Freescale Semiconductor, Inc. 2004, 2006. */ #include <config.h> #include <ppc_a...
genetel200/u-boot
2,758
arch/powerpc/lib/ppcstring.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * String handling functions for PowerPC. * * Copyright (C) 1996 Paul Mackerras. */ #include <ppc_asm.tmpl> #include <linux/errno.h> .globl strcpy strcpy: addi r5,r3,-1 addi r4,r4,-1 1: lbzu r0,1(r4) cmpwi 0,r0,0 stbu r0,1(r5) bne 1b blr .globl strncpy strncpy: c...
genetel200/u-boot
1,125
arch/powerpc/lib/_ashldi3.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * This code was copied from arch/powerpc/kernel/misc_32.S in the Linux * kernel sources (commit 85e2efbb1db9a18d218006706d6e4fbeb0216213, also * known as 2.6.38-rc5). The source file copyrights are as follows: * * (C) Copyright 1995-1996 Gary Thomas (gdt@linuxppc.org) *...
genetel200/u-boot
1,225
arch/powerpc/lib/ticks.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2000, 2001 * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com. * base on code by * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ #include <ppc_asm.tmpl> #include <ppc_defs.h> #include <config.h> #include <watchdog.h> /* * unsigned long l...
genetel200/u-boot
12,759
arch/powerpc/cpu/mpc8xx/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 1998 Dan Malek <dmalek@jlc.net> * Copyright (C) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se> * Copyright (C) 2000,2001,2002 Wolfgang Denk <wd@denx.de> */ /* U-Boot - Startup Code for PowerPC based Embedded Boards * * * The processor starts...
genetel200/u-boot
30,189
arch/powerpc/cpu/mpc83xx/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 1998 Dan Malek <dmalek@jlc.net> * Copyright (C) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se> * Copyright (C) 2000, 2001,2002 Wolfgang Denk <wd@denx.de> * Copyright Freescale Semiconductor, Inc. 2004, 2006, 2008. */ /* * U-Boot - Startup Code ...
genetel200/u-boot
11,805
arch/powerpc/cpu/mpc85xx/release.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2008-2012 Freescale Semiconductor, Inc. * Kumar Gala <kumar.gala@freescale.com> */ #include <asm-offsets.h> #include <config.h> #include <mpc85xx.h> #include <ppc_asm.tmpl> #include <ppc_defs.h> #include <asm/cache.h> #include <asm/mmu.h> /* To boot secondar...
genetel200/u-boot
43,554
arch/powerpc/cpu/mpc85xx/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2004, 2007-2012 Freescale Semiconductor, Inc. * Copyright (C) 2003 Motorola,Inc. */ /* U-Boot Startup Code for Motorola 85xx PowerPC based Embedded Boards * * The processor starts at 0xfffffffc and the code is first executed in the * last 4K page(0xfffff000...
genetel200/u-boot
2,902
arch/powerpc/cpu/mpc86xx/release.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2004, 2007, 2008 Freescale Semiconductor. * Srikanth Srinivasan <srikanth.srinivaan@freescale.com> */ #include <config.h> #include <mpc86xx.h> #include <ppc_asm.tmpl> #include <ppc_defs.h> #include <asm/cache.h> #include <asm/mmu.h> /* If this is a multi-cpu ...
genetel200/u-boot
20,353
arch/powerpc/cpu/mpc86xx/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2004, 2007, 2011 Freescale Semiconductor. * Srikanth Srinivasan <srikanth.srinivaan@freescale.com> */ /* U-Boot - Startup Code for 86xx PowerPC based Embedded Boards * * * The processor starts at 0xfff00100 and the code is executed * from flash. The code...
genetel200/u-boot
6,507
arch/powerpc/cpu/mpc86xx/cache.S
#include <config.h> #include <mpc86xx.h> #include <ppc_asm.tmpl> #include <ppc_defs.h> #include <asm/cache.h> #include <asm/mmu.h> #ifndef CACHE_LINE_SIZE # define CACHE_LINE_SIZE L1_CACHE_BYTES #endif #if CACHE_LINE_SIZE == 128 #define LG_CACHE_LINE_SIZE 7 #elif CACHE_LINE_SIZE == 32 #define LG_CACHE_LINE_SIZE 5 #...
genetel200/u-boot
7,750
arch/microblaze/cpu/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2007 Michal Simek * (C) Copyright 2004 Atmark Techno, Inc. * * Michal SIMEK <monstr@monstr.eu> * Yasushi SHOJI <yashi@atmark-techno.com> */ #include <asm-offsets.h> #include <config.h> .text .global _start _start: /* * reserve registers: * r10: ...
genetel200/u-boot
1,369
arch/microblaze/cpu/irq.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2007 Michal Simek * * Michal SIMEK <monstr@monstr.eu> */ #include <config.h> #include <asm/asm.h> .text .global _interrupt_handler _interrupt_handler: addik r1, r1, -124 swi r2, r1, 4 swi r3, r1, 8 swi r4, r1, 12 swi r5, r1, 16 swi r6, r1, 20 swi...
genetel200/u-boot
11,902
arch/nds32/cpu/n1213/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Andesboot - Startup Code for Whitiger core * * Copyright (C) 2006 Andes Technology Corporation * Copyright (C) 2006 Shawn Lin <nobuhiro@andestech.com> * Copyright (C) 2011 Macpaul Lin <macpaul@andestech.com> * Greentime Hu <greentime@andestech.com> */ .pic #inclu...
genetel200/u-boot
3,377
arch/nds32/cpu/n1213/ae3xx/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2011 Andes Technology Corporation * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com> * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com> */ .pic .text #include <common.h> #include <config.h> #include <asm/macro.h> #includ...
genetel200/u-boot
7,616
arch/nds32/cpu/n1213/ag101/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2011 Andes Technology Corporation * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com> * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com> */ .pic .text #include <common.h> #include <config.h> #include <asm/macro.h> #includ...
genetel200/u-boot
3,891
arch/mips/lib/genex.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 1994 - 2000, 2001, 2003 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2002, 2007 Maciej W. Rozycki * Copyright (C) 2001, 2012 MIPS Technologies, Inc. All rights reserved. */ #include <asm/asm.h> #include <asm/regdef.h> #...
genetel200/u-boot
11,070
arch/mips/lib/cache_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Cache-handling routined for MIPS CPUs * * Copyright (c) 2003 Wolfgang Denk <wd@denx.de> */ #include <asm-offsets.h> #include <config.h> #include <asm/asm.h> #include <asm/regdef.h> #include <asm/mipsregs.h> #include <asm/addrspace.h> #include <asm/cacheops.h> #include...
genetel200/u-boot
6,107
arch/mips/mach-mt7620/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (c) 2018 Stefan Roese <sr@denx.de> * * This code is mostly based on the code extracted from this MediaTek * github repository: * * https://github.com/MediaTek-Labs/linkit-smart-uboot.git * * I was not able to find a specific license or other developers * copyrights ...
genetel200/u-boot
1,634
arch/mips/mach-jz47xx/start.S
// SPDX-License-Identifier: GPL-2.0+ /* * Startup Code for MIPS32 XBURST CPU-core * * Copyright (c) 2010 Xiangfu Liu <xiangfu@sharism.cc> */ #include <config.h> #include <asm/regdef.h> #include <asm/mipsregs.h> #include <asm/addrspace.h> #include <asm/cacheops.h> #include <asm/cache.h> #include <mach/jz4780.h> ...
genetel200/u-boot
1,691
arch/mips/mach-mscc/lowlevel_init_luton.S
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /* * Copyright (c) 2018 Microsemi Corporation */ #include <asm/asm.h> #include <asm/regdef.h> #define BASE_MACRO 0x600a0000 #define REG_OFFSET(t, o) (t + (o*4)) #define REG_MACRO(x) REG_OFFSET(BASE_MACRO, x) #define BIT(nr) (1 << (nr)) #define MACRO_CTRL_PLL5...
genetel200/u-boot
5,261
arch/mips/cpu/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Startup Code for MIPS32 CPU-core * * Copyright (c) 2003 Wolfgang Denk <wd@denx.de> */ #include <asm-offsets.h> #include <config.h> #include <asm/asm.h> #include <asm/regdef.h> #include <asm/mipsregs.h> #ifndef CONFIG_SYS_INIT_SP_ADDR #define CONFIG_SYS_INIT_SP_ADDR (...
genetel200/u-boot
5,934
arch/mips/mach-ath79/qca953x/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> * Based on Atheros LSDK/QSDK */ #include <config.h> #include <asm/asm.h> #include <asm/regdef.h> #include <asm/mipsregs.h> #include <asm/addrspace.h> #include <mach/ar71xx_regs.h> #define MK_PLL_CONF(divint, refdi...
genetel200/u-boot
6,733
arch/mips/mach-ath79/ar933x/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> * Based on Atheros LSDK/QSDK and u-boot_mod project */ #include <config.h> #include <asm/asm.h> #include <asm/regdef.h> #include <asm/mipsregs.h> #include <asm/addrspace.h> #include <mach/ar71xx_regs.h> #define SE...
genetel200/u-boot
2,202
arch/arm/mach-tegra/psci.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2014, NVIDIA * Copyright (C) 2015, Siemens AG * * Authors: * Thierry Reding <treding@nvidia.com> * Jan Kiszka <jan.kiszka@siemens.com> */ #include <linux/linkage.h> #include <asm/macro.h> #include <asm/psci.h> .pushsection ._secure.text, "ax" .arch...
genetel200/u-boot
1,392
arch/arm/mach-mvebu/lowlevel_spl.S
/* SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> #include <linux/linkage.h> ENTRY(save_boot_params) stmfd sp!, {r0 - r12, lr} /* @ save registers on stack */ ldr r12, =CONFIG_SPL_BOOTROM_SAVE str sp, [r12] b save_boot_params_ret ENDPROC(save_boot_params) ENTRY(return_to_bootrom) ldr r12, =CONFIG_SPL_...
genetel200/u-boot
2,578
arch/arm/lib/relocate_64.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * relocate - common relocation function for AArch64 U-Boot * * (C) Copyright 2013 * Albert ARIBAUD <albert.u.boot@aribaud.net> * David Feng <fenghua@phytium.com.cn> */ #include <asm-offsets.h> #include <config.h> #include <elf.h> #include <linux/linkage.h> #include <asm...
genetel200/u-boot
3,817
arch/arm/lib/crt0_aarch64_efi.S
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */ /* * crt0-efi-aarch64.S - PE/COFF header for aarch64 EFI applications * * Copright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org> * * * This file is taken and modified from the gnu-efi project. */ #include <asm-generic/pe.h> .section .text.head /* ...
genetel200/u-boot
5,062
arch/arm/lib/gic_64.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * GIC Initialization Routines. * * (C) Copyright 2013 * David Feng <fenghua@phytium.com.cn> */ #include <asm-offsets.h> #include <config.h> #include <linux/linkage.h> #include <asm/gic.h> #include <asm/macro.h> /*********************************************************...
genetel200/u-boot
4,596
arch/arm/lib/uldivmod.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2010, Google Inc. * * Brought in from coreboot uldivmod.S */ #include <linux/linkage.h> #include <asm/assembler.h> /* * A, Q = r0 + (r1 << 32) * B, R = r2 + (r3 << 32) * A / B = Q ... R */ A_0 .req r0 A_1 .req r1 B_0 .req r2 B_1 .req r3 C_0 .req r4 C_1 .r...
genetel200/u-boot
3,976
arch/arm/lib/div64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/arch/arm/lib/div64.S * * Optimized computation of 64-bit dividend / 32-bit divisor * * Author: Nicolas Pitre * Created: Oct 5, 2003 * Copyright: Monta Vista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #ifdef __UBOOT__ #define UN...
genetel200/u-boot
3,868
arch/arm/lib/crt0_arm_efi.S
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */ /* * crt0-efi-arm.S - PE/COFF header for ARM EFI applications * * Copright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org> * * This file is taken and modified from the gnu-efi project. */ #include <asm-generic/pe.h> .section .text.head /* * Magic "MZ...
genetel200/u-boot
1,836
arch/arm/lib/ccn504.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2015 Freescale Semiconductor * * Extracted from gic_64.S */ #include <config.h> #include <linux/linkage.h> #include <asm/macro.h> /************************************************************************* * * void ccn504_add_masters_to_dvm(CCI_MN_BASE, ...
genetel200/u-boot
8,771
arch/arm/lib/lib1funcs.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * linux/arch/arm/lib/lib1funcs.S: Optimized ARM division routines * * Author: Nicolas Pitre <nico@fluxnic.net> * - contributed to gcc-3.4 on Sep 30, 2003 * - adapted for the Linux kernel on Oct 2, 2003 */ /* * Copyright 1995, 1996, 1998, 1999, 2000, 2003 Free Softwa...
genetel200/u-boot
2,354
arch/arm/lib/memset.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/arch/arm/lib/memset.S * * Copyright (C) 1995-2000 Russell King * * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> .text .align 5 .syntax unified #if CONFIG_IS_ENABLED(SYS_THUMB_BUILD) && !defined(MEMSET_NO_THUMB_BUI...
genetel200/u-boot
3,407
arch/arm/lib/relocate.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * relocate - common relocation function for ARM U-Boot * * Copyright (c) 2013 Albert ARIBAUD <albert.u.boot@aribaud.net> */ #include <asm-offsets.h> #include <asm/assembler.h> #include <config.h> #include <elf.h> #include <linux/linkage.h> #ifdef CONFIG_CPU_V7M #includ...
genetel200/u-boot
5,046
arch/arm/lib/crt0_64.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * crt0 - C-runtime startup Code for AArch64 U-Boot * * (C) Copyright 2013 * David Feng <fenghua@phytium.com.cn> * * (C) Copyright 2012 * Albert ARIBAUD <albert.u.boot@aribaud.net> */ #include <config.h> #include <asm-offsets.h> #include <asm/macro.h> #include <linux/l...
genetel200/u-boot
1,579
arch/arm/lib/vectors_m.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2015 * Kamil Lulko, <kamil.lulko@gmail.com> */ #include <config.h> #include <asm/assembler.h> #include <linux/linkage.h> .type __hard_fault_entry, %function __hard_fault_entry: mov r0, sp @ pass auto-saved registers as argument b do_hard_fault .type __m...
genetel200/u-boot
6,715
arch/arm/lib/vectors.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * vectors - Generic ARM exception table code * * Copyright (c) 1998 Dan Malek <dmalek@jlc.net> * Copyright (c) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se> * Copyright (c) 2000 Wolfgang Denk <wd@denx.de> * Copyright (c) 2001 Alex Züpke <azu@sysgo.de> * Co...
genetel200/u-boot
2,196
arch/arm/lib/debug.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * linux/arch/arm/kernel/debug.S * * Copyright (C) 1994-1999 Russell King * * 32-bit debugging code */ #include <linux/linkage.h> #include <asm/assembler.h> .text /* * Some debugging routines (useful if you've got MM problems and * printk isn't working). For DEB...
genetel200/u-boot
4,903
arch/arm/lib/crt0.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * crt0 - C-runtime startup Code for ARM U-Boot * * Copyright (c) 2012 Albert ARIBAUD <albert.u.boot@aribaud.net> */ #include <config.h> #include <asm-offsets.h> #include <linux/linkage.h> #include <asm/assembler.h> /* * This file handles the target-independent stages...
genetel200/u-boot
5,306
arch/arm/lib/memcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/arch/arm/lib/memcpy.S * * Author: Nicolas Pitre * Created: Sep 28, 2005 * Copyright: MontaVista Software, Inc. */ #include <linux/linkage.h> #include <asm/assembler.h> #define LDR1W_SHIFT 0 #define STR1W_SHIFT 0 .macro ldr1w ptr reg abort W(ldr) \reg, [\p...
genetel200/u-boot
1,685
arch/arm/mach-rmobile/lowlevel_init_gen3.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * arch/arm/cpu/armv8/rcar_gen3/lowlevel_init.S * This file is lowlevel initialize routine. * * (C) Copyright 2015 Renesas Electronics Corporation * * This file is based on the arch/arm/cpu/armv8/start.S * * (C) Copyright 2013 * David Feng <fenghua@phytium.com.cn> */ ...
genetel200/u-boot
1,776
arch/arm/mach-rmobile/lowlevel_init_ca15.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S * This file is lager low level initialize. * * Copyright (C) 2013, 2014 Renesas Electronics Corporation */ #include <config.h> #include <linux/linkage.h> ENTRY(lowlevel_init) #ifndef CONFIG_SPL_BUILD mrc p15, 0, r4, ...
genetel200/u-boot
3,677
arch/arm/mach-exynos/sec_boot.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2013 Samsung Electronics * Akshay Saraswat <akshay.s@samsung.com> */ #include <config.h> #include <asm/arch/cpu.h> .globl relocate_wait_code relocate_wait_code: adr r0, code_base @ r0: source address (start) adr r1, code_end @ r1: source addre...
genetel200/u-boot
7,325
arch/arm/mach-orion5x/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net> * * (C) Copyright 2009 * Marvell Semiconductor <www.marvell.com> * Written-by: Prafulla Wadaskar <prafulla@marvell.com> */ #include <config.h> #include "asm/arch/orion5x.h" /* * Configuration values for S...
genetel200/u-boot
13,262
arch/arm/mach-davinci/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Low-level board setup code for TI DaVinci SoC based boards. * * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net> * * Partially based on TI sources, original copyrights follow: */ /* * Board specific setup info * * (C) Copyright 2003 * Texas Instruments, <www.ti.c...
genetel200/u-boot
1,834
arch/arm/mach-omap2/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Board specific setup info * * (C) Copyright 2010 * Texas Instruments, <www.ti.com> * * Author : * Aneesh V <aneesh@ti.com> */ #include <config.h> #include <asm/arch/omap.h> #include <asm/omap_common.h> #include <asm/arch/spl.h> #include <linux/linkage.h> .arch_exte...
genetel200/u-boot
1,797
arch/arm/mach-sunxi/rmr_switch.S
@ @ ARMv8 RMR reset sequence on Allwinner SoCs. @ @ All 64-bit capable Allwinner SoCs reset in AArch32 (and continue to @ exectute the Boot ROM in this state), so we need to switch to AArch64 @ at some point. @ Section G6.2.133 of the ARMv8 ARM describes the Reset Management Register @ (RMR), which triggers a warm-rese...
genetel200/u-boot
1,114
arch/arm/mach-tegra/tegra186/cache.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2016, NVIDIA CORPORATION. */ #include <config.h> #include <linux/linkage.h> #define SMC_SIP_INVOKE_MCE 0x82FFFF00 #define MCE_SMC_ROC_FLUSH_CACHE (SMC_SIP_INVOKE_MCE | 11) #define MCE_SMC_ROC_FLUSH_CACHE_ONLY (SMC_SIP_INVOKE_MCE | 14) #define MCE_SMC_ROC_C...
genetel200/u-boot
1,664
arch/arm/mach-mediatek/mt7629/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 MediaTek Inc. */ #include <linux/linkage.h> #define WAIT_CODE_SRAM_BASE 0x0010ff00 #define SLAVE_JUMP_REG 0x10202034 #define SLAVE1_MAGIC_REG 0x10202038 #define SLAVE1_MAGIC_NUM 0x534c4131 #define GIC_CPU_BASE 0x10320000 ENTRY(lowlevel_init) #ifnd...
genetel200/u-boot
3,729
arch/arm/mach-uniphier/arm32/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2012-2015 Panasonic Corporation * Copyright (C) 2015-2016 Socionext Inc. * Author: Masahiro Yamada <yamada.masahiro@socionext.com> */ #include <config.h> #include <linux/linkage.h> #include <linux/sizes.h> #include <asm/system.h> ENTRY(lowlevel_init) m...
genetel200/u-boot
3,449
arch/arm/mach-uniphier/arm32/debug_ll.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * On-chip UART initializaion for low-level debugging * * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com> */ #include <linux/serial_reg.h> #include <linux/linkage.h> #include "../bcu/bcu-regs.h" #include "../sc-regs.h" #include "../sg-regs.h" #if ...
genetel200/u-boot
3,595
arch/arm/include/asm/arch-mx35/lowlevel_macro.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de> * * (C) Copyright 2008-2010 Freescale Semiconductor, Inc. */ #include <asm/arch/imx-regs.h> #include <generated/asm-offsets.h> #include <asm/macro.h> /* * AIPS setup - Only setup MPROTx registers. * The PACR defa...
genetel200/u-boot
4,327
arch/arm/include/asm/arch-mx6/mx6_plugin.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. */ #include <config.h> #ifdef CONFIG_ROM_UNIFIED_SECTIONS #define ROM_API_TABLE_BASE_ADDR_LEGACY 0x180 #define ROM_VERSION_OFFSET 0x80 #else #define ROM_API_TABLE_BASE_ADDR_LEGACY 0xC0 #define ROM_VERSION_...
genetel200/u-boot
2,770
arch/arm/include/asm/arch-mx7/mx7_plugin.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. */ #include <config.h> #define ROM_API_TABLE_BASE_ADDR_LEGACY 0x180 #define ROM_VERSION_OFFSET 0x80 #define ROM_API_HWCNFG_SETUP_OFFSET 0x08 plugin_start: push {r0-r4, lr} imx7_ddr_setting imx7_cl...
genetel200/u-boot
12,571
arch/arm/mach-omap2/omap3/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Board specific setup info * * (C) Copyright 2008 * Texas Instruments, <www.ti.com> * * Initial Code by: * Richard Woodruff <r-woodruff2@ti.com> * Syed Mohammed Khasim <khasim@ti.com> */ #include <config.h> #include <asm/arch/mem.h> #include <asm/arch/clocks_omap3.h...
genetel200/u-boot
2,909
arch/arm/mach-omap2/omap5/sec_entry_cpu1.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Secure entry function for CPU Core #1 * * (C) Copyright 2016 * Texas Instruments, <www.ti.com> * * Author : * Harinarayan Bhatta <harinarayan@ti.com> */ #include <config.h> #include <asm/arch/omap.h> #include <asm/omap_common.h> #include <linux/linkage.h> .arch_ext...
genetel200/u-boot
3,620
arch/arm/mach-at91/arm920t/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 1999 2000 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl) and * Jan-Derk Bakker (J.D.Bakker@its.tudelft.nl) * * Modified for the at91rm9200dk board by * (C) Copyright 2004 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> */ #include <conf...
genetel200/u-boot
6,439
arch/arm/mach-at91/arm926ejs/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Memory Setup stuff - taken from blob memsetup.S * * Copyright (C) 1999 2000 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl) and * Jan-Derk Bakker (J.D.Bakker@its.tudelft.nl) * * Copyright (C) 2008 Ronetix Ilko Iliev (www.ronetix.at) * Copyright (C) 2009 Jean-Christ...
genetel200/u-boot
1,199
arch/arm/mach-imx/mx7/psci-suspend.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2018 NXP */ #include <config.h> #include <linux/linkage.h> #include <asm/armv7.h> #include <asm/psci.h> .pushsection ._secure.text, "ax" .arch_extension sec .globl v7_invalidate_l1 v7_invalidate_l1: mov r0, #0 mcr p15, 2, r0, c0, c0, 0 mrc p15, 1, r0, c...
genetel200/u-boot
9,285
arch/arm/mach-imx/mx5/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de> * * (C) Copyright 2009 Freescale Semiconductor, Inc. */ #include <config.h> #include <asm/arch/imx-regs.h> #include <generated/asm-offsets.h> #include <linux/linkage.h> .section ".text.init", "x" .macro init_arm_e...
genetel200/u-boot
1,255
arch/arm/mach-imx/imx8m/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2017 NXP */ #include <config.h> .align 8 .global rom_pointer rom_pointer: .space 256 /* * Routine: save_boot_params (called after reset from start.S) */ .global save_boot_params save_boot_params: /* The firmware provided ATAG/FDT address can be found in r...
genetel200/u-boot
4,898
arch/arm/cpu/pxa/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * armboot - Startup Code for XScale CPU-core * * Copyright (C) 1998 Dan Malek <dmalek@jlc.net> * Copyright (C) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se> * Copyright (C) 2000 Wolfgang Denk <wd@denx.de> * Copyright (C) 2001 Alex Zuepke <azu@sysgo.de> * C...
genetel200/u-boot
2,783
arch/arm/cpu/arm1176/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * armboot - Startup Code for ARM1176 CPU-core * * Copyright (c) 2007 Samsung Electronics * * Copyright (C) 2008 * Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de> * * 2007-09-21 - Restructured codes by jsgood (jsgood.yang@samsung.com) * 2007-09-21 - Adde...
genetel200/u-boot
2,428
arch/arm/cpu/arm946es/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * armboot - Startup Code for ARM926EJS CPU-core * * Copyright (c) 2003 Texas Instruments * * ----- Adapted for OMAP1610 OMAP730 from ARM925t code ------ * * Copyright (c) 2001 Marius Gröger <mag@sysgo.de> * Copyright (c) 2002 Alex Züpke <azu@sysgo.de> * Copyrig...
genetel200/u-boot
2,388
arch/arm/cpu/arm920t/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * armboot - Startup Code for ARM920 CPU-core * * Copyright (c) 2001 Marius Gröger <mag@sysgo.de> * Copyright (c) 2002 Alex Züpke <azu@sysgo.de> * Copyright (c) 2002 Gary Jennejohn <garyj@denx.de> */ #include <asm-offsets.h> #include <common.h> #include <config.h> /...
genetel200/u-boot
8,393
arch/arm/cpu/armv8/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2013 * David Feng <fenghua@phytium.com.cn> */ #include <asm-offsets.h> #include <config.h> #include <linux/linkage.h> #include <asm/macro.h> #include <asm/armv8/mmu.h> /************************************************************************* * * Startup...
genetel200/u-boot
1,052
arch/arm/cpu/armv8/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * A lowlevel_init function that sets up the stack to call a C function to * perform further init. */ #include <asm-offsets.h> #include <config.h> #include <linux/linkage.h> ENTRY(lowlevel_init) /* * Setup a temporary stack. Global data is not available yet. */ #if de...
genetel200/u-boot
4,382
arch/arm/cpu/armv8/exceptions.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2013 * David Feng <fenghua@phytium.com.cn> */ #include <asm-offsets.h> #include <config.h> #include <asm/ptrace.h> #include <asm/macro.h> #include <linux/linkage.h> /* * AArch64 exception vectors: * We have four types of exceptions: * - synchronous: tra...
genetel200/u-boot
1,131
arch/arm/cpu/armv8/transition.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2013 * David Feng <fenghua@phytium.com.cn> */ #include <asm-offsets.h> #include <config.h> #include <linux/linkage.h> #include <asm/macro.h> .pushsection .text.armv8_switch_to_el2, "ax" ENTRY(armv8_switch_to_el2) switch_el x6, 1f, 0f, 0f 0: cmp x5, #ES_T...
genetel200/u-boot
1,208
arch/arm/cpu/armv8/smccc-call.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2015, Linaro Limited */ #include <linux/linkage.h> #include <linux/arm-smccc.h> #include <generated/asm-offsets.h> #ifdef CONFIG_EFI_LOADER .section .text.efi_runtime #endif .macro SMCCC instr .cfi_startproc \instr #0 ldr x4, [sp] stp x0, x1, [x4, #ARM...
genetel200/u-boot
8,502
arch/arm/cpu/armv8/psci.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2016 Freescale Semiconductor, Inc. * Author: Hongbo Zhang <hongbo.zhang@nxp.com> * This file implements LS102X platform PSCI SYSTEM-SUSPEND function */ #include <config.h> #include <linux/linkage.h> #include <asm/psci.h> /* Default PSCI function, return -1, N...
genetel200/u-boot
1,430
arch/arm/cpu/armv8/sec_firmware_asm.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2016 NXP Semiconductor, Inc. */ #include <config.h> #include <linux/linkage.h> #include <asm/system.h> #include <asm/macro.h> WEAK(_sec_firmware_entry) /* * x0: Secure Firmware entry point * x1: Exception return address Low * x2: Exception return address...
genetel200/u-boot
6,046
arch/arm/cpu/armv8/cache.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2013 * David Feng <fenghua@phytium.com.cn> * * This file is based on sample code from ARMv8 ARM. */ #include <asm-offsets.h> #include <config.h> #include <asm/macro.h> #include <asm/system.h> #include <linux/linkage.h> /* * void __asm_dcache_level(level...
genetel200/u-boot
1,657
arch/arm/cpu/arm720t/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * armboot - Startup Code for ARM720 CPU-core * * Copyright (c) 2001 Marius Gröger <mag@sysgo.de> * Copyright (c) 2002 Alex Züpke <azu@sysgo.de> */ #include <asm-offsets.h> #include <config.h> /* ***********************************************************************...
genetel200/u-boot
2,432
arch/arm/cpu/arm1136/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * armboot - Startup Code for OMP2420/ARM1136 CPU-core * * Copyright (c) 2004 Texas Instruments <r-woodruff2@ti.com> * * Copyright (c) 2001 Marius Gröger <mag@sysgo.de> * Copyright (c) 2002 Alex Züpke <azu@sysgo.de> * Copyright (c) 2002 Gary Jennejohn <garyj@denx.de...
genetel200/u-boot
5,656
arch/arm/cpu/armv7/nonsec_virt.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * code for switching cores into non-secure state and into HYP mode * * Copyright (c) 2013 Andre Przywara <andre.przywara@linaro.org> */ #include <config.h> #include <linux/linkage.h> #include <asm/gic.h> #include <asm/armv7.h> #include <asm/proc-armv/ptrace.h> .arch_exte...
genetel200/u-boot
10,436
arch/arm/cpu/armv7/start.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * armboot - Startup Code for OMAP3530/ARM Cortex CPU-core * * Copyright (c) 2004 Texas Instruments <r-woodruff2@ti.com> * * Copyright (c) 2001 Marius Gröger <mag@sysgo.de> * Copyright (c) 2002 Alex Züpke <azu@sysgo.de> * Copyright (c) 2002 Gary Jennejohn <garyj@denx.de>...
genetel200/u-boot
1,501
arch/arm/cpu/armv7/lowlevel_init.S
/* SPDX-License-Identifier: GPL-2.0+ */ /* * A lowlevel_init function that sets up the stack to call a C function to * perform further init. * * (C) Copyright 2010 * Texas Instruments, <www.ti.com> * * Author : * Aneesh V <aneesh@ti.com> */ #include <asm-offsets.h> #include <config.h> #include <linux/linkage....
genetel200/u-boot
5,149
arch/arm/cpu/armv7/cache_v7_asm.S
/* SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> #include <linux/linkage.h> #include <linux/sizes.h> #include <asm/system.h> #if CONFIG_IS_ENABLED(SYS_THUMB_BUILD) #define ARM(x...) #define THUMB(x...) x #else #define ARM(x...) x #define THUMB(x...) #endif /* * v7_flush_dcache_all() * * Flush the whole...