[U-Boot] [PATCH v2 2/2] ppc4xx: Add SPI helper routines for the 440EPX
Stefan Roese
sr at denx.de
Tue Dec 9 06:43:35 CET 2008
On Monday 08 December 2008, Steven A. Falco wrote:
> This patch adds helper routines needed in support of the 440EPx SPI driver.
Please find a comment below.
<snip>
> diff --git a/board/amcc/sequoia/sequoia.c b/board/amcc/sequoia/sequoia.c
> index d6668e2..cd08a77 100644
> --- a/board/amcc/sequoia/sequoia.c
> +++ b/board/amcc/sequoia/sequoia.c
> @@ -26,6 +26,7 @@
> #include <libfdt.h>
> #include <fdt_support.h>
> #include <ppc4xx.h>
> +#include <spi.h>
> #include <asm/gpio.h>
> #include <asm/processor.h>
> #include <asm/io.h>
> @@ -513,3 +514,22 @@ int post_hotkeys_pressed(void)
> return 0; /* No hotkeys supported */
> }
> #endif /* CONFIG_POST */
> +
> +#if defined(CONFIG_PPC440EPX_SPI)
As mentioned in my other mail, please use CONFIG_PPC4xx_SPI here.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list