summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHatim RV <hatim.rv@samsung.com>2012-12-11 00:52:46 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2012-12-26 19:26:25 +0900
commitcc9fe33a3654ab6dffed92631dc26076c427f822 (patch)
treef509f6e2cc0f862ee4202b0dbe265c0e978c95b4 /lib
parent1b652071d0accb06ef8464e594d2f4c7963518f2 (diff)
fdt: exynos5: Add DT node definition for SROM and SMSC9215
Add the compatibility string and constant for the ethernet driver so the device tree parsing code can recognize it. Signed-off-by: Hatim Ali <hatim.rv@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/fdtdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 6dba4389f23..adebd795454 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -45,6 +45,8 @@ 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(SMSC_LAN9215, "smsc,lan9215"),
+ COMPAT(SAMSUNG_EXYNOS5_SROMC, "samsung,exynos-sromc"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)