summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-11-21 17:40:59 +0800
committerYork Sun <yorksun@freescale.com>2014-12-11 09:42:22 -0800
commit660673af4fd10c544ceeedeb524ba92c27dbc586 (patch)
tree2979c885f915d9aa5561a7977ac2c1b3543aa0ff /include
parente87f3b308c454f6e78b02da857936c7d012c385b (diff)
downloadtalos-obmc-uboot-660673af4fd10c544ceeedeb524ba92c27dbc586.tar.gz
talos-obmc-uboot-660673af4fd10c544ceeedeb524ba92c27dbc586.zip
ARM: ls102xa: Setting device's stream id for SMMUs.
LS1 has 4 SMMUs for address translation of the masters. All the SMMUs' stream IDs are 8-bit. The address translation depends on the stream ID of the incoming transaction. Each master has unique stream ID assigned to it and is configurable through SCFG registers. The stream ID for the masters is identical and share the same register field of STREAM ID registers. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1021aqds.h2
-rw-r--r--include/configs/ls1021atwr.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 73918825a5..8dc04f2e57 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -536,6 +536,8 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SYS_LOAD_ADDR 0x82000000
+#define CONFIG_LS102XA_STREAM_ID
+
/*
* Stack sizes
* The stack sizes are set up in start.S using the settings below
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 171346b8e1..66954d0a40 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -352,6 +352,8 @@
#define CONFIG_SYS_LOAD_ADDR 0x82000000
+#define CONFIG_LS102XA_STREAM_ID
+
/*
* Stack sizes
* The stack sizes are set up in start.S using the settings below
OpenPOWER on IntegriCloud