arm: Fix SCFG ICID reg addresses
authorVincent Siles <vincent.siles@provenrun.com>
Fri, 22 Apr 2016 07:52:06 +0000 (09:52 +0200)
committerYork Sun <york.sun@nxp.com>
Wed, 18 May 2016 15:51:44 +0000 (08:51 -0700)
commit15b96ad8318d8670d3a776e72dbf8edaca74e4a7
treedd68a9534e878189cb44c5b77990e16690929ef6
parentacb8f5e914814ac6c697edb86701958da251a223
arm: Fix SCFG ICID reg addresses

On the LS102x boards, in order to initialize the ICID values of
masters, the dev_stream_id array holds absolute offsets from the
base of SCFG.

In ls102xa_config_ssmu_stream_id, the base pointer is cast to
uint32_t * before adding the offset, leading to an invalid address.
Casting it to void * solves the issue.

Signed-off-by: Vincent Siles <vincent.siles@provenrun.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/common/ls102xa_stream_id.c