[PATCH 3/3] ARM: socfpga: add Altera SoCFPGA Development Kit support

Sascha Hauer s.hauer at pengutronix.de
Thu Feb 19 11:58:42 PST 2015


On Wed, Feb 18, 2015 at 12:54:18PM +0100, Steffen Trumtrar wrote:
> Add support for the Altera SoCFPGA Development Kit.
> The setup is based on the GHRD from Altera.
> 
> index 000000000000..73a5a7481924
> --- /dev/null
> +++ b/arch/arm/boards/altera-socdk/board.c
> @@ -0,0 +1,20 @@
> +#include <common.h>
> +#include <types.h>
> +#include <driver.h>
> +#include <init.h>
> +#include <asm/armlinux.h>
> +#include <linux/micrel_phy.h>
> +#include <linux/phy.h>
> +#include <linux/sizes.h>
> +#include <fcntl.h>
> +#include <fs.h>
> +#include <mach/socfpga-regs.h>
> +
> +static int socfpga_console_init(void)
> +{
> +	if (!of_machine_is_compatible("altr,socdk"))
> +		return 0;
> +
> +	return 0;
> +}
> +console_initcall(socfpga_console_init);

Nothing useful in this file. Better remove it?

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list