Re: [U-Boot] [PATCH v2 3/6] armv8: ls2088a: add icid setup for platform devices

2019-10-18 Thread Horia Geanta
On 10/18/2019 12:01 PM, Laurentiu Tudor wrote: > From: Laurentiu Tudor > > Add ICID setup for the platform devices contained on this chip: usb, > sata, sdhc, sec. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă Thanks, Horia ___ U-Boot

Re: [U-Boot] [PATCH v2 2/6] armv8: fsl-layerscape: fix compile error with sec fw disabled

2019-10-18 Thread Horia Geanta
On 10/18/2019 12:01 PM, Laurentiu Tudor wrote: > From: Laurentiu Tudor > > If SEC FW support is not enabled (ARMV8_SEC_FIRMWARE_SUPPORT=n) this > compilation error happens: > arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h:169:4: error: > 'CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT' undeclared here

Re: [U-Boot] [PATCH 5/6] armv8: lx2160a: add icid setup for platform devices

2019-10-18 Thread Horia Geanta
On 10/17/2019 12:22 PM, Laurentiu Tudor wrote: > From: Laurentiu Tudor > > Add ICID setup for the platform devices contained on this chip: usb, > sata, sdhc, sec. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă Thanks, Horia ___ U-Boot

Re: [U-Boot] [PATCH 3/6] armv8: ls2088a: add icid setup for platform devices

2019-10-18 Thread Horia Geanta
On 10/17/2019 12:22 PM, Laurentiu Tudor wrote: > +struct icid_id_table icid_tbl[] = { > + SET_SDHC_ICID(1, FSL_SDMMC_STREAM_ID), > + SET_USB_ICID(1, "snps,dwc3", FSL_USB1_STREAM_ID), > + SET_USB_ICID(2, "snps,dwc3", FSL_USB2_STREAM_ID), > + SET_SATA_ICID(1, "fsl,ls2080a-ahci",

Re: [U-Boot] [PATCH 2/6] armv8: fsl-layerscape: fix compile error with sec fw disabled

2019-10-18 Thread Horia Geanta
On 10/17/2019 12:21 PM, Laurentiu Tudor wrote: > From: Laurentiu Tudor > > If SEC FW support is not enabled (ARMV8_SEC_FIRMWARE_SUPPORT=n) this > compilation error happens: > arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h:169:4: error: > 'CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT' undeclared here

Re: [U-Boot] [PATCH 1/6] armv8: fsl-layerscape: guard caam specific defines

2019-10-18 Thread Horia Geanta
On 10/17/2019 12:21 PM, Laurentiu Tudor wrote: > From: Laurentiu Tudor > > These macros should only be used when CONFIG_FSL_CAAM is present. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă Thanks, Horia ___ U-Boot mailing list

Re: [U-Boot] [PATCH 5/5] armv8: ls1028a: add icid setup for platform devices

2019-07-30 Thread Horia Geanta
On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > Add ICID setup for the platform devices contained on this chip: usb, > sata, sdhc, edma, qdma, gpu, display and sec. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă Thanks, Horia

Re: [U-Boot] [PATCH 4/5] armv8: ls1088a: add icid setup for platform devices

2019-07-30 Thread Horia Geanta
On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > Add ICID setup for the platform devices contained on this chip: usb, > sata, sdhc, sec. The ICID macros for SEC needed to be adapted because > the format of the registers is different. > > Signed-off-by: Laurentiu

Re: [U-Boot] [PATCH 3/5] armv8: fsl-layerscape: make icid setup endianness aware

2019-07-30 Thread Horia Geanta
On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > The current implementation assumes that the registers holding the ICIDs > are universally big endian. That's no longer the case on newer > platforms so update the code to take into account the endianness of > each

Re: [U-Boot] [PATCH 1/5] armv8: fsl-layerscape: add missing sec jr base address defines

2019-07-30 Thread Horia Geanta
On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > Add defines for all the SEC job rings base addresses. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă Thanks, Horia ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/2] armv8: ls1088a: add icid setup for platform devices

2019-03-21 Thread Horia Geanta
On 3/21/2019 2:42 PM, Tudor Laurentiu-B10716 wrote: > Hi Horia, > > On 21.03.2019 12:36, Horia Geanta wrote: >> On 3/20/2019 4:31 PM, laurentiu.tu...@nxp.com wrote: >>> #define SET_SEC_QI_ICID(streamid) \ >>> - SET_ICID_ENTRY("fsl,sec-v4.0", strea

Re: [U-Boot] [PATCH 1/2] armv8: fsl-layerscape: add missing sec jr base address defines

2019-03-21 Thread Horia Geanta
On 3/20/2019 4:31 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > Add defines for all the SEC job rings base addresses. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă Thanks, Horia ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/2] armv8: ls1088a: add icid setup for platform devices

2019-03-21 Thread Horia Geanta
On 3/20/2019 4:31 PM, laurentiu.tu...@nxp.com wrote: > +struct icid_id_table icid_tbl[] = { > + SET_SDHC_ICID(FSL_SDMMC_STREAM_ID), > + SET_USB_ICID(1, "snps,dwc3", FSL_USB1_STREAM_ID), > + SET_USB_ICID(2, "snps,dwc3", FSL_USB2_STREAM_ID), > + SET_SATA_ICID(1, "fsl,ls1088a-ahci",

Re: [U-Boot] [PATCH 1/3] fsl_sec: fix register layout on Layerscape architectures

2019-01-30 Thread Horia Geanta
On 1/30/2019 2:01 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > On Layerscape architectures the SEC memory map is 1MB and the > register blocks contained in it are 64KB aligned, not 4KB as > the ccsr_sec structure currently assumes. Fix the layout of > the structure for these

Re: [U-Boot] [PATCH v6 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-31 Thread Horia Geanta
On 7/31/2018 5:53 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > Add support for SEC ICID configuration and apply it for ls1046a. > Also add code to make the necessary device tree fixups. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă [snip] > +#define

Re: [U-Boot] [PATCH v5 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-30 Thread Horia Geanta
On 7/30/2018 4:58 PM, Laurentiu Tudor wrote: >> The only way to implement a *mechanism* is to provide different ICIDs for all >> the blocks. >> Any other solution would be imposing a *policy*, thus restricting user's >> possibilities. Admittedly there are use cases less "popular" than others, >>

Re: [U-Boot] [PATCH v5 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-27 Thread Horia Geanta
On 7/27/2018 2:18 PM, Bharat Bhushan wrote: > > >> -Original Message- >> From: laurentiu.tu...@nxp.com [mailto:laurentiu.tu...@nxp.com] >> Sent: Friday, July 27, 2018 3:28 PM >> To: u-boot@lists.denx.de; Prabhakar Kushwaha >> ; York Sun

Re: [U-Boot] [PATCH v4 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-26 Thread Horia Geanta
On 7/24/2018 5:05 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > Add support for SEC ICID configuration and apply it for ls1046a. > Also add code to make the necessary device tree fixups. > Also included in this patch, while adding the new required JR > defines sanitize the