[U-Boot] [PATCH 08/19] arm: socfpga: Add COMPAT macro for Network on Chip(NoC)
tien.fong.chee at intel.com
tien.fong.chee at intel.com
Tue Aug 29 10:45:50 UTC 2017
From: Tien Fong Chee <tien.fong.chee at intel.com>
This is required by DDR to configure NoC firewall setting based on DTS.
The NoC firewall is used to control any data transaction between IP
interfacing with DDR.
Signed-off-by: Tien Fong Chee <tien.fong.chee at intel.com>
---
include/fdtdec.h | 1 +
lib/fdtdec.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/fdtdec.h b/include/fdtdec.h
index eda2ffa..4243532 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -163,6 +163,7 @@ enum fdt_compat_id {
COMPAT_ALTERA_SOCFPGA_F2SDR0, /* SoCFPGA fpga2SDRAM0 bridge */
COMPAT_ALTERA_SOCFPGA_F2SDR1, /* SoCFPGA fpga2SDRAM1 bridge */
COMPAT_ALTERA_SOCFPGA_F2SDR2, /* SoCFPGA fpga2SDRAM2 bridge */
+ COMPAT_ALTERA_SOCFPGA_NOC, /* Arria10 NOC */
COMPAT_COUNT,
};
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index fbb48bf..c6586f0 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -76,6 +76,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(ALTERA_SOCFPGA_F2SDR0, "altr,socfpga-fpga2sdram0-bridge"),
COMPAT(ALTERA_SOCFPGA_F2SDR1, "altr,socfpga-fpga2sdram1-bridge"),
COMPAT(ALTERA_SOCFPGA_F2SDR2, "altr,socfpga-fpga2sdram2-bridge"),
+ COMPAT(ALTERA_SOCFPGA_NOC, "altr,socfpga-a10-noc"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)
--
1.7.7.4
More information about the U-Boot
mailing list