Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 60) sorted by relevance

123

/u-boot/arch/arm/mach-rockchip/
A Dcpu-info.c19 char *cause = NULL; in get_reset_cause() local
22 return cause; in get_reset_cause()
26 cause = "POR"; in get_reset_cause()
30 cause = "RST"; in get_reset_cause()
34 cause = "THERMAL"; in get_reset_cause()
38 cause = "WDOG"; in get_reset_cause()
41 cause = "unknown reset"; in get_reset_cause()
44 return cause; in get_reset_cause()
50 char *cause = get_reset_cause(); in print_cpuinfo() local
53 printf("Reset cause: %s\n", cause); in print_cpuinfo()
[all …]
/u-boot/arch/arm/cpu/armv7/vf610/
A Dgeneric.c290 u32 cause; in get_reset_cause() local
293 cause = readl(&src_regs->srsr); in get_reset_cause()
294 writel(cause, &src_regs->srsr); in get_reset_cause()
296 if (cause & SRC_SRSR_POR_RST) in get_reset_cause()
298 else if (cause & SRC_SRSR_WDOG_A5) in get_reset_cause()
300 else if (cause & SRC_SRSR_WDOG_M4) in get_reset_cause()
302 else if (cause & SRC_SRSR_JTAG_RST) in get_reset_cause()
304 else if (cause & SRC_SRSR_SW_RST) in get_reset_cause()
306 else if (cause & SRC_SRSR_RESETB) in get_reset_cause()
/u-boot/arch/arm/mach-imx/mx7ulp/
A Dsoc.c217 char cause[18]; in print_cpuinfo() local
226 printf("Reset cause: %s\n", get_reset_cause(cause)); in print_cpuinfo()
270 u32 cause1, cause = 0, srs = 0; in get_reset_cause() local
283 cause = cause1 & (CMC_SRS_POR | CMC_SRS_WUP | CMC_SRS_WARM); in get_reset_cause()
285 switch (cause) { in get_reset_cause()
293 cause = cause1 & (CMC_SRS_WDG | CMC_SRS_SW | in get_reset_cause()
295 switch (cause) { in get_reset_cause()
/u-boot/arch/riscv/lib/
A Dinterrupts.c112 ulong handle_trap(ulong cause, ulong epc, ulong tval, struct pt_regs *regs) in handle_trap() argument
119 is_irq = (cause & MCAUSE_INT); in handle_trap()
120 irq = (cause & ~MCAUSE_INT); in handle_trap()
133 _exit_trap(cause, epc, tval, regs); in handle_trap()
137 _exit_trap(cause, epc, tval, regs); in handle_trap()
/u-boot/arch/arm/cpu/arm926ejs/mx25/
A Dgeneric.c191 u32 cause = readl(&ccm->rcsr) & 0x0f; in get_reset_cause() local
193 if (cause == 0) in get_reset_cause()
195 else if (cause == 1) in get_reset_cause()
197 else if ((cause & 2) == 2) in get_reset_cause()
199 else if ((cause & 4) == 4) in get_reset_cause()
201 else if ((cause & 8) == 8) in get_reset_cause()
/u-boot/board/ge/mx53ppd/
A Dmx53ppd.c208 const char *cause; in misc_init_r() local
214 cause = "WDOG"; in misc_init_r()
216 cause = "POR"; in misc_init_r()
218 env_set("bootcause", cause); in misc_init_r()
/u-boot/arch/mips/lib/
A Dtraps.c31 unsigned int cause = regs->cp0_cause; in show_regs() local
66 exccode = (cause & CAUSEF_EXCCODE) >> CAUSEB_EXCCODE; in show_regs()
67 printf("Cause : %08x (ExcCode %02x)\n", cause, exccode); in show_regs()
/u-boot/doc/
A DREADME.unaligned-memory-access.txt9 unaligned accesses, why you need to write code that doesn't cause them,
67 platforms and will cause performance problems on others.
70 Code that does not cause unaligned access
89 not be unreasonable to expect that accessing field2 would cause an unaligned
105 will never cause an unaligned access, because all memory addresses are evenly
133 the memory access in a way that does not cause unaligned access. Of course,
134 the extra instructions obviously cause a loss in performance compared to the
143 that can cause an unaligned memory access. The following function taken
177 Here is another example of some code that could cause unaligned accesses:
185 This code will cause unaligned accesses every time the data parameter points
A DREADME.memory-test1 The most frequent cause of problems when porting U-Boot to new
38 will happily "test" all such areas, which of course will cause
84 compile a Linux kernel on the system) - this will cause enough context
/u-boot/arch/arm/cpu/arm1136/mx31/
A Dgeneric.c189 u32 cause = readl(&ccm->rcsr) & 0x07; in get_reset_cause() local
191 switch (cause) { in get_reset_cause()
/u-boot/board/ge/b1x5v2/
A Db1x5v2.c551 const char *cause; in init_bootcause() local
557 cause = "WDOG"; in init_bootcause()
559 cause = "POR"; in init_bootcause()
561 env_set("bootcause", cause); in init_bootcause()
/u-boot/arch/arm/dts/
A Drk3288-vyasa-u-boot.dtsi16 /* Add a dummy value to cause of-platdata think this is bytes */
A Drk3288-firefly.dts31 /* Add a dummy value to cause of-platdata think this is bytes */
/u-boot/drivers/ddr/marvell/a38x/
A Dxor_regs.h100 #define XEICR_CAUSE_MASK(chan, cause) (1 << (cause + XEICR_CAUSE_OFFS(chan))) argument
/u-boot/board/ge/bx50v3/
A Dbx50v3.c461 const char *cause = "POR"; in detect_boot_cause() local
465 cause = "PM_WDOG"; in detect_boot_cause()
467 env_set("bootcause", cause); in detect_boot_cause()
/u-boot/arch/arm/cpu/armv8/s32v234/
A Dgeneric.c297 u32 cause = readl(MC_RGM_BASE_ADDR + 0x300); in get_reset_cause() local
299 switch (cause) { in get_reset_cause()
/u-boot/board/bosch/shc/
A Dboard.c494 static void hang_bosch(const char *cause, int code) in hang_bosch() argument
505 puts(cause); in hang_bosch()
/u-boot/doc/device-tree-bindings/pci/
A Dx86-pci.txt19 the UART from working until the driver is re-probed, and this can cause
/u-boot/fs/jffs2/
A DLICENCE23 files, these files do not by themselves cause the resulting work to be
/u-boot/doc/board/toradex/
A Dverdin-imx8mm.rst88 Reset cause: POR
/u-boot/arch/riscv/cpu/
A Dmtrap.S65 csrr a0, MODE_PREFIX(cause)
/u-boot/Licenses/
A DeCos-2.0.txt27 file does not by itself cause the resulting work to be covered by the
/u-boot/arch/arm/cpu/arm1136/mx35/
A Dgeneric.c409 u32 cause = readl(&ccm->rcsr) & 0x0F; in get_reset_cause() local
411 switch (cause) { in get_reset_cause()
/u-boot/doc/board/intel/
A Dcrownbay.rst24 Note the FSP release version 001 has a bug which could cause random endless
/u-boot/scripts/coccinelle/iterators/
A Duse_after_iter.cocci7 //#may also cause a report to be a false positive.

Completed in 21 milliseconds

123