* [U-Boot] [PATCH 1/2] scsi: add PCIe to sata converter Marvell chip 88SE9170
@ 2016-04-13 10:59 Po Liu
2016-05-16 16:02 ` York Sun
2016-05-18 2:09 ` [U-Boot] [PATCH] ls1043ardb: add support scsi command and pcie to sata converter Po Liu
0 siblings, 2 replies; 5+ messages in thread
From: Po Liu @ 2016-04-13 10:59 UTC (permalink / raw)
To: u-boot
Add to the command scsi device list.
Signed-off-by: Po Liu <po.liu@nxp.com>
---
cmd/scsi.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/cmd/scsi.c b/cmd/scsi.c
index 8991125..c85fefc 100644
--- a/cmd/scsi.c
+++ b/cmd/scsi.c
@@ -31,6 +31,11 @@
#define SCSI_VEND_ID 0x10b9
#define SCSI_DEV_ID 0x5288
+#elif defined CONFIG_SATA_88SE9170
+
+#define SCSI_VEND_ID 0x1b4b
+#define SCSI_DEV_ID 0x9170
+
#elif !defined(CONFIG_SCSI_AHCI_PLAT)
#error no scsi device defined
#endif
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/2] scsi: add PCIe to sata converter Marvell chip 88SE9170
2016-04-13 10:59 [U-Boot] [PATCH 1/2] scsi: add PCIe to sata converter Marvell chip 88SE9170 Po Liu
@ 2016-05-16 16:02 ` York Sun
2016-05-17 1:02 ` Po Liu
2016-05-18 2:09 ` [U-Boot] [PATCH] ls1043ardb: add support scsi command and pcie to sata converter Po Liu
1 sibling, 1 reply; 5+ messages in thread
From: York Sun @ 2016-05-16 16:02 UTC (permalink / raw)
To: u-boot
On 04/13/2016 04:09 AM, Po Liu wrote:
> Add to the command scsi device list.
>
> Signed-off-by: Po Liu <po.liu@nxp.com>
> ---
> cmd/scsi.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/cmd/scsi.c b/cmd/scsi.c
> index 8991125..c85fefc 100644
> --- a/cmd/scsi.c
> +++ b/cmd/scsi.c
> @@ -31,6 +31,11 @@
> #define SCSI_VEND_ID 0x10b9
> #define SCSI_DEV_ID 0x5288
>
> +#elif defined CONFIG_SATA_88SE9170
> +
> +#define SCSI_VEND_ID 0x1b4b
> +#define SCSI_DEV_ID 0x9170
> +
> #elif !defined(CONFIG_SCSI_AHCI_PLAT)
> #error no scsi device defined
> #endif
>
Po,
Would it be a better idea to define CONFIG_SCSI_DEV_LIST in your board header
file? You can merge your two patches into one.
York
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/2] scsi: add PCIe to sata converter Marvell chip 88SE9170
2016-05-16 16:02 ` York Sun
@ 2016-05-17 1:02 ` Po Liu
0 siblings, 0 replies; 5+ messages in thread
From: Po Liu @ 2016-05-17 1:02 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: York Sun [mailto:york.sun at nxp.com]
> Sent: Tuesday, May 17, 2016 12:03 AM
> To: Po Liu
> Cc: u-boot at lists.denx.de; Simon Glass; Bin Meng; osp at andrep.de;
> mark.langsdorf at gmail.com
> Subject: Re: [PATCH 1/2] scsi: add PCIe to sata converter Marvell chip
> 88SE9170
>
> On 04/13/2016 04:09 AM, Po Liu wrote:
> > Add to the command scsi device list.
> >
> > Signed-off-by: Po Liu <po.liu@nxp.com>
> > ---
> > cmd/scsi.c | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/cmd/scsi.c b/cmd/scsi.c
> > index 8991125..c85fefc 100644
> > --- a/cmd/scsi.c
> > +++ b/cmd/scsi.c
> > @@ -31,6 +31,11 @@
> > #define SCSI_VEND_ID 0x10b9
> > #define SCSI_DEV_ID 0x5288
> >
> > +#elif defined CONFIG_SATA_88SE9170
> > +
> > +#define SCSI_VEND_ID 0x1b4b
> > +#define SCSI_DEV_ID 0x9170
> > +
> > #elif !defined(CONFIG_SCSI_AHCI_PLAT) #error no scsi device defined
> > #endif
> >
>
> Po,
>
> Would it be a better idea to define CONFIG_SCSI_DEV_LIST in your board
> header
> file? You can merge your two patches into one.
Ok, Understand.
>
> York
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] ls1043ardb: add support scsi command and pcie to sata converter
2016-04-13 10:59 [U-Boot] [PATCH 1/2] scsi: add PCIe to sata converter Marvell chip 88SE9170 Po Liu
2016-05-16 16:02 ` York Sun
@ 2016-05-18 2:09 ` Po Liu
2016-05-24 17:22 ` York Sun
1 sibling, 1 reply; 5+ messages in thread
From: Po Liu @ 2016-05-18 2:09 UTC (permalink / raw)
To: u-boot
Add scsi command and enable supporting the pcie2sata chip
88SE9170 from Marvell.
Signed-off-by: Po Liu <po.liu@nxp.com>
---
merge to one patch only.
include/configs/ls1043ardb.h | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h
index 6d35be2..e299545 100644
--- a/include/configs/ls1043ardb.h
+++ b/include/configs/ls1043ardb.h
@@ -285,6 +285,27 @@
#define CONFIG_USB_STORAGE
#endif
+/* SATA */
+#define CONFIG_LIBATA
+#define CONFIG_SCSI_AHCI
+#define CONFIG_CMD_SCSI
+#ifndef CONFIG_CMD_FAT
+#define CONFIG_CMD_FAT
+#endif
+#ifndef CONFIG_CMD_EXT2
+#define CONFIG_CMD_EXT2
+#endif
+#define CONFIG_DOS_PARTITION
+#define CONFIG_BOARD_LATE_INIT
+#define CONFIG_SYS_SCSI_MAX_SCSI_ID 2
+#define CONFIG_SYS_SCSI_MAX_LUN 2
+#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
+ CONFIG_SYS_SCSI_MAX_LUN)
+#define SCSI_VEND_ID 0x1b4b
+#define SCSI_DEV_ID 0x9170
+#define CONFIG_SCSI_DEV_LIST {SCSI_VEND_ID, SCSI_DEV_ID}
+#define CONFIG_PCI
+
#include <asm/fsl_secure_boot.h>
#endif /* __LS1043ARDB_H__ */
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] ls1043ardb: add support scsi command and pcie to sata converter
2016-05-18 2:09 ` [U-Boot] [PATCH] ls1043ardb: add support scsi command and pcie to sata converter Po Liu
@ 2016-05-24 17:22 ` York Sun
0 siblings, 0 replies; 5+ messages in thread
From: York Sun @ 2016-05-24 17:22 UTC (permalink / raw)
To: u-boot
On 05/17/2016 07:19 PM, Po Liu wrote:
> Add scsi command and enable supporting the pcie2sata chip
> 88SE9170 from Marvell.
>
> Signed-off-by: Po Liu <po.liu@nxp.com>
> ---
> merge to one patch only.
>
> include/configs/ls1043ardb.h | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
Minor adjustment to commit subject and message.
Applied to u-boot-fsl-qoriq master, awaiting upstream.
Thanks.
York
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-05-24 17:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-13 10:59 [U-Boot] [PATCH 1/2] scsi: add PCIe to sata converter Marvell chip 88SE9170 Po Liu
2016-05-16 16:02 ` York Sun
2016-05-17 1:02 ` Po Liu
2016-05-18 2:09 ` [U-Boot] [PATCH] ls1043ardb: add support scsi command and pcie to sata converter Po Liu
2016-05-24 17:22 ` York Sun
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.