[PATCH 1/3] net: designware: socfpga: fix phy setup for Arria10

2019-10-17 Thread Steffen Trumtrar
Barebox-version of the Linux v5.2 patch: 40ae25505fe834648ce4aa70b073ee934942bfdb net: stmmac: socfpga: fix phy and ptp_ref setup for Arria10/Stratix10 On the Arria10, Agilex, and Stratix10 SoC, there are a few differences from the Cyclone5 and Arria5: - The emac PHY setup

[PATCH 3/3] ARM: socfpga: defconfig: enable state_drv

2019-10-17 Thread Steffen Trumtrar
The Arria10 DTS uses the state framework. Enable the driver so it gets probed. Signed-off-by: Steffen Trumtrar --- arch/arm/configs/socfpga-arria10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/socfpga-arria10_defconfig

[PATCH 2/3] ARM: socfpga: cyclone5-system-manager.h: remove defines

2019-10-17 Thread Steffen Trumtrar
These defines are common for arria10 and cyclone5. Instead of having them here, they are moved to drivers/net/designware_socfpga.c. Signed-off-by: Steffen Trumtrar --- .../include/mach/cyclone5-system-manager.h| 11 --- 1 file changed, 11 deletions(-) diff --git

Re: readling, ctrl-u is not working like linux console

2019-10-17 Thread Roland Hieber
On Wed, Oct 16, 2019 at 09:47:05PM +0800, duhuanpeng wrote: > > > > FWIW, in bash on both my tty2 and urxvt, Ctrl-U clears the whole line. > > did you try to move your cursor in the middle of a line. Ah, I misread your first mail. Yes, my bash only discards characters before the cursor until

Re: MFGTools from NXP

2019-10-17 Thread Mihaita Ivascu
Yes I have tried with 2019.01.0 barebox but no change. On linux I cannot even connect with PUTTY even though /dev/ttyACM0 is present. On Windows at least I can connect via PUTTY On both OSes fastboot does not list any device. But the board is detected in device manager/dmesg. Best regards,

[PATCH 3/3] ARM: socfpga: arria10-xload: fix Wmissing-prototypes

2019-10-17 Thread Steffen Trumtrar
Fix the warning: arch/arm/mach-socfpga/arria10-xload.c:17:5: warning: no previous prototype for 'a10_update_bits' [-Wmissing-prototypes] 17 | int a10_update_bits(unsigned int reg, unsigned int mask, | ^~~ Signed-off-by: Steffen Trumtrar ---

[PATCH 2/3] ARM: socfpga: clock-manager: fix Wmissing-prototypes

2019-10-17 Thread Steffen Trumtrar
Fix the warning arch/arm/mach-socfpga/arria10-clock-manager.c:113:14: warning: no previous prototype for 'arria10_cm_get_mmc_controller_clk_hz' [-Wmissing-prototypes] 113 | unsigned int arria10_cm_get_mmc_controller_clk_hz(void) | ^~~~

[PATCH 1/3] ARM: socfpga: reset-manager: fix Wmissing-prototypes

2019-10-17 Thread Steffen Trumtrar
Fix the following warnings arch/arm/mach-socfpga/arria10-reset-manager.c:152:6: warning: no previous prototype for 'arria10_reset_deassert_shared_peripherals_q1' [-Wmissing-prototypes] 152 | void arria10_reset_deassert_shared_peripherals_q1(uint32_t *mask0, |