9
0
Fork 0
barebox/include
Sascha Hauer 4a7534bf07 reset-source: Allow different priorities
Different devices may report the reset source with different levels
of certainty. For example a SoC may see a power-on reset, but this
may only be because an external PMIC has power cycled the SoC. This
means the PMIC knows the real reason better and thus the reset reason
from the PMIC should be preferred.

This patch introduces priorities for the reset_source to handle the
above scenario. Also add a of_get_reset_source_priority() function
to retrieve the desired priority from the device tree.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-08-28 07:18:14 +02:00
..
asm-generic exitcall: Add exitcall infrastructure 2015-07-13 08:28:19 +02:00
cramfs Change byte order detection mechanism to kernel style 2012-06-28 13:49:16 +02:00
crypto crypto: sha1: switch to linux implementation 2015-03-27 07:49:45 +01:00
dma dma: apbh: remove CONFIG_ARCH_DMA_PIO_WORDS 2013-07-23 16:25:13 +02:00
dt-bindings Merge branch 'for-next/tegra' 2014-05-05 13:34:21 +02:00
gui graphics_utils: Let fb_open allocate the screen 2015-07-20 07:11:21 +02:00
i2c i2c: import SMBus stuff from linux 2014-07-14 08:04:04 +02:00
input input: Add keycode to barebox key translation table 2014-02-17 08:23:41 +01:00
linux Merge branch 'for-next/net' 2015-08-06 12:33:15 +02:00
mfd pci: Add i.MX6 pcie support 2015-03-17 07:36:00 +01:00
mtd UBI: reimport UBI from Linux v3.10 2013-07-25 10:24:16 +02:00
net net: smc1111: add a quirk for pxa pxa27x platforms 2015-04-13 09:24:00 +02:00
platform_data mtd: spi-nor: add cadence quadspi driver 2015-05-29 09:08:49 +02:00
serial Merge branch 'for-next/vincell' 2015-08-07 07:54:46 +02:00
spi spi: i.MX: move register defines to include/ 2015-07-16 09:46:02 +02:00
usb usb: increase USB_CNTL_TIMEOUT to match linux 2015-05-04 09:23:08 +02:00
video video: Add Video Pipeline (VPL) support 2015-07-13 08:38:19 +02:00
.gitignore gitignore: only ignore include/config.h 2015-03-12 08:18:26 +01:00
abort.h Limit data_abort_mask to !PBL 2015-07-29 10:22:05 +02:00
aimage.h arm: add Android boot image support 2012-04-13 12:08:42 +02:00
ata_drive.h x86: Add support for IDE on the legacy I/O ports 2014-04-08 08:17:55 +02:00
bbu.h Merge branch 'for-next/imx-bbu-nand-fcb' 2015-07-03 08:37:36 +02:00
binfmt.h Introduce binfmt support 2012-04-18 20:14:12 +08:00
block.h block: Add flush callback 2014-07-14 08:01:11 +02:00
blspec.h blspec: Add missing prototype for blspec_scan_device 2015-06-17 11:39:46 +02:00
boot.h bootm: introduce bootm_load_devicetree helper 2014-01-14 12:36:06 +01:00
bootsource.h bootsource: Add NET bootsource 2015-05-27 08:56:07 +02:00
bootstrap.h bootstrap: Add missing include 2013-09-26 12:29:53 +02:00
bpkfs.h fs: bpkfs: add missing include 2013-10-21 09:13:51 +02:00
bunzip2.h use kernel bunzip implementation 2011-11-29 21:12:27 +01:00
byteorder.h net: provide alternatives to {ntoh, hton}[sl] funtions with cleaner semantics 2014-02-10 09:02:20 +01:00
cache.h remove strange flush_cache functions 2010-10-21 22:21:25 +02:00
clock.h clock: Add a variable with the first timestamp after startup 2014-09-30 10:44:15 +02:00
cmdlinepart.h cmdlinepart: add function to parse a cmdline partition string 2015-02-12 09:33:43 +01:00
command.h command: allow runtime usage 2015-03-19 07:46:22 +01:00
common.h restart: replace reset_cpu with registered restart handlers 2015-08-27 21:37:03 +02:00
complete.h complete: Add devicetree completion 2014-05-19 22:23:56 +02:00
console.h PBL: console: Make independent of DEBUG_LL 2015-07-31 08:49:42 +02:00
console_countdown.h timeout: factor out wait-for-key-press loop into separate file 2015-04-23 08:12:28 +02:00
crc.h crc16: Make buffer argument const 2015-06-08 13:47:54 +02:00
crc7.h crypto: Add crc7 function 2011-11-25 12:37:25 +01:00
ddr_spd.h ddr_spd: add routine for printing DDR2 SPD contents in human-readable format 2015-07-14 07:09:19 +02:00
debug_ll.h debug_ll: change the argument type of putc_ll() 2015-01-21 14:57:05 +01:00
dhcp.h net: dhcp: Split dhcp funcionality & add dhcp command 2015-06-05 13:32:39 +02:00
digest.h crypto: digest: provide static inline no-ops if digest is disabled 2015-06-17 07:58:10 +02:00
disks.h DISK: Add common partition handling for disk like media 2011-11-28 09:23:24 +01:00
dm9000.h dm9000: introduce add_dm9000_device to register dm9000 device 2011-07-29 14:04:24 +08:00
dma-dir.h dma: add streaming DMA ops 2015-03-06 07:51:51 +01:00
dma.h ARM: move DMA alloc functions to dma.h 2015-03-06 07:52:02 +01:00
driver.h exitcall: move device_shutdown to exitcall infrastructure 2015-07-13 08:28:19 +02:00
efi.h efi: use an EFI variable to save the environment 2015-07-27 07:23:20 +02:00
elf.h replace elf.h with the one from the linux kernel. It does not have powerpc 2007-09-28 19:59:12 +02:00
envfs.h envfs: include errno.h 2014-11-26 19:21:09 +01:00
environment.h include/environment.h: Add missing include 2014-10-22 15:57:08 +02:00
errno.h add strerror function 2009-05-25 16:52:35 +02:00
fb.h Merge branch 'for-next/vpl' 2015-08-07 07:55:00 +02:00
fcntl.h fs: Add O_RWSIZE_8 2015-05-28 12:29:49 +02:00
fdt.h include: add includes includes to make fdt.h, of.h and state.h self contained 2015-04-17 07:31:35 +02:00
fec.h net: fec: use standard phy type defines 2013-03-09 20:09:23 +01:00
file-list.h Add function to parse a string in dfu format 2014-07-22 08:11:08 +02:00
filetype.h filetype: Add filetype for MXS bootstream 2015-06-12 08:28:04 +02:00
firmware.h Add a Firmware programming framework 2014-09-09 10:30:25 +02:00
fnmatch.h add globbing support 2008-03-09 22:35:38 +01:00
fs.h fs: Add device parameter for Linux root= option 2015-06-18 09:01:01 +02:00
getopt.h getopt: change optstring to const char* 2013-02-11 20:57:34 +01:00
glob.h hardcode _FILE_OFFSET_BITS to 32 2008-06-03 13:34:45 +02:00
globalvar.h param_enum: Make name strings const 2015-08-26 12:52:12 +02:00
gpio.h gpio: move gpio_is_valid to include/gpio.h 2014-11-28 15:21:27 +01:00
gpio_keys.h input: gpio-keys: separate internal data from platform_data 2014-02-17 08:23:41 +01:00
gunzip.h decompress_inflate.c: fix "no previous prototype for 'gunzip'" warning 2012-01-02 12:33:52 +01:00
habv4.h habv4: habv4_get_status(): fix warning with no-op static inline function 2015-05-26 14:21:48 +02:00
image-metadata.h Add support for metadata in barebox images 2014-08-07 06:13:52 +02:00
image.h don't cast negative error codes to unsigned size_t 2014-04-23 09:21:17 +02:00
init.h exitcall: Add exitcall infrastructure 2015-07-13 08:28:19 +02:00
io.h Abolish cpu_read* and cpu_write* accessors 2015-05-20 08:05:44 +02:00
ioctl.h add basic at91sam9260 support. Currently only second stage 2008-06-06 09:30:32 +02:00
jtag.h Add JTAG bitbang driver 2012-08-13 21:38:50 +02:00
kallsyms.h kallsyms/printk: enable symbol printing support (%pS) 2011-03-10 14:50:16 +01:00
kfifo.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
kgdb.h Initial revision 2002-08-27 10:38:37 +00:00
led.h led: Fix led_gpio_rgb_unregister prototype 2015-04-20 07:00:21 +02:00
libbb.h move file helper functions to separate file 2014-08-07 06:13:51 +02:00
libfile.h libfile: Add copy_recursive 2014-11-06 10:58:55 +01:00
libgen.h move dirname() and basename() to lib/libgen.c and add header file 2007-09-24 16:57:12 +02:00
local_mac_address.h introduce helper to generate mac address with OUI 2013-09-22 20:27:12 +02:00
lzo.h lzo: update to lzo-2013 2013-09-22 16:48:46 +02:00
magicvar.h magicvar: Add magicvar macro with additional name argument 2012-05-15 09:05:51 +02:00
malloc.h malloc: Add a function to detect if malloc pool is already initialized 2015-01-05 11:30:59 +01:00
math.h commands: add let command which supports proper arithmetic 2013-01-09 10:32:54 +01:00
matrix_keypad.h input: Add i.MX matrix keypad driver 2012-07-17 20:45:47 +02:00
mci.h mci: implement non-removable property 2014-06-04 07:21:17 +02:00
memory.h memory: return error in barebox_add_memory_bank 2012-10-08 00:33:21 +02:00
memtest.h common: add memtest.c with mem_test routine 2013-06-05 22:54:35 +02:00
menu.h add menutree command 2014-03-28 09:37:09 +01:00
module.h module: move EXPORT_SYMBOL_GPL define to module.h 2010-08-30 14:36:09 +02:00
nand.h mtd: nand: remove automatically created bb devices 2015-02-12 09:33:43 +01:00
net.h net_udp_bind(): use uint16_t type for source port 2015-07-20 07:46:54 +02:00
notifier.h lib: fix whitespace, drop blank lines at EOF 2014-01-06 09:24:22 +01:00
ns16550.h serial: ns16550: Remove unused fields from NS16550_plat structure 2014-11-03 13:26:11 +01:00
of.h of: base: implement of_get_next_child 2015-07-13 08:38:18 +02:00
of_address.h of: import pci range parser from linux 2014-10-08 08:39:01 +02:00
of_gpio.h i2c: i2c_gpio: add devicetree support 2014-06-25 08:34:48 +02:00
of_graph.h of_graph: add of_graph_port_is_available 2015-07-13 08:38:18 +02:00
of_mtd.h of: add mtd of helpers 2013-07-16 08:46:30 +02:00
of_net.h of/net: Add net related of helpers 2013-04-04 23:23:41 +02:00
of_pci.h of: pci: import of_pci_get_devfn() 2014-07-31 07:29:22 +02:00
param.h param_enum: Make name strings const 2015-08-26 12:52:12 +02:00
part.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
partition.h treewide include/: Add missing includes 2013-05-31 08:32:59 +02:00
password.h login/passwd: add default password support 2013-09-19 08:49:51 +02:00
pbl.h pbl: factorise decompressor 2013-01-30 22:32:13 +01:00
pinctrl.h pinctrl: Add functions to select pinctrl from device_node 2013-11-27 10:42:53 +01:00
platform_ide.h Add driver for IDE like interfaces 2011-11-28 09:23:24 +01:00
poller.h poller: Allow to call functions asynchronously 2013-12-18 16:47:48 +01:00
printk.h Add PBL console support 2015-01-05 11:30:59 +01:00
progress.h add progression bar function 2010-06-28 10:43:55 +02:00
pwm.h PWM: Allow multiple PWMs per device node 2015-06-12 12:00:41 +02:00
qsort.h qsort: declare strcmp_compar publically 2012-06-30 22:34:54 +02:00
readkey.h input: Add BB_ prefix to KEY_ defines 2014-02-17 08:23:37 +01:00
regulator.h regulator: Add support for regulator-boot-on device tree property 2015-07-15 07:52:25 +02:00
reset_source.h reset-source: Allow different priorities 2015-08-28 07:18:14 +02:00
restart.h restart: replace reset_cpu with registered restart handlers 2015-08-27 21:37:03 +02:00
rtc.h Add a simple rtc framework 2014-07-31 07:30:51 +02:00
s_record.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
scsi.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
shell.h process_escape_sequence: add support to \$? 2013-09-18 09:17:13 +02:00
smc911x.h net smc911x: add support for external PHY 2012-11-12 08:29:48 +01:00
state.h state: backend: support phandle and of_path references 2015-05-15 07:03:49 +02:00
stdio.h Add PBL console support 2015-01-05 11:30:59 +01:00
stdlib.h stdlib.h: include missed types.h 2014-05-07 08:23:08 +02:00
stmp-device.h ARM: MXS: introduce stmp device support 2013-07-23 16:25:13 +02:00
string.h string: Add (x)memdup 2013-11-27 10:42:54 +01:00
stringlist.h stringlist: the string argument should be const 2014-12-04 08:24:05 +01:00
tlsf.h drop <stddef.h> includes 2015-07-23 16:46:04 +02:00
twl6030_pwrbtn.h twl6030: add power button as an input key 2013-03-25 10:21:20 +01:00
types.h add __[lb]e types 2009-04-06 11:12:54 +02:00
uimagefs.h fs: add uimagefs 2013-09-27 10:39:56 +02:00
uncompress.h Add generic uncompress function 2011-11-29 21:12:42 +01:00
usb_dfu_trailer.h rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
w1_mac_address.h w1: introduce helper to generate mac address from 1-wire id 2012-11-15 20:20:28 +01:00
watchdog.h watchdog: Give watchdogs a name 2015-08-27 21:37:07 +02:00
wchar.h lib: add wchar strdup 2014-12-09 09:59:10 +01:00
xfuncs.h xfuncs: add wrapper for wchar strdup functions 2015-07-23 16:46:14 +02:00
xymodem.h commands: change Y-Modem implementation 2012-11-12 09:35:53 +01:00