sandbox: Fix up building for of-platdata
authorSimon Glass <sjg@chromium.org>
Sat, 3 Oct 2020 17:31:34 +0000 (11:31 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:18 +0000 (14:42 -0600)
commit67507e4aab5b58c62cd57b855ce97a83d882479c
tree17bacc03390bdddd308ef3d6ded64b1f2a023f7b
parenta294ead8d2531a641f87bf182fee257029973ac0
sandbox: Fix up building for of-platdata

There is no devicetree with of-platdata. Update a few uclasses to allow
them to be built for sandbox_spl. Also drop the i2c-gpio from SPL to avoid
build errors, since it does not support of-platdata.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/i2c/Makefile
drivers/i2c/i2c-emul-uclass.c
drivers/rtc/rtc-uclass.c