]> git.sur5r.net Git - u-boot/commit
sunxi: Do not build i2c support when we've no i2c controllers
authorHans de Goede <hdegoede@redhat.com>
Thu, 23 Apr 2015 15:47:22 +0000 (17:47 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 14:51:52 +0000 (16:51 +0200)
commit8b2db32a9f368672e51e90e46f5cba0dae8cbd52
tree599a14c7e5f8257ab7d0047ed8e09821a85b852a
parent8760d755cb433de2ea41420d00d2bbb3a34a3f7c
sunxi: Do not build i2c support when we've no i2c controllers

This fixes the following errors being printed during boot:

Error, wrong i2c adapter 0 max 0 possible
Error, wrong i2c adapter 0 max 0 possible

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
include/configs/sunxi-common.h