summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-11 06:08:08 +0000
committerSimon Glass <sjg@chromium.org>2013-03-19 08:45:37 -0700
commitbb8215f437a7c948eec82a6abe754c226978bd6d (patch)
tree8e03252d3317225986dee7d9e58ee4dd32123d9f /lib/fdtdec.c
parent5e6fb69778fa41e685add00b73ed5f22c7a96166 (diff)
downloadu-boot-imx-bb8215f437a7c948eec82a6abe754c226978bd6d.zip
u-boot-imx-bb8215f437a7c948eec82a6abe754c226978bd6d.tar.gz
u-boot-imx-bb8215f437a7c948eec82a6abe754c226978bd6d.tar.bz2
sf: Enable FDT-based configuration and memory mapping
Enable device tree control of SPI flash, and use this to implement memory-mapped SPI flash, which is supported on Intel chips. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/fdtdec.c')
-rw-r--r--lib/fdtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index cffba94..c95c2c2 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -59,6 +59,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(SAMSUNG_EXYNOS_EHCI, "samsung,exynos-ehci"),
COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"),
COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686_pmic"),
+ COMPAT(GENERIC_SPI_FLASH, "spi-flash"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)