From 660673af4fd10c544ceeedeb524ba92c27dbc586 Mon Sep 17 00:00:00 2001
From: Xiubo Li
Date: Fri, 21 Nov 2014 17:40:59 +0800
Subject: 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
Reviewed-by: York Sun
---
include/configs/ls1021aqds.h | 2 ++
1 file changed, 2 insertions(+)
(limited to 'include/configs/ls1021aqds.h')
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 7391882..8dc04f2 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
--
cgit v1.1