[PATCH 18/19] arm: beaglebone: add first-stage support for AM335x and board

Teresa Gámez t.gamez at phytec.de
Wed Dec 19 07:07:33 EST 2012


Hello Jan,

On Tue, 18. Dec 15:22, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---

[...]
 
> diff --git a/arch/arm/boards/beaglebone/board.c b/arch/arm/boards/beaglebone/board.c
> new file mode 100644
> index 0000000..d139e94
> --- /dev/null
> +++ b/arch/arm/boards/beaglebone/board.c
> @@ -0,0 +1,358 @@
> +/*
> + * (C) Copyright 2008
> + * Texas Instruments, <www.ti.com>
> + * Raghavendra KH <r-khandenahally at ti.com>
> + *
> + * Copyright (C) 2012 Jan Luebbe <j.luebbe at pengutronix.de>
> + *
> + * 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.
> + */
> +
> +/**
> + * @file
> + * @brief BeagleBone Specific Board Initialization routines
> + */
> +
> +#include <common.h>
> +#include <console.h>
> +#include <init.h>
> +#include <driver.h>
> +#include <fs.h>
> +#include <linux/stat.h>
> +#include <environment.h>
> +#include <sizes.h>
> +#include <io.h>
> +#include <ns16550.h>
> +#include <asm/armlinux.h>
> +#include <generated/mach-types.h>
> +#include <mach/am33xx-silicon.h>
> +#include <mach/am33xx-clock.h>
> +#include <mach/sdrc.h>
> +#include <mach/sys_info.h>
> +#include <mach/syslib.h>
> +#include <mach/gpmc.h>
> +#include <mach/ehci.h>
> +#include <i2c/i2c.h>
> +#include <linux/err.h>
> +#include <usb/ehci.h>
> +#include <mach/xload.h>
> +#include <mach/am33xx-devices.h>
> +#include <mach/am33xx-mux.h>
> +#include <mach/cpsw.h>

This won't compile as mach/cpsw.h is not known yet.
Move this line to next patch.

Regards,
Teresa



More information about the barebox mailing list