From mboxrd@z Thu Jan 1 00:00:00 1970 From: Horia Geanta Date: Tue, 31 Jul 2018 16:19:08 +0000 Subject: [U-Boot] [PATCH v6 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree References: <20180731145228.15145-1-laurentiu.tudor@nxp.com> <20180731145228.15145-9-laurentiu.tudor@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On 7/31/2018 5:53 PM, laurentiu.tudor at nxp.com wrote: > From: Laurentiu Tudor >=20 > Add support for SEC ICID configuration and apply it for ls1046a. > Also add code to make the necessary device tree fixups. >=20 > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geant=C4=83 [snip] > +#define SET_SEC_RTIC_ICID_ENTRY(rtic_num, streamid) \ > + SET_ICID_ENTRY(NULL, streamid, (((streamid) << 16) | (streamid)), \ > + offsetof(ccsr_sec_t, rticliodnr[rtic_num].ls) + \ > + CONFIG_SYS_FSL_SEC_ADDR, 0) > + RTIC nodes have a binding doc in Linux kernel: Documentation/devicetree/bindings/crypto/fsl-sec4.txt Thus, in theory, "fsl,sec-v4.0-rtic-memory" could be used instead of NULL f= or the compat string. PPC code in arch/powerpc/include/asm/fsl_liodn.h does this. In practice, this won't make any difference until a RTIC kernel driver is a= dded. Regards, Horia