From: Wolfgang Denk Date: Wed, 26 Mar 2008 02:00:08 +0100 Subject: [U-Boot-Users] [PATCH V2 0/9] SATA framework and FSL SATA support patch set In-Reply-To: Your message of "Wed, 26 Mar 2008 08:46:54 +0800." <58A20A281BAF1047B4EAE68DE5C0BDC2C821F6@zch01exm21.fsl.freescale.net> Message-ID: <20080326010008.A51AB248BF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Dave, in message <58A20A281BAF1047B4EAE68DE5C0BDC2C821F6@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