barebox/common
Harald Welte 2b480855e6 Print error message if of_state_fixup() fails
If of_state_fixup() fails for some reason, boot/bootm will fail, too

However, it is completely unclear where the error has happened, and to
the user it rather seems like the kernel device tree loaded from some
file was broken/corrupt, not that in fact some fixup routine was
failing.

Adding a meaningful error message can help debugging significantly.

Signed-off-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-02-18 12:57:44 +01:00
..
partitions partitions/efi: Add partuuid to partition description 2016-01-08 08:30:55 +01:00
.gitignore update .gitignore files for linker scripts 2009-01-21 23:28:14 +01:00
bbu.c bbu: Add a standard file-to-device-copy handler 2015-07-01 09:04:22 +02:00
binfmt.c command: Let builtin command take precedence 2013-09-24 09:03:18 +02:00
block.c block: Add flush callback 2014-07-14 08:01:11 +02:00
blspec.c introduce strerrorp 2015-09-23 17:12:44 +02:00
bootargs.c common/bootargs: add blkdevparts variables 2015-02-17 08:46:36 +01:00
bootm.c bootm: Fix resource_size_t format specifier 2016-02-11 11:25:32 +01:00
bootsource.c bootsource: Add NET bootsource 2015-05-27 08:56:07 +02:00
clock.c common: clock: introduce mdelay_non_interruptible() 2015-10-02 07:50:51 +02:00
command.c common/command.c: Replace magic number with appropriate constant 2015-10-15 08:56:21 +02:00
complete.c completion: fix device parameter completion 2015-08-07 09:20:39 +02:00
console.c barebox remote control 2016-01-18 09:25:09 +01:00
console_common.c console: use int rather than uint in printf() and friends 2015-09-07 07:24:32 +02:00
console_countdown.c timeout: factor out wait-for-key-press loop into separate file 2015-04-23 08:12:28 +02:00
console_simple.c login: rework login mechanism 2015-08-28 08:00:27 +02:00
date.c hwclock command: use format like the Linux tool does 2016-01-07 08:45:12 +01:00
ddr_spd.c ddr_spd: add routine for printing DDR2 SPD contents in human-readable format 2015-07-14 07:09:19 +02:00
dlmalloc.c dlmalloc: remove unused functions 2014-07-09 07:38:12 +02:00
dummy_malloc.c dummy malloc: Add licence header 2013-03-08 08:47:51 +01:00
efi-devicepath.c efi: add helper to get the GPT partition UUID for a device 2015-07-27 07:23:17 +02:00
efi-guid.c efi: use an EFI variable to save the environment 2015-07-27 07:23:20 +02:00
env.c setenv: Be more informative when device parameter setting fails 2015-05-04 09:27:35 +02:00
environment.c environment: allow saving of symbolic link changes 2015-12-17 10:48:18 +01:00
file-list.c Add function to parse a string in dfu format 2014-07-22 08:11:08 +02:00
filetype.c common: filetype: do not redetect MBR-type devices as a FAT-type 2015-11-23 08:24:56 +01:00
firmware.c common: firmware: include libfile 2014-11-24 14:04:08 +01:00
globalvar.c globalvar: Add support for printing all global variables 2014-11-06 12:23:12 +01:00
hush.c hush: fix indentation 2016-01-11 13:31:57 +01:00
image-fit.c bootm: add initial FIT support 2016-01-26 22:45:42 +01:00
image.c Merge branch 'for-next/remove-fsf-address' 2012-10-03 21:12:48 +02:00
imd-barebox.c Add support for metadata in barebox images 2014-08-07 06:13:52 +02:00
imd.c imd: provide dummy imd_command_setenv 2015-02-12 10:58:08 +01:00
imx-bbu-nand-fcb.c imx-bbu-nand-fcb: Split space for firmware in two equal regions 2015-06-12 08:29:48 +02:00
kallsyms.c treewide: fix 'new blank line at EOF' formatting error 2015-07-02 09:39:58 +02:00
Kconfig ratp-console: select CRC16 and POLLER, depend on CONSOLE_FULL 2016-02-11 13:56:00 +01:00
Makefile Merge branch 'for-next/ratp' 2016-02-08 08:27:01 +01:00
meminfo.c Merge branch 'for-next/pr_print' 2013-04-04 14:20:33 +02:00
memory.c malloc: Add a function to detect if malloc pool is already initialized 2015-01-05 11:30:59 +01:00
memory_display.c memory_display: Add 64bit support 2015-05-28 12:29:49 +02:00
memsize.c Add warning above get_ram_size 2013-02-13 18:14:38 +01:00
memtest.c Revert "memtest: move error handling to end of function" 2015-12-04 08:01:59 +01:00
menu.c Merge branch 'for-next/nfs' 2014-03-07 09:25:44 +01:00
menutree.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
misc.c ARM: Remove do_execute and thumb2_execute 2015-12-07 10:44:45 +01:00
module.c module: remove duplicate ALIGN and __ALIGN_MASK definition 2013-06-21 08:08:37 +02:00
module.lds.S Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
oftree.c of_fix_tree: do not fail when fixup fails 2015-09-24 08:00:39 +02:00
parser.c common/parser.c: Do not treat zero return code as error 2015-10-15 08:56:21 +02:00
partitions.c partition: Create links with partition names 2016-01-08 08:30:55 +01:00
password.c login: make some locally used functions static 2015-11-02 07:59:13 +01:00
poller.c poller: Fix async poller 2016-01-13 15:55:23 +01:00
ratp.c barebox remote control 2016-01-18 09:25:09 +01:00
reset_source.c reset-source: Add some debugging aids 2015-08-28 08:35:51 +02:00
resource.c resource: Let request_ioport_region return an error pointer 2014-09-16 08:32:10 +02:00
restart.c restart: replace reset_cpu with registered restart handlers 2015-08-27 21:37:03 +02:00
s_record.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
startup.c fs: Add pstore filesystem 2015-12-10 08:49:52 +01:00
state.c Print error message if of_state_fixup() fails 2016-02-18 12:57:44 +01:00
tlsf.c drop <stddef.h> includes 2015-07-23 16:46:04 +02:00
tlsf_malloc.c meminfo: purely cosmetical changes 2014-06-02 09:07:12 +02:00
tlsfbits.h tlsf malloc: enable 64bit support on 64bit architectures 2015-05-22 09:40:31 +02:00
uimage.c Convert users of PRINTF_CONVERSION_RESOURCE to %pa 2016-01-15 15:33:59 +01:00
version.c startup: Don't print multiple lines with pr_info 2014-09-30 10:44:16 +02:00