Re: [PATCH v3] ARM: at91: Add Telit EVK-PRO3 board support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/arch/arm/boards/telit-evk-pro3/init.c b/arch/arm/boards/telit-evk-pro3/init.c
> new file mode 100644
> index 0000000..06e6508
> --- /dev/null
> +++ b/arch/arm/boards/telit-evk-pro3/init.c
> @@ -0,0 +1,178 @@
> +/*
> + * Copyright (C) 2007 Sascha Hauer, Pengutronix
> + * Copyright (C) 2013 Fabio Porcedda <fabio.porcedda@xxxxxxxxx>, Telit
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + * GNU General Public License for more details.
> + */
> +
> +#include <asm/armlinux.h>
> +#include <common.h>
> +#include <gpio.h>
> +#include <init.h>
> +#include <linux/clk.h>
> +#include <mach/at91_rstc.h>
> +#include <mach/at91sam9_smc.h>
> +#include <mach/board.h>
> +#include <mach/io.h>
> +#include <nand.h>
> +
> +#define BOOTSTRAP_SIZE 0xC0000
this is really wired

on 9260 you have anly 4KiB of sram so you bootstrap will be 4KiB MAX

and as on 9260 the ROM code does not manage the bbt or even ECC correction

you just need to reserve the first block of the NAND for it

except this

Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux