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

2019-03-21 Thread Laurentiu Tudor
On 21.03.2019 17:10, Horia Geanta wrote: > 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", str

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", streamid, \ >>> + SET_ICID_ENTRY("fsl,sec-v4.0", S

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

2019-03-21 Thread Laurentiu Tudor
Hi Horia, On 21.03.2019 12:36, Horia Geanta wrote: > 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_STRE

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

2019-03-21 Thread Laurentiu Tudor
Hi Horia, On 21.03.2019 12:36, Horia Geanta wrote: > 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_STRE

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

2019-03-21 Thread Laurentiu Tudor
Hi Horia, On 21.03.2019 12:36, Horia Geanta wrote: > 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_STRE

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", FS

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

2019-03-20 Thread laurentiu . tudor
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. Also, the initial static ICID allocation left SEC out so update it by grabbing an ICID from th