Re: [PATCH v5] arm: boards: phytec-som-am335x: Update boot scripts

2017-06-27 Thread Sascha Hauer
On Tue, Jun 27, 2017 at 11:45:44AM +0200, Daniel Schultz wrote: > Hi Sascha, > > > Normally the desired behaviour is that the bootsource can be changed > > persistently by setting nv.boot.default to the desired source. This > > does not work when global.boot.default gets overwritten after the

[PATCH v6] arm: boards: phytec-som-am335x: Update boot scripts

2017-06-27 Thread Daniel Schultz
Expand the boot scripts by eMMC and clean them up. Add NV variable files and removed unnecessary kernel bootargs from the boot scripts. Add "rootflags='data=journal'" bootarg to SD card boot script. Signed-off-by: Daniel Schultz ---

[PATCH] ARM: imx: add support for Udoo Neo full

2017-06-27 Thread Uwe Kleine-König
From: Uwe Kleine-König Signed-off-by: Uwe Kleine-König --- Hello, note that this patch only makes the machine work if you don't choose CONSOLE_ACTIVATE_NONE or apply these patches: of_device_is_stdout_path: simplify

Re: [PATCH] ARM: imx: add support for Udoo Neo full

2017-06-27 Thread Stefan Lengfeld
Hi Uwe, Just my too cents: On Tue, Jun 27, 2017 at 09:03:17PM +0200, Uwe Kleine-König wrote: > From: Uwe Kleine-König > > Signed-off-by: Uwe Kleine-König > --- > Hello, > > note that this patch only makes the machine work if you

[PATCH] pinctrl: at91: Bail out if atmel, pins property does not exist

2017-06-27 Thread Sascha Hauer
Do not blindly assume that a device node has a atmel,pins property. Instead, test it for being NULL before using it. This also silences a compiler warning when the driver is compiled without OF support. Signed-off-by: Sascha Hauer --- drivers/pinctrl/pinctrl-at91.c | 3

Re: [PATCH v5] arm: boards: phytec-som-am335x: Update boot scripts

2017-06-27 Thread Daniel Schultz
Hi Sascha, Am 26.06.2017 um 08:35 schrieb Sascha Hauer: On Tue, Jun 20, 2017 at 05:42:22PM +0200, Daniel Schultz wrote: Expand the boot scripts with EMMC and add a default file source for expansions. Removed "rw" and "rootwait" bootargs from existing boot scripts. Why is "rootwait" removed?

Re: [PATCH] defaultenv: bin: init: Add sourcing of config-expansions

2017-06-27 Thread Daniel Schultz
Hi, Am 26.06.2017 um 08:25 schrieb Sascha Hauer: On Tue, Jun 20, 2017 at 05:50:56PM +0200, Daniel Schultz wrote: Hi, Am 19.06.2017 um 09:34 schrieb Sascha Hauer: On Tue, Jun 13, 2017 at 03:37:00PM +0200, Daniel Schultz wrote: This patch adds a further layer to the config hierarchy. It

Re: [PATCH] ARM: dts: i.MX6: fix usdhc3 pinmuxing on tqma6x

2017-06-27 Thread Sascha Hauer
On Fri, Jun 23, 2017 at 05:09:50PM +0200, Michael Tretter wrote: > The usdhc3 pin group wrongly referred the SD4 pads instead of the SD3 pads. > This leads to issues when muxing the SD4_CMD and SD4_CLK pads for uart3. > > This regression was introduced by code refactoring in commit a5207a6 ("ARM:

Re: [DT-UTILS PATCH 1/2] common: Rename strlcpy to DT_strlcpy

2017-06-27 Thread Sascha Hauer
On Fri, Jun 23, 2017 at 12:18:47PM +0200, Marcin Niestroj wrote: > strlcpy function is defined in uClibc library, causing "static > declaration of ‘strlcpy’ follows non-static declaration" build > errors. > > Rename internal strlcpy function to DT_strlcpy to avoid conflicts. > > Signed-off-by:

[PATCH] ARM: omap: Fix error printing

2017-06-27 Thread Sascha Hauer
Presumably the code wanted to print the error with the %d format specifier. Actually pass the error code by using PTR_ERR() and not IS_ERR(). While at it use %ld to print a unsigned long variable to get rid of a compiler warning. Signed-off-by: Sascha Hauer ---

[PATCH] fs: Make locally used function canonicalize_dir() static

2017-06-27 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- fs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fs.c b/fs/fs.c index 0a5b61a2b0..c9226f9ba6 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -246,7 +246,7 @@ char *canonicalize_path(const char *pathname) * * Return:

[PATCH] ARM: omap: phytec-phycore-omap4460: Fix compiler warning

2017-06-27 Thread Sascha Hauer
Use IS_ENABLED() rather than #ifdef to get rid of unused variable warning. Signed-off-by: Sascha Hauer --- arch/arm/boards/phytec-phycore-omap4460/lowlevel.c | 26 +++--- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git