[PATCH 4/8] ARM s3c boards: Do not hardcode image sizes

Juergen Beisert jbe at pengutronix.de
Sun Aug 12 10:37:30 EDT 2012


Sascha Hauer wrote:
> The existing nand_boot functions all do the same, so move it to
> a common place. To be flexible enough for future boards the real
> image size is used instead of hardcoded 256k.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Juergen Beisert <jbe at pengutronix.de>
> ---
>  arch/arm/boards/a9m2410/a9m2410.c               |    7 -------
>  arch/arm/boards/a9m2440/a9m2440.c               |    7 -------
>  arch/arm/boards/friendlyarm-mini2440/mini2440.c |    7 -------
>  drivers/mtd/nand/nand_s3c24xx.c                 |   10 ++++++++++
>  4 files changed, 10 insertions(+), 21 deletions(-)
>
[...]

I'm fine with this change.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |



More information about the barebox mailing list