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

Sascha Hauer s.hauer at pengutronix.de
Sun Feb 22 23:34:16 PST 2015


On Fri, Feb 20, 2015 at 08:49:04AM +0100, Steffen Trumtrar wrote:
> 
> Hi!
> 
> Sascha Hauer writes:
> > 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?
> >
> 
> As it turns out, I actually need to call a phyfixup for the board here.
> What would you prefer: Fixup or Resend?

Since I haven't applied it: resend.

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