Home
last modified time | relevance | path

Searched refs:scr (Results 1 – 25 of 52) sorted by relevance

123

/u-boot/arch/arm/mach-imx/mx6/
A Dmp.c36 src->scr |= cpu_reset_mask[nr]; in cpu_reset()
42 printf("core %d => %d\n", nr, !!(src->scr & cpu_ctrl_mask[nr])); in cpu_status()
67 src->scr |= cpu_ctrl_mask[nr]; in cpu_release()
85 src->scr &= ~cpu_ctrl_mask[nr]; in cpu_disable()
/u-boot/arch/arm/cpu/armv7/sunxi/
A Dpsci.c197 u32 scr; in cp15_read_scr() local
199 asm volatile ("mrc p15, 0, %0, c1, c1, 0" : "=r" (scr)); in cp15_read_scr()
201 return scr; in cp15_read_scr()
204 static void __secure cp15_write_scr(u32 scr) in cp15_write_scr() argument
206 asm volatile ("mcr p15, 0, %0, c1, c1, 0" : : "r" (scr)); in cp15_write_scr()
218 u32 scr, reg, cpu; in psci_fiq_enter() local
221 scr = cp15_read_scr(); in psci_fiq_enter()
222 cp15_write_scr(scr & ~BIT(0)); in psci_fiq_enter()
243 cp15_write_scr(scr); in psci_fiq_enter()
/u-boot/drivers/spi/
A Dpl022_spi.c207 static inline u32 spi_rate(u32 rate, u16 cpsdvsr, u16 scr) in spi_rate() argument
209 return rate / (cpsdvsr * (1 + scr)); in spi_rate()
215 u16 scr = SSP_SCR_MIN, cr0 = 0, cpsr = SSP_CPSR_MIN, best_scr = scr, in pl022_spi_set_speed() local
231 while (scr <= SSP_SCR_MAX) { in pl022_spi_set_speed()
232 tmp = spi_rate(rate, cpsr, scr); in pl022_spi_set_speed()
237 best_scr = scr; in pl022_spi_set_speed()
245 scr++; in pl022_spi_set_speed()
248 scr = SSP_SCR_MIN; in pl022_spi_set_speed()
A Datmel-quadspi.c938 u32 scr, scbr, mask, new_value; in atmel_qspi_set_speed() local
951 scr = atmel_qspi_read(aq, QSPI_SCR); in atmel_qspi_set_speed()
952 if ((scr & mask) == new_value) in atmel_qspi_set_speed()
955 scr = (scr & ~mask) | new_value; in atmel_qspi_set_speed()
956 atmel_qspi_write(scr, aq, QSPI_SCR); in atmel_qspi_set_speed()
964 u32 scr, mask, new_value = 0; in atmel_qspi_set_mode() local
973 scr = atmel_qspi_read(aq, QSPI_SCR); in atmel_qspi_set_mode()
974 if ((scr & mask) == new_value) in atmel_qspi_set_mode()
977 scr = (scr & ~mask) | new_value; in atmel_qspi_set_mode()
978 atmel_qspi_write(scr, aq, QSPI_SCR); in atmel_qspi_set_mode()
/u-boot/board/xilinx/bootscripts/
A Dqspiboot.cmd1 # This is an example file to generate boot.scr - a boot script for U-Boot
4 # Generate boot.scr:
5 # ./tools/mkimage -c none -A arm -T script -d qspiboot.cmd boot.scr
A Dsdboot.cmd1 # This is an example file to generate boot.scr - a boot script for U-Boot
4 # Generate boot.scr:
5 # ./tools/mkimage -c none -A arm -T script -d sdboot.cmd boot.scr
/u-boot/test/
A Dnokia_rx51_test.sh199 … -A arm -O linux -T script -C none -a 0 -e 0 -n bootmenu_uboot -d bootmenu_uboot bootmenu_uboot.scr
208 …age -A arm -O linux -T script -C none -a 0 -e 0 -n bootmenu_emmc -d bootmenu_emmc bootmenu_emmc.scr
217 … -A arm -O linux -T script -C none -a 0 -e 0 -n bootmenu_emmc2 -d bootmenu_emmc2 bootmenu_emmc2.scr
226 …age -A arm -O linux -T script -C none -a 0 -e 0 -n bootmenu_nand -d bootmenu_nand bootmenu_nand.scr
235 …kimage -A arm -O linux -T script -C none -a 0 -e 0 -n bootmenu_ubi -d bootmenu_ubi bootmenu_ubi.scr
255 mcopy bootmenu_uboot.scr ::/bootmenu.scr -i emmc_uboot.img
261 mcopy bootmenu_emmc.scr ::/bootmenu.scr -i emmc_emmc.img
267 mcopy bootmenu_emmc2.scr ::/bootmenu.scr -i emmc_emmc2.img
272 mcopy bootmenu_nand.scr ::/bootmenu.scr -i emmc_nand.img
277 mcopy bootmenu_ubi.scr ::/bootmenu.scr -i emmc_ubi.img
[all …]
/u-boot/board/BuR/common/
A Dbr_resetc.c112 u8 regb, scr; in br_resetc_bmode() local
128 rc = dm_i2c_read(resetc.i2cdev, RSTCTRL_SCRATCHREG0, &scr, 1); in br_resetc_bmode()
179 } else if ((regb & 0x1) || scr == 0xCC) { in br_resetc_bmode()
/u-boot/board/synopsys/hsdk/
A Dconfig.mk16 $(srctree)/u-boot-update.scr &> /dev/null
30 $(srctree)/u-boot-update.scr &> /dev/null
A DREADME81 This will produce `u-boot.head` and `u-boot-update.scr` which should
111 1. Create `u-boot.head` and `u-boot-update.scr` as discribed above with
114 2. Copy `u-boot.head` and `u-boot-update.scr` to the first FAT partition
124 mmc rescan && fatload mmc 0:1 ${loadaddr} u-boot-update.scr && source ${loadaddr}
/u-boot/board/k+p/bootscripts/
A Dtpcboot.cmd5 # This is an example file to generate boot.scr - a boot script for U-Boot
6 # Generate boot.scr:
7 # ./tools/mkimage -c none -A arm -T script -d tpcboot.cmd boot.scr
/u-boot/arch/arm/mach-imx/imx9/
A Dsoc.c641 u32 scr, val; in mix_power_init() local
647 scr = BIT(5); in mix_power_init()
658 scr = BIT(4); in mix_power_init()
663 scr = BIT(6); in mix_power_init()
680 setbits_le32(&global_regs->scr, scr); in mix_power_init()
759 setbits_le32(&global_regs->scr, BIT(0)); in m33_prepare()
/u-boot/arch/arm/mach-imx/
A Dinit.c98 val = readl(&src_regs->scr); in init_src()
100 writel(val, &src_regs->scr); in init_src()
/u-boot/arch/arm/include/asm/arch-rockchip/
A Duart.h16 unsigned int scr; member
/u-boot/board/samsung/common/bootscripts/
A Dautoboot.cmd1 # This is an example file to generate boot.scr - a boot script for U-Boot
2 # Generate boot.scr:
3 # ./tools/mkimage -c none -A arm -T script -d autoboot.cmd boot.scr
/u-boot/doc/develop/
A Ddistro.rst198 specific boot.scr scripts are enabled. This enables distros to generate a
199 U-Boot-specific boot.scr script rather than extlinux.conf as the boot
201 CONFIG_DISTRO_DEFAULTS exposes enough parameterization to boot.scr to
202 allow for board-agnostic boot.scr content, this document recommends that
204 to work across multiple bootloaders, whereas boot.scr will only work with
205 U-Boot. TODO: document the contract between U-Boot and boot.scr re: which
206 environment variables a generic boot.scr may rely upon.
293 location in RAM where boot.scr will be loaded to prior to execution.
349 searched for boot configuration files (extlinux.conf, boot.scr).
357 The name of U-Boot style boot.scr files that $bootcmd searches for.
[all …]
/u-boot/arch/arm/include/asm/
A Darmv7m.h31 uint32_t scr; /* offset 0x10: System Control Register */ member
/u-boot/doc/SPL/
A DREADME.am335x-network24 "if tftp 80000000 debrick.scr; then " \
86 $ ./tools/mkimage -A arm -O U-Boot -C none -T script -d <your script> debrick.scr
88 This will create debrick.scr file with your script inside.
90 3. Copy debrick.scr to TFTP root directory. You also need to copy
/u-boot/tools/binman/test/
A D240_fit_extract_replace.dts45 scr-1 {
/u-boot/doc/usage/cmd/
A Dloads.rst35 $ mkimage -T script -d script.txt script.scr
44 $ srec_cat script.scr -binary -CRLF -Output script.srec
A Dsource.rst158 The boot scripts (boot.scr) is created with:
162 mkimage -T script -n 'Test script' -d boot.txt boot.scr
168 => load host 0:1 $loadaddr boot.scr
/u-boot/board/lego/ev3/
A DREADME19 * If it is, try to load boot.scr from the first FAT partition
20 * If loading boot.scr was successful, run it
/u-boot/drivers/mmc/
A Dsandbox_mmc.c119 u32 *scr = (u32 *)data->dest; in sandbox_mmc_send_cmd() local
121 scr[0] = cpu_to_be32(2 << 24 | 1 << 15); /* SD version 3 */ in sandbox_mmc_send_cmd()
/u-boot/board/gateworks/venice/
A Dvenice.env6 script=boot.scr
/u-boot/board/advantech/imx8qm_dmsse20_a1/
A Dimx8qm_dmsse20-a1.env1 script=boot.scr

Completed in 51 milliseconds

123