From: Wolfgang Denk Date: Thu, 21 Aug 2008 01:31:22 +0200 Subject: [U-Boot] [PATCH 2/3] setting pio modes for IDE devices In-Reply-To: <48A5DA32.10706@harris.com> References: <48A35533.1010901@harris.com> <20080813232020.1BCC6248CD@gemini.denx.de> <48A44235.2010606@harris.com> <20080814164225.GD23097@game.jcrosoft.org> <48A59F6C.3080907@harris.com> <48A5C296.1060801@harris.com> <20080815181230.89BDB248CD@gemini.denx.de> <48A5DA32.10706@harris.com> Message-ID: <20080820233122.C59FE248FF@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 "Steven A. Falco", In message <48A5DA32.10706@harris.com> you wrote: > > [PATCH 2/3] Add a hook to allow board-specific PIO mode setting. > > This patch adds a hook whereby a board-specific routine can be called to > configure hardware for a PIO mode. The prototype for the board-specific > routine is: > > int inline ide_set_piomode(int pio_mode) > > ide_set_piomode should be prepared to configure hardware for a pio_mode > between 0 and 6, inclusive. It should return 0 on success or 1 on failure. > > Signed-off-by: Steven A. Falco > --- > common/cmd_ide.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ > include/ata.h | 4 +++- > 2 files changed, 49 insertions(+), 1 deletions(-) Applied, thanks. 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 man knows what true happiness is until he gets married. By then, of course, its too late.