[PATCH 2/9] Fine split S3C arch dependencies from generic code

Juergen Beisert jbe at pengutronix.de
Mon May 14 04:03:01 EDT 2012


Alexey Galakhov wrote:
> Signed-off-by: Alexey Galakhov <agalakhov at gmail.com>
> ---
>  arch/arm/boards/a9m2410/a9m2410.c                  |   10 +-
>  arch/arm/boards/a9m2440/a9m2410dev.c               |    2 +-
>  arch/arm/boards/a9m2440/a9m2440.c                  |   10 +-
>  arch/arm/boards/mini2440/mini2440.c                |   10 +-
> [...]
>  delete mode 100644 arch/arm/mach-samsung/include/mach/s3c24xx-gpio.h
>  create mode 100644 arch/arm/mach-samsung/include/mach/gpio-s3c24x0.h
> [...]
>  create mode 100644 arch/arm/mach-samsung/include/mach/nand-s3c24x0.h
>  delete mode 100644 arch/arm/mach-samsung/include/mach/s3c24xx-nand.h
> [...]
> diff --git a/arch/arm/boards/a9m2410/a9m2410.c
> b/arch/arm/boards/a9m2410/a9m2410.c index 1a3181e..e416c8e 100644
> --- a/arch/arm/boards/a9m2410/a9m2410.c
> +++ b/arch/arm/boards/a9m2410/a9m2410.c
> @@ -33,10 +33,10 @@
>  #include <nand.h>
>  #include <io.h>
>  #include <mach/s3c-iomap.h>
> -#include <mach/s3c24xx-nand.h>
> +#include <mach/nand-s3c24x0.h>
>  #include <mach/s3c-generic.h>
>  #include <mach/s3c-busctl.h>
> -#include <mach/s3c24xx-gpio.h>
> +#include <mach/gpio-s3c24x0.h>
> [...]
>  delete mode 100644 arch/arm/mach-samsung/s3c24xx-clocks.c

You have to touch all S3C24xx based board files just to rename these files 
from "<socname>-<function>.h" to "<function>-<socname>.h"?

jbe

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



More information about the barebox mailing list