Re: [PATCH] console: added colored print out of log levels

2018-02-21 Thread Sascha Hauer
Hi Eugen, On Wed, Feb 21, 2018 at 09:26:38AM +0100, Eugen Wiens wrote: > When the system is booting the warnings and errors are not be quickly > discovered. With this improvement the errors are colored red, the > warnings yellow and the notices blue. I polished the patch a bit to match the

Re: [PATCH] efi: add bootsource detection

2018-02-21 Thread Sascha Hauer
On Tue, Feb 20, 2018 at 12:17:06PM +0100, Enrico Jorns wrote: > We check the supported protocol of the parent EFI device of > 'efi_loaded_image' to see if we are booted from USB or not (HD) > > Signed-off-by: Enrico Jorns > --- > drivers/efi/efi-device.c | 48 >

Re: [PATCH] net: cpsw: remove unnecessary mdiobus_scan()

2018-02-21 Thread Sascha Hauer
On Mon, Feb 19, 2018 at 12:08:34PM +0100, l...@schmidt-andreas.de wrote: > On 2018-02-19 07:54, Sascha Hauer wrote: > > On Sat, Feb 17, 2018 at 10:18:16AM +0100, Andreas Schmidt wrote: > [...] > > > On 16.02.2018 08:39, Sascha Hauer wrote: > > > > No need to call mdiobus_scan() manually. it is

Re: [PATCH] DHCP: fix option 54 passing

2018-02-21 Thread Sascha Hauer
On Tue, Feb 20, 2018 at 08:47:50AM +0100, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > Though variable net_dhcp_server_ip was declared and used as a > function parameter it was never assigned. That's why a DHCP > request was sent without option 54 set.

[PATCH] ARM/i.MX53: fix SDRAM setup routines

2018-02-21 Thread Juergen Borleis
Fix setup of the SDRAM's MR0 register: 'val' gets overwritten by the chip select decision and nothing is written to the MR0 register. This fix is required since some i.MX53 based platforms still use this software setup routine to configure their SDRAMs. Signed-off-by: Juergen Borleis

Re: [RFC PATCH v2 7/8] ratp: new md and mw commands

2018-02-21 Thread Aleksander Morgado
>> read and write memory files without needing to do custom string >> parsing on the data returned by the console 'md' and 'mw' operations. >> >> The request and response messages used for these new operations are >> structured in the same way: >> >> * An initial fixed-sized section includes the

Re: [PATCH 1/3] arm: ARM64 doen't provide the armlinux_ functions

2018-02-21 Thread Roland Hieber
I guess the subject should contain a "doesn't"? :-) On 21.02.2018 10:53, Lucas Stach wrote: Those set parameters specific to the older ARM Linux implementation. Signed-off-by: Lucas Stach --- arch/arm/include/asm/armlinux.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/3] arm: ARM64 doen't provide the armlinux_ functions

2018-02-21 Thread Lucas Stach
Those set parameters specific to the older ARM Linux implementation. Signed-off-by: Lucas Stach --- arch/arm/include/asm/armlinux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h index

[PATCH 3/3] at91sam9263ek: don't build legacy init when OFDEVICE is enabled

2018-02-21 Thread Lucas Stach
The DT enabled build will fail when trying to reference the legacy init funtions. Fixes: b467c262b5a7 (at91sam9263ek: enable DT support) Signed-off-by: Lucas Stach --- Is this the correct fix? --- arch/arm/boards/at91sam9263ek/Makefile | 4 +++- 1 file changed, 3

[PATCH 2/3] lib: add weak clz/ctz functions

2018-02-21 Thread Lucas Stach
This is a copy of the Linux kernel implementation. This adds weak functions for the clz and ctz gcc builtins. Normally GCC will map those builtins to CPU instructions directly, but for CPUs where those are unavailable, we need to provide a fallback implementation. Fixes build of the zlib

[PATCH] console: added colored print out of log levels

2018-02-21 Thread Eugen Wiens
When the system is booting the warnings and errors are not be quickly discovered. With this improvement the errors are colored red, the warnings yellow and the notices blue. Signed-off-by: Eugen Wiens --- common/console_common.c | 25 + 1 file