From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Herrmann Date: Tue, 09 Oct 2012 06:35:03 -0700 (PDT) Subject: [U-Boot] [PATCH 08/10] split AU1X00 specific code from cmd_ide.c In-Reply-To: <20121008233846.GM18891@bill-the-cat> References: <1349625374-12391-1-git-send-email-morpheus.ibis@gmail.com> <1349625374-12391-9-git-send-email-morpheus.ibis@gmail.com> <20121008233846.GM18891@bill-the-cat> Message-ID: <6434258.6fIb85XrO8@bloomfield> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 08 of October 2012 16:38:46 Tom Rini wrote: > On Sun, Oct 07, 2012 at 05:56:12PM +0200, Pavel Herrmann wrote: > > Move special case of ide_swap_read() for AU1X00 SoC into SoC-specific > > directory. > > > > Signed-off-by: Pavel Herrmann > > Two problems: > > diff --git a/arch/mips/cpu/mips32/au1x00/au1x00_ide.c > > b/arch/mips/cpu/mips32/au1x00/au1x00_ide.c > [snip] > > > +#ifndef CONFIG_GTH2 /* GTH2 board behaves as it should */ > > +void ide_input_swap_data(int dev, ulong *sect_buf, int words) > > +{ > > + ide_input_data(dev, sect_buf, words); > > +} > > + > > diff --git a/common/cmd_ide.c b/common/cmd_ide.c > > That won't compile :) sorry, my bad, i only compile tested on ppc, this is missing a header and endif > Second, re-base on top of next where the gth2 board is gone, this will > make things simpiler. done, will send V2 after MAKEALL -a powerpc finishes, just to be sure cheers Pavel Herrmann