[PATCH 0/3] fix pllv3 defects reported by Coverity

2020-01-17 Thread Giulio Benetti
Giulio Benetti (3): clk: imx: pllv3: fix potential 'divide by zero' in sys_get_rate() clk: imx: pllv3: fix potential 'divide by zero' in av_get_rate() clk: imx: pllv3: fix potential 'divide by zero' in av_set_rate() drivers/clk/imx/clk-pllv3.c | 23 +++ 1 file changed,

[PATCH 1/3] clk: imx: pllv3: fix potential 'divide by zero' in sys_get_rate()

2020-01-17 Thread Giulio Benetti
Guard 'parent_rate==0' to prevent 'divide by zero' issue in clk_pplv3_sys_get_rate(). Also, guard 'parent_rate<0' that would mean that clk_get_parent_rate() returned an error, so better to return early with error EINVAL. Signed-off-by: Giulio Benetti --- drivers/clk/imx/clk-pllv3.c | 10

[PATCH v1] doc: README.distro: Special case with Windows formatted disk

2020-01-17 Thread Andy Shevchenko
If someone wants to use shared (by installed OS) eMMC partition to the Windows to boot from, it's not possible due to U-Boot limitations. Describe this case and possible workaround. Signed-off-by: Andy Shevchenko --- doc/README.distro | 20 1 file changed, 20 insertions(+)

[PATCH] buildman: Enable buildman on aarch64 hosts

2020-01-17 Thread matthias . bgg
From: Matthias Brugger At kernel.org aarch64 toolchains are published in folder arm64. Fix the URL for that case, so that we can fetch toolchains on aarch64 machines. Signed-off-by: Matthias Brugger --- tools/buildman/toolchain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH] mx7ulp: soc: s_init should only be executed once

2020-01-17 Thread Jorge Ramirez-Ortiz
On SPL enabled systems, the current s_init code (wdog, clock and ldo init) is executed twice (by SPL and u-boot). This is not necessary and might lead to boot issues (ie, starting PMC1 when it is already running). Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/mach-imx/mx7ulp/soc.c | 2 ++ 1

Re: fat: handle Windows formatted partition (thru USB Mass Storage)

2020-01-17 Thread Andy Shevchenko
On Fri, Jan 17, 2020 at 8:13 AM AKASHI Takahiro wrote: > On Thu, Jan 16, 2020 at 10:31:49PM +0200, Andy Shevchenko wrote: ... > > Prerequisites: > > - the board with U-Boot and installed Linux OS on eMMC > > - g_multi module in Linux OS that shares *one of the eMMC partitions* > > (pay

Re: [PATCH] clk: uclass: clk_get_by_name() must not be available if CONFIG_OF_PLATDATA is enabled

2020-01-17 Thread Giulio Benetti
Hi Lukasz, On 12/15/19 4:09 PM, Giulio Benetti wrote: Hi Lukasz, On 12/15/19 2:50 PM, Lukasz Majewski wrote: Hi Giulio, On 12/13/19 11:09 AM, Lukasz Majewski wrote: On Fri, 13 Dec 2019 00:02:25 +0100 Giulio Benetti wrote: Hi Lukasz, On 12/12/19 11:53 PM, Giulio Benetti wrote:

Re: question: mx7ulp - LDO_ENABLED_MODE

2020-01-17 Thread Jorge Ramirez-Ortiz, Gmail
On 16/01/20 19:38:39, Fabio Estevam wrote: > On Thu, Jan 16, 2020 at 7:24 PM Jorge Ramirez-Ortiz, Gmail > wrote: > > > um still nothing. > > will debug more in the morning - will add more debug info. > > thanks for the quick responses! > > Ok, just tested mainline U-Boot (without any changes)

Re: [PATCH v2 1/9] lib: elf: Move the generic elf loading/validating functions to lib

2020-01-17 Thread Keerthy
On 17/01/20 1:19 pm, Simon Goldschmidt wrote: On Fri, Jan 17, 2020 at 5:27 AM Lokesh Vutla wrote: Simon, On 13/01/20 11:24 AM, Keerthy wrote: Move the generic elf loading/validating functions to lib/ so that they can be re-used and accessed by code existing outside cmd. Signed-off-by:

<    1   2