[PATCH] move boards to arch/<architecure>/boards

Sascha Hauer s.hauer at pengutronix.de
Fri Jul 23 02:41:32 EDT 2010


Hi Jean Christophe,

You missed board/ipe337/env/bin/magic.bin in this patch. On the -next
branch there is guf-neso board support which was missing in the patch.
I fixed this and applied the patch to -next.

On Thu, Jul 22, 2010 at 05:00:13AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> this will allow each arch to handle the boards more simply and depending on
> there need
> 
> the env var BOARD will refer to the current board dirent
> 
> for sandbox as we have only one board the board dirent is arch/sandbox/board
> 
>  
>  If your board needs a special binary @a barebox layout, you can provide a local
>  board linker script file. This will replace the generic one provided by your
> diff --git a/drivers/nand/atmel_nand.c b/drivers/nand/atmel_nand.c
> index c3669e5..6200bcf 100644
> --- a/drivers/nand/atmel_nand.c
> +++ b/drivers/nand/atmel_nand.c
> @@ -12,7 +12,7 @@
>   *     Richard Genoud (richard.genoud at gmail.com), Adeneo Copyright (C) 2007
>   *
>   *     Derived from Das barebox source code
> - *     		(barebox-1.1.5/board/atmel/at91sam9263ek/nand.c)
> + *     		(barebox-1.1.5/arch/arm/boards/atmel/at91sam9263ek/nand.c)
>   *     (C) Copyright 2006 ATMEL Rousset, Lacressonniere Nicolas

Seems this file has been a victim of mass-replacing before ;)
I skipped this hunk and added the following instead:

commit b8063f72f0ff2f289151fb48815b8600f53c8cfc
Author: Sascha Hauer <s.hauer at pengutronix.de>
Date:   Fri Jul 23 08:37:47 2010 +0200

    atmel_nand: fix comment where this code is derived from
    
    Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index c3669e5..e8f85fc 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -11,8 +11,8 @@
  *  Add Hardware ECC support for AT91SAM9260 / AT91SAM9263
  *     Richard Genoud (richard.genoud at gmail.com), Adeneo Copyright (C) 2007
  *
- *     Derived from Das barebox source code
- *     		(barebox-1.1.5/board/atmel/at91sam9263ek/nand.c)
+ *     Derived from Das U-Boot source code
+ *     		(u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c)
  *     (C) Copyright 2006 ATMEL Rousset, Lacressonniere Nicolas
  *
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list