[U-Boot-Users] [PATCH V2 0/9] SATA framework and FSL SATA support patch set

Wolfgang Denk wd at denx.de
Wed Mar 26 02:00:08 CET 2008


Dear Dave,

in message <58A20A281BAF1047B4EAE68DE5C0BDC2C821F6 at zch01exm21.fsl.freescale.net> you wrote:
> 
> [dave] sorry for that, I'm using the webmail to access my mailbox.
> the webmail is stupid.

I see :-(

> Maybe. But still both the existing common/cmd_sata.c and your new
> cmd_sata2.c implement the very same functions (like do_sata()) with
> more or less the same sub-commands etc.
> 
> [dave] I think the same part is focusing on command line.

Not only. I think implementations of functions  like  sata_read()  or
sata_write() should be generic enough and not need to be duplicated.

> [dave] if I choose current command/cmd_sata.c, and don't move the drivers part of
> cmd_sata.c to drivers/block. I think it will add extra-space for my image.
> so, the best choice is move the drivers part of cmd_sata.c to drivers/block.
> what do you think about it?

Probably you are right.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No one may kill a man.  Not for any purpose.  It cannot be condoned.
	-- Kirk, "Spock's Brain", stardate 5431.6




More information about the U-Boot mailing list