From: Simon Glass Date: Tue, 11 Nov 2014 00:16:51 +0000 (-0700) Subject: dm: tegra: Add platform data for the GPIO driver X-Git-Tag: v2015.01-rc2~4^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0521f9842731b3f79d5ee33907af773cd4732f0f;p=u-boot dm: tegra: Add platform data for the GPIO driver Add platform data for the GPIO driver. It doesn't need to contain anything since the GPIO driver will actually use information from the CONFIGs for now. This merely serves to ensure that the GPIO driver is bound. Signed-off-by: Simon Glass --- diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 51125df34f..0e4a65ad05 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -6,6 +6,7 @@ */ #include +#include #include #include #include @@ -43,6 +44,13 @@ DECLARE_GLOBAL_DATA_PTR; +#ifdef CONFIG_SPL_BUILD +/* TODO(sjg@chromium.org): Remove once SPL supports device tree */ +U_BOOT_DEVICE(tegra_gpios) = { + "gpio_tegra" +}; +#endif + const struct tegra_sysinfo sysinfo = { CONFIG_TEGRA_BOARD_STRING };