[EXT] Re: [PATCH 3/3] cmd: sata: Add block unbind device function
Peng Ma
peng.ma at nxp.com
Mon Dec 30 08:19:08 CET 2019
Hi Simon,
>-----Original Message-----
>From: Simon Glass <sjg at chromium.org>
>Sent: 2019年12月28日 10:27
>To: Peng Ma <peng.ma at nxp.com>
>Cc: Priyanka Jain <priyanka.jain at nxp.com>; Marcel Ziswiler
><marcel.ziswiler at toradex.com>; Andy Tang <andy.tang at nxp.com>;
>u-boot at lists.denx.de
>Subject: [EXT] Re: [PATCH 3/3] cmd: sata: Add block unbind device function
>
>Caution: EXT Email
>
>On Wed, 4 Dec 2019 at 03:36, Peng Ma <peng.ma at nxp.com> wrote:
>>
>> If we didn't unbind the sata from block device, the same devices would
>> be added after sata remove, This patch is to resolve this issue as
>> below:
>>
>> => sata info
>> SATA#0:
>> (3.0 Gbps)
>> SATA#1:
>> (3.0 Gbps)
>> Device 0: Model: INTEL SSDSA2BW300G3D Firm: 4PC10362 Ser#:
>BTPR247005PY30
>> Type: Hard Disk
>> Supports 48-bit addressing
>> Capacity: 286168.1 MB = 279.4 GB (586072368 x 512) Device
>> 1: Model: INTEL SSDSA2BW300G3D Firm: 4PC10362 Ser#: BTPR247005VX30
>> Type: Hard Disk
>> Supports 48-bit addressing
>> Capacity: 286168.1 MB = 279.4 GB (586072368 x 512) =>
>sata
>> stop => sata info
>> SATA#0:
>> (3.0 Gbps)
>> SATA#1:
>> (3.0 Gbps)
>> Device 0: Model: INTEL SSDSA2BW300G3D Firm: 4PC10362 Ser#:
>BTPR247005PY300
>> Type: Hard Disk
>> Supports 48-bit addressing
>> Capacity: 286168.1 MB = 279.4 GB (586072368 x 512) Device
>> 1: Model: INTEL SSDSA2BW300G3D Firm: 4PC10362 Ser#:
>BTPR247005VX300
>> Type: Hard Disk
>> Supports 48-bit addressing
>> Capacity: 286168.1 MB = 279.4 GB (586072368 x 512) Device
>> 2: Model: INTEL SSDSA2BW300G3D Firm: 4PC10362 Ser#:
>BTPR247005PY300
>> Type: Hard Disk
>> Supports 48-bit addressing
>> Capacity: 286168.1 MB = 279.4 GB (586072368 x 512) Device
>> 3: Model: INTEL SSDSA2BW300G3D Firm: 4PC10362 Ser#:
>BTPR247005VX300
>> Type: Hard Disk
>> Supports 48-bit addressing
>> Capacity: 286168.1 MB = 279.4 GB (586072368 x 512)
>>
>> Signed-off-by: Peng Ma <peng.ma at nxp.com>
>> ---
>> cmd/sata.c | 2 ++
>> 1 file changed, 2 insertions(+)
>
>Reviewed-by: Simon Glass <sjg at chromium.org>
[Peng Ma] thanks very much.
Best Regards,
Peng
More information about the U-Boot
mailing list