1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Luka Perkov 432743c327 target: socfpga: Add Altera SoCFPGA support
This patch adds support for the Altera SoCFPGA target.
Both generic target and Terasic SoCkit boards are supported.

Signed-off-by: Marek Vasut <marex@denx.de>

SVN-Revision: 49367
2016-05-10 22:52:00 +00:00

26 lines
330 B
Bash

#!/bin/sh
#
# Copyright (C) 2015 OpenWrt.org
#
[ -e /etc/config/network ] && exit 0
touch /etc/config/network
. /lib/functions/uci-defaults.sh
. /lib/socfpga.sh
board=$(socfpga_board_name)
ucidef_set_interface_loopback
case "$board" in
"socfpga-sockit")
ucidef_set_interface_lan 'eth0'
;;
esac
uci commit network
exit 0