summaryrefslogtreecommitdiff
path: root/drivers/misc/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-04 11:58:01 -0600
committerSimon Glass <sjg@chromium.org>2016-07-14 20:40:24 -0600
commitbab8233a1d17de222e83e0cbf8eb1d9d691adaf3 (patch)
treeb4db744409f957a1dd87fcc0f747141cbbc304ef /drivers/misc/Makefile
parent04ecf36ba60f41f695095226e53310b4acaebf1e (diff)
downloadu-boot-imx-bab8233a1d17de222e83e0cbf8eb1d9d691adaf3.zip
u-boot-imx-bab8233a1d17de222e83e0cbf8eb1d9d691adaf3.tar.gz
u-boot-imx-bab8233a1d17de222e83e0cbf8eb1d9d691adaf3.tar.bz2
dm: sandbox: Add a simple driver to test of-platdata
Add a driver which uses of-platdata to obtain its platform data. This can be used to test the feature in sandbox. It displays the contents of its platform data. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/Makefile')
-rw-r--r--drivers/misc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 066639b..3eac024 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -35,6 +35,11 @@ obj-$(CONFIG_SMSC_LPC47M) += smsc_lpc47m.o
obj-$(CONFIG_SMSC_SIO1007) += smsc_sio1007.o
obj-$(CONFIG_STATUS_LED) += status_led.o
obj-$(CONFIG_SANDBOX) += swap_case.o
+ifdef CONFIG_SPL_OF_PLATDATA
+ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_SANDBOX) += spltest_sandbox.o
+endif
+endif
obj-$(CONFIG_SANDBOX) += syscon_sandbox.o
obj-$(CONFIG_TWL4030_LED) += twl4030_led.o
obj-$(CONFIG_FSL_IFC) += fsl_ifc.o