From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 24 May 2016 10:13:01 -0700 Subject: [U-Boot] [PATCH v2 1/2] arm: Fix SCFG ICID reg addresses In-Reply-To: <1461311527-16278-1-git-send-email-vincent.siles@provenrun.com> References: <5718FD9C.8060001@nxp.com> <1461311527-16278-1-git-send-email-vincent.siles@provenrun.com> Message-ID: <57448B9D.8000307@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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