Re: Problem loading environment from spi-nor flash partition since barebox 2017.01.0

2017-01-13 Thread Trent Piepho
On Wed, 2017-01-11 at 09:32 +0100, Sascha Hauer wrote: > With (real) SPI this is a little different and works as expected: If the > qspi node would be handled by the SPI layer then the SPI core would > register the child nodes as devices on a SPI bus. The normal probe > mechanism would then bind

[PATCH] bootm: fix magicvar name for global_bootm_verbose

2017-01-13 Thread Enrico Jorns
Signed-off-by: Enrico Jorns --- common/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bootm.c b/common/bootm.c index 5984319..81625d9 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -684,5 +684,5 @@

[PATCH] lib: libfile: Fix copying files to a non existing destination

2017-01-13 Thread Teresa Remmet
If the destination file does not exist the stat call to check the file type fails. Extend the check of the stat return value. To allow to copy files to a new destination. Fixes commit 0ec6bd3e1be8 ("libfile: copy_file: Only open regular files with O_TRUNC") Signed-off-by: Teresa Remmet

Re: [PATCH] of_path: only handle no driver for device if it is on a bus

2017-01-13 Thread Ian Abbott
On 13/01/17 07:37, Sascha Hauer wrote: On Thu, Jan 12, 2017 at 12:20:05PM +, Ian Abbott wrote: This fixes a regression in __of_find_path() for flash devices created by the cadence-quadspi driver, which do not have 'dev->driver' set. Such devices do not have 'dev->bus' set either, so we can