summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2013-01-29 13:51:24 +0000
committerTom Warren <twarren@nvidia.com>2013-02-11 10:35:24 -0700
commit8f1b46b10480e7fe140d5656c76f6f6de1739f13 (patch)
treedb0ee4ed537dd575bc868e65383c5410337c0656 /lib
parentc98f03fae083fc741a296c07120407d306c2a8c6 (diff)
downloadu-boot-imx-8f1b46b10480e7fe140d5656c76f6f6de1739f13.zip
u-boot-imx-8f1b46b10480e7fe140d5656c76f6f6de1739f13.tar.gz
u-boot-imx-8f1b46b10480e7fe140d5656c76f6f6de1739f13.tar.bz2
tegra: spi: add fdt support to tegra SPI SFLASH driver
Add support for configuring tegra SPI driver from devicetree. Support is keyed off CONFIG_OF_CONTROL. Add entry in seaboard dts file for spi controller to describe seaboard spi. Signed-off-by: Allen Martin <amartin@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/fdtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 16921e1..385e0e5 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -45,6 +45,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(NVIDIA_TEGRA20_NAND, "nvidia,tegra20-nand"),
COMPAT(NVIDIA_TEGRA20_PWM, "nvidia,tegra20-pwm"),
COMPAT(NVIDIA_TEGRA20_DC, "nvidia,tegra20-dc"),
+ COMPAT(NVIDIA_TEGRA20_SFLASH, "nvidia,tegra20-sflash"),
COMPAT(SMSC_LAN9215, "smsc,lan9215"),
COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"),
COMPAT(SAMSUNG_S3C2440_I2C, "samsung,s3c2440-i2c"),