[PATCH 4/7] ARM OMAP: Create device file

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Dec 18 12:29:53 EST 2012


On 15:13 Tue 18 Dec     , Teresa Gámez wrote:
> Created wrapper to add omap devices.
> 
> Signed-off-by: Teresa Gámez <t.gamez at phytec.de>
> ---
>  arch/arm/mach-omap/Makefile                      |    4 +-
>  arch/arm/mach-omap/devices.c                     |   69 +++++++++++++++++++
>  arch/arm/mach-omap/include/mach/am33xx-devices.h |   36 ++++++++++
>  arch/arm/mach-omap/include/mach/devices.h        |   27 ++++++++
>  arch/arm/mach-omap/include/mach/omap3-devices.h  |   60 ++++++++++++++++-
>  arch/arm/mach-omap/include/mach/omap4-devices.h  |   77 ++++++++++++++++++++++
>  6 files changed, 269 insertions(+), 4 deletions(-)
>  create mode 100644 arch/arm/mach-omap/devices.c
>  create mode 100644 arch/arm/mach-omap/include/mach/am33xx-devices.h
>  create mode 100644 arch/arm/mach-omap/include/mach/devices.h
>  create mode 100644 arch/arm/mach-omap/include/mach/omap4-devices.h
> 
> diff --git a/arch/arm/mach-omap/Makefile b/arch/arm/mach-omap/Makefile
> index 1536744..494da4e 100644
> --- a/arch/arm/mach-omap/Makefile
> +++ b/arch/arm/mach-omap/Makefile
> @@ -15,8 +15,8 @@
>  # GNU General Public License for more details.
>  #
>  #
> -obj-$(CONFIG_ARCH_OMAP) += syslib.o
> -pbl-$(CONFIG_ARCH_OMAP) += syslib.o
> +obj-$(CONFIG_ARCH_OMAP) += syslib.o devices.o
> +pbl-$(CONFIG_ARCH_OMAP) += syslib.o devices.o
why in the pbl?

the pbl does not need ot add devices

Best Regards,
J.



More information about the barebox mailing list