[U-Boot] [PATCH v2 1/2] arm: Fix SCFG ICID reg addresses

York Sun york.sun at nxp.com
Tue May 24 19:13:01 CEST 2016


On 04/22/2016 12:52 AM, Vincent Siles wrote:
> 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 at provenrun.com>
> ---
> 
> Changes in v2:
>     - switch from (u8 *) to (void *)
>     - split modifications in two patches
> 
>  board/freescale/common/ls102xa_stream_id.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to u-boot-fsl-qoriq master, awaiting upstream.

Thanks.

York



More information about the U-Boot mailing list