[PATCH 1/1] efi_loader: architecture specific UEFI setup

2020-02-01 Thread Heinrich Schuchardt
RISC-V patches are developed for OpenSBI and Linux to replace random boot by sequential CPU bring-up. In this scenario the id of the active hart has to be passed from boot stage to boot stage. Using a UEFI variable would provide an easy implementation. This patch provides a weak function that is

[PATCH 1/2] mmc: update guard for legacy part_init() call

2020-02-01 Thread Thomas Hebb
commit eef05fd3ba68 ("mmc: bring back partition init for non-DM MMC drivers") added this call to support drivers not yet migrated to driver model. Slightly previously, however, commit 91ff6865629c ("blk: Rework guard around part_init call") had removed the last reference in the code to

[PATCH] configs: imxrt1050-evk: enable D/I cache

2020-02-01 Thread Giulio Benetti
Soc supports cache so let's enable it. Signed-off-by: Giulio Benetti --- configs/imxrt1050-evk_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig index 102e663886..71970552c0 100644 ---

Re: [PATCH v2 1/2] spl: Kconfig: Replace CONFIG_SPL_NET_SUPPORT with CONFIG_SPL_NET

2020-02-01 Thread Tom Rini
On Tue, Jan 28, 2020 at 08:15:48AM +, Nathan Rossi wrote: > Replace CONFIG_SPL_NET_SUPPORT with CONFIG_SPL_NET to match CONFIG_NET > so that CONFIG_$(SPL_)NET can be used to conditionally select build > objects between SPL and U-Boot. > > Signed-off-by: Nathan Rossi > --- > Changes in v2: >

[PATCH 1/1] test: efi_selftest: fix pylint warnings

2020-02-01 Thread Heinrich Schuchardt
Fix pylint warnings: * add missing module and function documentation * correct indentation Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_efi_selftest.py | 361 +++-- 1 file changed, 187 insertions(+), 174 deletions(-) diff --git

Re: [PATCH] cmd: Handle CONFIG_(SPL_)ENV_SUPPORT for toggling the nvedit object

2020-02-01 Thread Tom Rini
On Mon, Jan 27, 2020 at 08:04:53AM +, Nathan Rossi wrote: > When CONFIG_SPL_ENV_SUPPORT is disabled, nvedit was still being included > as part of the build. Use the CONFIG_SPL_ENV_SUPPORT value as well as > the non SPL CONFIG_ENV_SUPPORT variable to enable/disable the inclusion > of nvedit. >

[PATCH 1/1] test: test_efi_fit: fix pylint warnings

2020-02-01 Thread Heinrich Schuchardt
Fix warnings issued by pylint: * naming of variables * usage of commas and semicolons * indentation * placement of module description Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_efi_fit.py | 77 ++- 1 file changed, 39 insertions(+), 38 deletions(-)

Re: [PATCH 0/3] Support SDMA mode on RPI4 target - 32bit

2020-02-01 Thread Matthias Brugger
On 30/01/2020 23:14, Jaehoon Chung wrote: > On 1/30/20 8:27 PM, Matthias Brugger wrote: >> >> >> On 30/01/2020 12:24, Matthias Brugger wrote: >>> >>> >>> On 23/01/2020 00:15, Jaehoon Chung wrote: RPI4's SDHCI controller is supported SDMA mode. (Checked on kernel side) But It doesn't

Re: [PATCH v2 07/11] riscv: Add initial Sipeed Maix support

2020-02-01 Thread Sean Anderson
On 1/30/20 5:21 PM, Lukas Auer wrote: > Interesting, I thought all SD cards support SPI mode. I think it's a different issue, but I wasn't sure. >> The board I am using has some serial issues which makes it difficult to >> flash any large images. I can get u-boot to flash after several >>

Re: [Patchv4 1/3] mmc: meson-gx: Fix clk phase tuning for MMC

2020-02-01 Thread Anand Moon
Hi Neil, On Sat, 1 Feb 2020 at 12:54, Neil Armstrong wrote: > > > > Le 22/01/2020 à 13:06, Anand Moon a écrit : > > As per mainline line kernel fix the clk tunig phase for > > mmc, set Core=180, Tx=180, Rx=0 clk phase for mmc initialization. > > As per S905X and S922X datasheet set the default

[PATCH v2 2/2] gpio: search for gpio label if gpio is not found through bank name

2020-02-01 Thread Heiko Schocher
dm_gpio_lookup_name() searches for a gpio through the bank name. But we have also gpio labels, and it makes sense to search for a gpio also in the labels we have defined, if no gpio is found through the bank name definition. This is useful for example if you have a wp pin on different gpios on

[PATCH v2 1/2] sandbox, test: add test for GPIO_HOG function

2020-02-01 Thread Heiko Schocher
currently gpio hog function is not tested with "ut dm gpio" so add some basic tests for gpio hog functionality. For this enable GPIO_HOG in sandbox_defconfig, add in DTS some gpio hog entries, and add testcase in "ut dm gpio" command. Signed-off-by: Heiko Schocher --- Changes in v2: - add

[PATCH v2 0/2] gpio: add possibility to search for gpio label name

2020-02-01 Thread Heiko Schocher
search for gpio label if gpio name from bankname is not found. This makes sense on boards with different hardware verions. You can now search for the gpio label name, and can give the gpio a unique name. The real gpio pin number is not needed in board code anymore. while at it add basic gpio hog

Re: [PATCH] serial_lpuart: make clock failure less verbose

2020-02-01 Thread Lukasz Majewski
Hi Giulio, > Hi Lukasz, > > On 1/31/20 7:14 PM, Simon Glass wrote: > > On Fri, 31 Jan 2020 at 06:39, Giulio Benetti > > wrote: > >> > >> Some device may enable CONFIG_CLK but not still support this clock > >> in CC, so better use debug() in place of dev_warn() otherwise a > >> lot of > >

RE: [PATCH v2 02/10] mmc: Add init() API

2020-02-01 Thread Peng Fan
> Subject: Re: [PATCH v2 02/10] mmc: Add init() API > > Hi Simon, > > On 29/01/20 1:33 pm, Simon Goldschmidt wrote: > > On Fri, Jan 24, 2020 at 12:52 PM Faiz Abbas wrote: > >> > >> Add an init() API for platform specific init() operations. > > > > Could you describe why this cannot be done in

Re: [GIT PULL] UniPhier SoC updates for v2020.04 (2nd)

2020-02-01 Thread Tom Rini
On Sat, Feb 01, 2020 at 02:07:03AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull more updates. > This includes various Denali NAND driver improvements, > and a little bit UniPhier platform changes. > > Thanks. > > > > The following changes since commit