aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Glass2016-07-04 12:57:41 -0500
committerSimon Glass2016-07-14 21:40:24 -0500
commit7fcdac0ee96fb19013056e7a083e46f74c8dad66 (patch)
tree6e96c78011e9c838f0149912a0f3ecd5a58b59a4 /Makefile
parent3a592a1349ac3961b0f4f2db0a8d9f128225d897 (diff)
downloadu-boot-7fcdac0ee96fb19013056e7a083e46f74c8dad66.tar.gz
u-boot-7fcdac0ee96fb19013056e7a083e46f74c8dad66.tar.xz
u-boot-7fcdac0ee96fb19013056e7a083e46f74c8dad66.zip
sandbox: Don't print a warning for CONFIG_I2C_COMPAT
Sandbox includes this code to provide build coverage. While we retain this feature we should have sandbox build it. Sandbox does not in fact use the I2C compatibility mode. Showing a warning for sandbox is just confusing, since no conversion is expected. Drop the warning for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 88128ec72a..e5b07d802a 100644
--- a/Makefile
+++ b/Makefile
@@ -801,7 +801,7 @@ quiet_cmd_pad_cat = CAT $@
801cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@ 801cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
802 802
803all: $(ALL-y) 803all: $(ALL-y)
804ifeq ($(CONFIG_DM_I2C_COMPAT),y) 804ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y)
805 @echo "===================== WARNING ======================" 805 @echo "===================== WARNING ======================"
806 @echo "This board uses CONFIG_DM_I2C_COMPAT. Please remove" 806 @echo "This board uses CONFIG_DM_I2C_COMPAT. Please remove"
807 @echo "(possibly in a subsequent patch in your series)" 807 @echo "(possibly in a subsequent patch in your series)"