[PATCH] clk: socfpga: fix compiler warnings for Cyclone5

2019-04-08 Thread Ian Abbott
When building for Cyclone5 SoCFPGA, the socfpga_a10_pll_init(), socfpga_a10_perith_init() and socfpga_a10_gate_init() functions are defined as dummy functions returning ERR_PTR(-ENOSYS). They are defined with external linkage. With '-Wmissing-prototypes' GCC warns about externally linked function

watchdog_disable() in Cyclone V reset manager

2019-04-08 Thread Ian Abbott
"arch/arm/mach-socfpga/cyclone5-reset-manager.c" defines a global function 'void watchdog_disable(void)'. Nothing calls it. The compiler issues a warning: /mnt/lindata/work/abbotti/barebox_git/barebox-next/arch/arm/mach-socfpga/cyclone5-reset-manager.c:26:6: warning: no previous prototype fo

Re: Boards possibly broken due to dts merge of v5.1-rc1

2019-04-08 Thread Teresa Remmet
Hello Sascha, Am Montag, den 08.04.2019, 10:26 +0200 schrieb Sascha Hauer: > On Mon, Apr 08, 2019 at 10:16:02AM +0200, Sascha Hauer wrote: > > Hi, > > > > I had to squash the attached patch into the patch of the v5.1-rc1 > > dts > > kernel merge. Some boards may be broken due to this, please chec

[PATCH] common: bootchooser: Fix compile warning

2019-04-08 Thread Teresa Remmet
Make bootchooser_get_target() static to prevent following warning: common/bootchooser.c:633:28: warning: no previous prototype for ‘bootchooser_get_target’ [-Wmissing-prototypes] struct bootchooser_target *bootchooser_get_target(struct bootchooser *bc) Signed-off-by: Teresa Remmet ---

Re: Boards possibly broken due to dts merge of v5.1-rc1

2019-04-08 Thread Sascha Hauer
On Mon, Apr 08, 2019 at 10:16:02AM +0200, Sascha Hauer wrote: > Hi, > > I had to squash the attached patch into the patch of the v5.1-rc1 dts > kernel merge. Some boards may be broken due to this, please check if > the changes make sense and work. > > Sascha > > --8<-

Boards possibly broken due to dts merge of v5.1-rc1

2019-04-08 Thread Sascha Hauer
Hi, I had to squash the attached patch into the patch of the v5.1-rc1 dts kernel merge. Some boards may be broken due to this, please check if the changes make sense and work. Sascha --8<- >From 147937abd8f901024aecfc91402175194b0b37ce Mon Sep