[PATCH 3/3] ARM: socfpga: add Altera SoCFPGA Development Kit support
Steffen Trumtrar
s.trumtrar at pengutronix.de
Thu Feb 19 23:49:04 PST 2015
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?
Regards,
Steffen
--
Pengutronix e.K. | Steffen Trumtrar |
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