[U-Boot] [PATCH 36/42] Blackfin: cm-bf548: new board port

Scott Wood scottwood at freescale.com
Tue Feb 10 18:34:03 CET 2009


On Tue, Feb 10, 2009 at 01:21:14AM -0500, Mike Frysinger wrote:
> diff --git a/board/cm-bf548/nand.c b/board/cm-bf548/nand.c
> new file mode 100644
> index 0000000..bce563e
> --- /dev/null
> +++ b/board/cm-bf548/nand.c
> @@ -0,0 +1,2 @@
> +/* Share the nand driver */
> +#include "../bf548-ezkit/nand.c"
> diff --git a/board/cm-bf548/spi_flash.c b/board/cm-bf548/spi_flash.c
> new file mode 100644
> index 0000000..8784741
> --- /dev/null
> +++ b/board/cm-bf548/spi_flash.c
> @@ -0,0 +1,2 @@
> +/* Share the spi flash code */
> +#include "../bf537-stamp/spi_flash.c"

Why not move the driver to a more appropriate directory, if it's going to
be shared?

-Scott


More information about the U-Boot mailing list