u-boot-brain/arch/arm/mach-rockchip
Masahiro Yamada 9b643e312d treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

  # define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux.  (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// <smpl>
@@@@
-error
+pr_err
 (...)
// </smpl>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini <trini@konsulko.com>
2017-10-04 11:59:44 -04:00
..
rk322x rockchip: rk322x: add basic soc support 2017-07-11 12:13:46 +02:00
rk3036 rockchip: rk3036: sync os_reg2 define with other soc 2017-07-11 12:13:48 +02:00
rk3188 rockchip: rk3188: move sdram driver to driver/ram 2017-10-01 00:33:31 +02:00
rk3288 rk3288: vyasa: Add TPL support 2017-10-01 00:33:33 +02:00
rk3328 rockchip: rk3328: move sdram driver to driver/ram 2017-10-01 00:33:31 +02:00
rk3368 rockchip: rk3368: spl: move SPL_LDSCRIPT to Kconfig 2017-08-13 17:15:08 +02:00
rk3399 rockchip: rk3399: move sdram driver to driver/ram 2017-10-01 00:33:31 +02:00
rv1108 rockchip: Add basic support for evb-rv1108 board 2017-06-07 07:29:25 -06:00
bootrom.c rockchip: back-to-bootrom: simplify the #ifdef-check for LIBCOMMON in TPL/SPL 2017-08-13 17:12:19 +02:00
Kconfig moveconfig: migrate TPL_STACK, TPL_TEXT_BASE and TPL_MAX_SIZE 2017-08-13 17:12:35 +02:00
Makefile rk3288: vyasa: Add TPL support 2017-10-01 00:33:33 +02:00
rk_timer.c rockchip: timer: make register sizes explicit 2017-07-27 14:59:00 +02:00
rk322x-board-spl.c rockchip: rk322x: set the DDR region as non-secure in SPL 2017-08-13 17:15:08 +02:00
rk322x-board.c rockchip: rk322x: update the sysreg number for boot mode 2017-10-01 00:33:34 +02:00
rk3036-board-spl.c rockchip: enable SPL_LIBGENERIC for rk3036 based boards 2017-07-27 14:59:04 +02:00
rk3036-board.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
rk3188-board-spl.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
rk3188-board-tpl.c rockchip: rk3188: Cleanup some SPL/TPL rename leftovers 2017-04-04 20:01:57 -06:00
rk3188-board.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
rk3288-board-spl.c rk3288: spl: Add dram_init_banksize 2017-10-01 00:33:35 +02:00
rk3288-board-tpl.c rk3288: vyasa: Add TPL support 2017-10-01 00:33:33 +02:00
rk3288-board.c rockchip: rk3288: Add reset reason detection 2017-09-05 11:04:35 +02:00
rk3368-board-spl.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
rk3368-board-tpl.c rockchip: rk3368: remove setup of secure timer from TPL/SPL 2017-08-13 17:12:36 +02:00
rk3399-board-spl.c rockchip: spl: rk3399: implement chip-specific board_spl_was_booted_from() 2017-10-01 00:33:34 +02:00
save_boot_param.S rockchip: back-to-bootrom: add 'back-to-bootrom' support for AArch64 2017-08-13 17:12:19 +02:00
sdram_common.c rockchip: add sdram_common for common functions 2017-07-11 12:13:44 +02:00
spl-boot-order.c rockchip: spl: support a 'same-as-spl'-specifier in the spl-boot-order 2017-10-01 00:33:34 +02:00