u-boot/board
Tony Dinh dbd2a382c1 arm: kirkwood: nsa310s: Use Marvell uclass mvgbe and PHY driver for DM Ethernet
The Zyxel NSA310s board has the network chip Marvell Alaska 88E1318S.
Use uclass mvgbe and the compatible driver M88E1310 driver to bring
up Ethernet.

- Use uclass mvgbe to bring up the network. And remove ad-hoc code.
- Remove CONFIG_RESET_PHY_R.
- Enable CONFIG_PHY_MARVELL to properly configure the network.
- Add phy mode RGMII to kirkwood-nsa310s.dts
- Miscellaneous changes: Move constants to .c file and remove header file
board/zyxel/nsa310s/nsa310s.h, add support for large USB and SATA HDDs,
use BIT macro, add/cleanup comments, and cosmetic changes.

Note that this patch is depended on the following patch:
https://patchwork.ozlabs.org/project/uboot/patch/20220412201820.10291-1-mibodhi@gmail.com/

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
2022-05-02 07:47:26 +02:00
..
abilis/tb100 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
advantech capsule: board: Add information needed for capsule updates 2022-04-15 10:43:18 +02:00
alliedtelesis ARM: mvebu: x530: clearfog: Add ODT configuration 2022-03-04 08:38:05 +01:00
altera Merge branch '2021.04-rc' of https://github.com/lftan/u-boot 2021-01-15 07:55:11 -05:00
amarula/vyasa-rk3288 common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
amlogic board: amlogic: vim3: configure serial# from ethaddr 2022-01-20 09:50:54 +01:00
AndesTech/ax25-ae350 nds32: Remove the architecture 2022-04-25 16:04:05 -04:00
aries/mcvevk arm: socfpga: Re-add support for Aries MCV SoM and MCVEV[KP] board 2019-05-14 19:52:39 +02:00
aristainetos led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
armadeus/opos6uldev imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
armltd arm: integrator: Migrate platform-specific options and cleanup armcoremodule.h 2022-04-08 09:05:19 -04:00
aspeed configs: aspeed: Add defconfig for AST2600 EVB 2021-01-18 15:23:06 -05:00
astro/mcf5373l common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
atmark-techno/armadillo-800eva WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
atmel configs: Add sam9x60_curiosity_mmc_defconfig 2022-04-26 09:50:24 +03:00
avionic-design common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
beacon imx: imx8mm/imx8mn_beacon: Remove redundant code 2022-04-12 15:36:17 +02:00
beckhoff/mx53cx9020 arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
birdland/bav335x arm: Remove bav335x board 2020-07-09 20:58:05 +05:30
bitmain/antminer_s9 xilinx: Introduce board_late_init_xilinx() 2020-04-27 13:57:17 +02:00
bluewater Convert CONFIG_ATMEL_LCD et al to Kconfig 2022-03-25 12:01:15 +00:00
bosch led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
boundary/nitrogen6x net: phy: don't require PHY interface mode during PHY creation 2022-04-10 08:44:13 +03:00
broadcom bcm96753ref: add initial support 2022-03-07 11:36:12 -05:00
bsh/imx8mn_smm_s2 board: bsh: imx8mn_bsh_smm_s2/s2pro: enable DM_SERIAL 2022-04-21 15:18:25 +02:00
bticino/mamoj common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
buffalo/lsxl Convert CONFIG_LSCHLV2 to Kconfig et al 2022-04-01 10:28:46 -04:00
BuR brxre1: disable video after DM_VIDEO conversion deadline 2021-06-05 10:40:47 +02:00
BuS/eb_cpu5282 global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
cadence/xtfpga Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
calao/usb_a9263 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cavium/thunderx pci: Drop pci_init_board() 2021-08-06 08:26:48 -04:00
cei/cei-tk1-som
chipspark/popmetal_rk3288 board: rk3288: add more DT files to MAINTAINERS 2022-04-18 11:25:13 +08:00
cloudengines arm: kirkwood: Pogoplug E02 : Convert Ethernet to Driver Model 2022-02-10 07:12:16 +01:00
cobra5272 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
compal/paz00 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
compulab imx8mm-cl-iot-gate: Remove redundant board_fix_fdt() 2022-04-21 23:00:26 +02:00
comtrend
congatec board: .gitignore: replace dsdt.c by dsdt_generated.c 2022-03-08 08:42:43 -05:00
coreboot x86: Correct the coreboot header file in MAINTAINERS 2022-03-14 15:20:40 +08:00
cortina armv8: Fix and simplify branch_if_master/branch_if_slave 2022-03-02 13:59:29 -05:00
cssi nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
CZ.NIC arm: mvebu: turris_omnia: Fix RESET button message 2022-05-02 07:29:55 +02:00
d-link/dns325 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
data_modul/imx8mm_edm_sbc ARM: dts: imx: Add support for Data Modul i.MX8M Mini eDM SBC 2022-04-12 19:10:44 +02:00
davinci/da8xxevm omapl138_lcdk: Stop using CONFIG_MACH_OMAPL138_LCDK 2021-09-27 21:38:34 -04:00
devboards/dbm-soc1
dfi scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c 2022-02-25 11:21:24 -05:00
dhelectronics led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
ea imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
ebv/socrates arm: socfpga: socrates: make rtc work 2019-04-25 00:00:49 +02:00
eets/pdu001 arm: pdu001: Setup pinmux for console UART as early as possible 2022-02-28 10:33:11 -05:00
efi efi: Add video support to the app 2021-11-07 18:36:55 +01:00
egnite/ethernut5 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
elgin/elgin_rv1108 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
embest/mx6boards serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
emulation capsule: board: Add information needed for capsule updates 2022-04-15 10:43:18 +02:00
engicam engicam: px30: Add Engicam PX30.Core C.TOUCH 2.0 10.1" OF 2021-12-24 14:56:58 +08:00
esd/meesc global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
firefly treewide: fdt: Move fdt_get_config_... to ofnode_conf_read... 2021-09-25 09:46:15 -06:00
freescale board: ls1046afrwy: Remove Manish Tomar's email 2022-04-26 17:18:39 +05:30
friendlyarm arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
gardena led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
gateworks led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
gdsys net: phy: don't require PHY interface mode during PHY creation 2022-04-10 08:44:13 +03:00
ge Remove CONFIG_BOARDNAME and CONFIG_BOARD_NAME 2022-04-01 10:28:46 -04:00
geekbuying/geekbox rockchip: rk3368: Migrate to use common board file 2019-07-29 10:27:48 +08:00
google board: google: veyron: add more DT files to MAINTAINERS 2022-04-18 11:25:13 +08:00
grinn Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
hardkernel/odroid_go2 rockchip: board: add Hardkernel Odroid Go2 board 2020-07-22 20:21:23 +08:00
highbank sandbox: Remove OF_HOSTFILE 2021-10-27 16:38:26 -04:00
hisilicon WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
hoperun/hihope-rzg2 arm: use the correct prototype for reset_cpu function 2021-07-28 19:30:22 -04:00
huawei/hg556a
ids/ids8313 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imgtec mmc: Rename MMC_SUPPORT to MMC 2021-09-04 11:42:41 -04:00
intel board: .gitignore: replace dsdt.c by dsdt_generated.c 2022-03-08 08:42:43 -05:00
inversepath/usbarmory arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
iomega/iconnect arm: kirkwood: iConnect : Add Ethernet support 2022-02-10 07:12:16 +01:00
is1
isee common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
k+p led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
keymile Convert CONFIG_KM_COGE5UN et al to Kconfig 2022-04-01 10:28:46 -04:00
kmc/kzm9g reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
kobol/helios4 arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header 2021-07-31 09:59:58 +02:00
kontron board: sl28: add basic PSCI implementation 2022-04-26 17:13:57 +05:30
kosagi/novena video: Drop references to CONFIG_VIDEO et al 2022-03-28 20:17:07 +02:00
l+g/vinco Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
LaCie Convert CONFIG_88F5182 et al to Kconfig 2021-12-27 16:20:19 -05:00
lego/ev3 Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
lg/sniper arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
liebherr arm: xea: config: Provide special defconfig for a single binary u-boot 2022-02-05 13:38:39 +01:00
logicpd ARM: am3517_evm: Remove hard-coded pin muxing 2022-03-10 13:57:04 -05:00
Marvell arm: kirkwood: Sheevaplug : Use Marvell uclass mvgbe and PHY driver for Ethernet 2022-04-21 13:14:52 +02:00
maxbcm common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mediatek WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
menlo ARM: dts: imx8mm: Add i.MX8M Mini Toradex Verdin based Menlo board 2022-04-12 21:08:23 +02:00
microchip riscv: Update Microchip MPFS Icicle Kit support 2021-12-02 16:43:52 +08:00
mikrotik/crs3xx-98dx3236 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mqmaker/miqi_rk3288 board: rk3288: add more DT files to MAINTAINERS 2022-04-18 11:25:13 +08:00
mscc led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
myir/mys_6ulx common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
netgear common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nokia/rx51 Nokia RX-51: Convert to CONFIG_DM_VIDEO 2022-03-09 21:28:53 +01:00
novtech/meerkat96 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
nvidia ARM: tegra: Refactor DT update helpers 2021-10-13 14:18:30 -07:00
olimex/mx23_olinuxino mx23_olinuxino: convert MMC to driver model 2021-04-08 23:59:50 +02:00
opalkelly/zynq WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
openpiton/riscv64 riscv: dts: add OpenPiton RISC-V board dts support 2021-07-07 20:34:02 +08:00
out4/o4-imx6ull-nano imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
phytec led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
phytium arm: add initial support for the Phytium Pomelo Board 2022-03-10 13:57:04 -05:00
pine64 rockchip: Add initial support for the Pinebook Pro laptop from Pine64. 2020-05-31 22:22:07 +08:00
qca Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
qualcomm WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
radxa board: rk3288: add more DT files to MAINTAINERS 2022-04-18 11:25:13 +08:00
raidsonic/ib62x0 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
raspberrypi/rpi Prepare v2022.01-rc4 2021-12-20 17:12:04 -05:00
renesas Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
rikomagic/mk808 rockchip: rk3066: add Rikomagic MK808 board 2022-04-18 11:25:13 +08:00
rockchip board: rk3288: add more DT files to MAINTAINERS 2022-04-18 11:25:13 +08:00
ronetix at91: Remove unused LED code 2022-04-08 09:05:20 -04:00
sagem/f@st1704
samsung Convert CONFIG_SYS_MEM_TOP_HIDE to Kconfig 2022-04-19 14:52:34 -04:00
sandbox led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
Seagate arm: kirkwood: Dockstar : Add DM Ethernet 2022-02-10 07:12:16 +01:00
seeed imx: Add SeeedStudio NPI-IMX6ULL Support 2021-06-09 13:34:18 +02:00
sfr/nb4_ser
siemens led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
sifive riscv: sifive: Fix OF_BOARD boot failure 2022-01-07 09:30:44 -05:00
silinux/ek874 arm: use the correct prototype for reset_cpu function 2021-07-28 19:30:22 -04:00
sipeed/maix k210: use the board vendor name rather than the marketing name 2022-03-15 17:43:11 +08:00
socionext/developerbox capsule: board: Add information needed for capsule updates 2022-04-15 10:43:18 +02:00
socrates video: Drop video_fb header 2022-03-28 20:16:46 +02:00
softing imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
solidrun ARM: mvebu: x530: clearfog: Add ODT configuration 2022-03-04 08:38:05 +01:00
somlabs/visionsom-6ull imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
sr1500 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
st led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
ste/stemmy board: stemmy: Detect board variants and patch DTB 2022-02-28 10:33:45 -05:00
storopack/smegw01 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
sunxi arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid 2022-04-21 15:27:18 -04:00
Synology arm: Finish migration of CONFIG_MACH_TYPE 2021-09-07 19:17:32 -04:00
synopsys image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
sysam stmark2: Migrate CONFIG_SYS_EXTRA_OPTIONS to Kconfig 2022-04-01 10:28:46 -04:00
tbs/tbs2910 tbs2910: Convert to DM_SERIAL 2022-04-12 15:36:18 +02:00
tcl/sl50 Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
technexion imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
terasic WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
theadorable arm: mvebu: theadorable: Switch to using DM I2C API 2021-12-19 09:50:47 +01:00
theobroma-systems rockchip: puma/lion: update MAINTAINERS file 2022-01-07 09:30:44 -05:00
ti board: ti: am335x: Add support for BBE Extended WiFi 2022-04-21 09:08:57 -04:00
timll lpc32xx: Kconfig: switch to CONFIG_CONS_INDEX 2021-07-06 14:11:50 -04:00
topic/zynq board: topic-miami: Set FCLK1 to 150MHz 2020-06-24 13:11:08 +02:00
toradex board: toradex: drop colibri pxa270 support 2022-04-21 12:48:30 +02:00
tplink/wdr4300 Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
tq/tqma6 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
traverse board: traverse: add initial Ten64 support 2022-02-01 15:04:24 +05:30
udoo udoo: Call gpio_request() 2022-01-08 11:16:03 -05:00
vamrs/rock960_rk3399 rockchip: Remove ARCH= references from documentation 2020-06-02 17:27:04 -04:00
variscite imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
vocore/vocore2 mips: Add support for SoM "VoCore2". 2020-04-27 20:30:14 +02:00
vscom/baltos Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
wandboard MAINTAINERS: Use my personal e-mail address 2021-04-08 20:29:53 +02:00
warp imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
warp7 warp7: Remove UART initialization code 2022-04-12 15:36:18 +02:00
work-microwave/work_92105 Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
xen/xenguest_arm64 Convert CONFIG_CONS_INDEX et al to Kconfig 2021-12-27 08:41:38 -05:00
xes/common Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
xilinx xilinx: versal: board: use CONFIG_COUNTER_FREQUENCY 2022-04-21 14:32:40 -04:00
zyxel/nsa310s arm: kirkwood: nsa310s: Use Marvell uclass mvgbe and PHY driver for DM Ethernet 2022-05-02 07:47:26 +02:00