rv1126-uboot/arch/arm/mach-omap2
Masahiro Yamada 90aa625c9a 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>

Change-Id: I921807c1770d36a91e692c48ab477558bb2ed0b8
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>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 9b643e312d528f291966c1f30b0d90bf3b1d43dc)
2018-01-17 15:27:28 +08:00
..
am33xx treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
omap3 Convert CONFIG_SPL_OMAP3_ID_NAND to Kconfig 2017-09-01 20:45:26 -04:00
omap4 omap4: Migrate to using imply 2017-03-09 19:52:16 -05:00
omap5 ARM: OMAP5: Enable support for AVS0 for OMAP5 production devices 2017-08-13 15:17:35 -04:00
Kconfig Convert CONFIG_SPL_OMAP3_ID_NAND to Kconfig 2017-09-01 20:45:26 -04:00
Makefile arm: mach-omap2: Factor out common FDT fixup suport 2017-07-22 22:22:43 -04:00
abb.c
boot-common.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
clocks-common.c ti: clocks: Fix do_enable_clocks() to accept NULL pointers as input parameters 2017-04-08 21:32:49 -04:00
config.mk mach-omap2: Cleanup secure boot media generation 2017-01-24 10:35:56 -05:00
config_secure.mk arm: mach-omap2: Generate MLO file from SD boot capable targets 2017-06-16 10:11:42 -04:00
emif-common.c arm: omap-common: Fix typo in CONFIG_OMAP54XX guard 2017-03-11 22:30:29 -05:00
fdt-common.c arm: mach-omap2: fdt-common: Add OP-TEE node when firmware node is defined 2017-07-22 22:22:44 -04:00
hwinit-common.c arm: omap4+: Enable spl_early_init() 2017-07-10 14:26:04 -04:00
lowlevel_init.S
mem-common.c
omap-cache.c
pipe3-phy.c
pipe3-phy.h
reset.c
sata.c dm: scsi: Add a device pointer to scan_exec(), scsi_bus_reset() 2017-07-11 10:08:19 -06:00
sec-common.c arm: mach-omap2: Align image address before cache operations 2017-07-31 12:21:39 -04:00
sysinfo-common.c arm: omap: Fix 'get_device_type()' for OMAP34XX 2017-08-12 18:56:26 -04:00
timer.c
u-boot-spl.lds ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL 2017-03-21 07:15:21 -04:00
utils.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
vc.c omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE 2017-05-15 10:40:03 -04:00