[U-Boot] [PATCH 2/3] setting pio modes for IDE devices

Wolfgang Denk wd at denx.de
Thu Aug 21 01:31:22 CEST 2008


Dear "Steven A. Falco",

In message <48A5DA32.10706 at 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 <sfalco at harris.com>
> ---
>  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.


More information about the U-Boot mailing list