Re: [PATCH 1/1] doc: board: qemu-mips.rst: fix code examples

2020-02-21 Thread Heinrich Schuchardt
On 1/8/20 3:15 PM, Daniel Schwierzeck wrote: Am 01.01.20 um 08:34 schrieb Heinrich Schuchardt: Code sections should be syntax highlighted as bash. Comment lines in code should start with a hash sign ('#') but code lines should not. Most commands can be executed as normal users. Prepend those c

[PATCH v2 1/1] net: tftp: use correct printf codes

2020-02-21 Thread Heinrich Schuchardt
When printing unsigned numbers use %u. Signed-off-by: Heinrich Schuchardt Acked-by: Joe Hershberger --- v2: rebased --- net/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tftp.c b/net/tftp.c index 02401898c5..585eb6ef0c 100644 --- a/net/tftp.c +++ b/net/t

Re: [PATCH v2 11/21] arm: socfpga: Secure register access for clock manager (SoC 64bits)

2020-02-21 Thread Simon Goldschmidt
Ang, Chee Hong schrieb am Sa., 22. Feb. 2020, 06:30: > > From: Chee Hong Ang > > > > Allow clock manager driver to access the System Manager's Boot Scratch > > Register 0 in non-secure mode (EL2) on SoC 64bits platform. > > > > Signed-off-by: Chee Hong Ang > > --- > > arch/arm/mach-socfpga/clo

[PATCH 1/1] doc/efi: add load file 2 protocol to HTML documentation

2020-02-21 Thread Heinrich Schuchardt
The load file 2 protocol can be used by the Linux kernel to load the initial RAM disk. U-Boot can be configured to provide an implementation. Add a description to the UEFI overview and document the related functions in the API section. Signed-off-by: Heinrich Schuchardt --- doc/api/efi.rst |

[PATCH 1/1] MAINTAINERS: set maintainer for doc/api/efi.rst

2020-02-21 Thread Heinrich Schuchardt
doc/api/efi.rst belongs to the UEFI sub-system documentation. Signed-off-by: Heinrich Schuchardt --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 82e4159bec..1842569f24 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -563,6 +563,7 @@ M: Heinrich

RE: [PATCH v2 16/21] arm: socfpga: Secure register access in Reset Manager driver

2020-02-21 Thread Ang, Chee Hong
> From: Chee Hong Ang > > Allow socfpga_bridges_reset() function in Reset Manager driver to access > System Manager's register in non-secure mode (EL2). > > Signed-off-by: Chee Hong Ang > --- > arch/arm/mach-socfpga/reset_manager_s10.c | 31 ++-- > --- > 1 file changed,

RE: [PATCH v2 15/21] net: designware: socfpga: Secure register access in MAC driver

2020-02-21 Thread Ang, Chee Hong
> From: Chee Hong Ang > > Allow MAC driver to access System Manager's EMAC control registers in non- > secure mode. > > Signed-off-by: Chee Hong Ang > --- > drivers/net/dwmac_socfpga.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/dwmac_socfpga.c b/

RE: [PATCH v2 14/21] mmc: dwmmc: socfpga: Secure register access in MMC driver

2020-02-21 Thread Ang, Chee Hong
> From: Chee Hong Ang > > Allow MMC driver to access System Manager's SDMMC control register in non- > secure mode (EL2). > > Signed-off-by: Chee Hong Ang > --- > drivers/mmc/socfpga_dw_mmc.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/socfpga_d

RE: [PATCH v2 13/21] arm: socfpga: Secure register access for reading PLL frequency

2020-02-21 Thread Ang, Chee Hong
> From: Chee Hong Ang > > Allow reading external oscillator and FPGA clock's frequency from System > Manager's Boot Scratch Register 1 and Boot Scratch Register 2 in non-secure > mode (EL2) on SoC 64bits platform. > > Signed-off-by: Chee Hong Ang > --- > arch/arm/mach-socfpga/wrap_pll_config_s

RE: [PATCH v2 12/21] arm: socfpga: Secure register access in PHY mode setup

2020-02-21 Thread Ang, Chee Hong
> From: Chee Hong Ang > > Allow access to System Manager's EMAC control register from non-secure mode > during PHY mode setup. > > Signed-off-by: Chee Hong Ang > --- > arch/arm/mach-socfpga/misc_s10.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/mac

RE: [PATCH v2 11/21] arm: socfpga: Secure register access for clock manager (SoC 64bits)

2020-02-21 Thread Ang, Chee Hong
> From: Chee Hong Ang > > Allow clock manager driver to access the System Manager's Boot Scratch > Register 0 in non-secure mode (EL2) on SoC 64bits platform. > > Signed-off-by: Chee Hong Ang > --- > arch/arm/mach-socfpga/clock_manager_agilex.c | 5 +++-- > arch/arm/mach-socfpga/clock_manager_

Re: [PATCH v2 2/5] travis: build HTML docs

2020-02-21 Thread Bin Meng
On Sat, Feb 22, 2020 at 1:24 AM Heinrich Schuchardt wrote: > > Several patches delivered incorrect restructured text as documentation. > We should be able to discover this in Travis CI. > > Provide a build step for 'make htmldocs'. > > Add required package graphviz. > > Signed-off-by: Heinrich Sch

Re: [PATCH v2 5/5] doc/Makefile: turn warnings into errors

2020-02-21 Thread Bin Meng
On Sat, Feb 22, 2020 at 1:25 AM Heinrich Schuchardt wrote: > > Several patches delivered incorrect restructured text as documentation. We > should be able to discover this in Travis CI, Gitlab CI, or Azure CI. > > So let us turn all build warnings into errors. > > Signed-off-by: Heinrich Schuchard

Re: [PATCH] RFC: nvedit: support doing one (extra) expansion of the value in "env set"

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 11:32:16PM +, Rasmus Villemoes wrote: > On 18/02/2020 09.11, Rasmus Villemoes wrote: > > > Thanks, Wolfgang. Consider both "env set -E" and the alternative "env > > get" withdrawn. > > So, if I wanted to change the status of such a patch in patchwork, what > would be t

Re: [PATCH] RFC: nvedit: support doing one (extra) expansion of the value in "env set"

2020-02-21 Thread Rasmus Villemoes
On 18/02/2020 09.11, Rasmus Villemoes wrote: > Thanks, Wolfgang. Consider both "env set -E" and the alternative "env > get" withdrawn. So, if I wanted to change the status of such a patch in patchwork, what would be the appropriate status? There's no "Withdrawn" or "Retracted". So "Not applicable

Re: [PATCH] efi_selftest: Ensure we include the object directory for generated headers

2020-02-21 Thread Heinrich Schuchardt
On 2/21/20 10:52 PM, Tom Rini wrote: On Fri, Feb 21, 2020 at 10:34:01PM +0100, Heinrich Schuchardt wrote: On 2/21/20 9:48 PM, Tom Rini wrote: The current rules for generating -I lines for objects gives us both -I/full/src/path/lib/efi_selftest and -Ilib/efi_selftest. However, if we re-sync the

Re: [PATCH] efi_selftest: Ensure we include the object directory for generated headers

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 10:34:01PM +0100, Heinrich Schuchardt wrote: > On 2/21/20 9:48 PM, Tom Rini wrote: > > The current rules for generating -I lines for objects gives us both > > -I/full/src/path/lib/efi_selftest and -Ilib/efi_selftest. However, if > > we re-sync the Kbuild logic we no longer

Re: [PATCH] efi_selftest: Ensure we include the object directory for generated headers

2020-02-21 Thread Heinrich Schuchardt
On 2/21/20 9:48 PM, Tom Rini wrote: The current rules for generating -I lines for objects gives us both -I/full/src/path/lib/efi_selftest and -Ilib/efi_selftest. However, if we re-sync the Kbuild logic we no longer get the latter implicitly. We will need to be explicit in such cases, so do so.

[PATCH] efi_selftest: Ensure we include the object directory for generated headers

2020-02-21 Thread Tom Rini
The current rules for generating -I lines for objects gives us both -I/full/src/path/lib/efi_selftest and -Ilib/efi_selftest. However, if we re-sync the Kbuild logic we no longer get the latter implicitly. We will need to be explicit in such cases, so do so. Cc: Heinrich Schuchardt Cc: Masahiro

Re: [PATCH 1/1] travis-ci: provide env__efi_fit_tftp_file

2020-02-21 Thread Stephen Warren
On 2/21/20 12:35 PM, Heinrich Schuchardt wrote: On 1/8/20 2:16 AM, Stephen Warren wrote: On 1/7/20 10:06 AM, Heinrich Schuchardt wrote: Provide dictionary env__efi_fit_tftp_file describing the file used for the UEFI FIT image test. Acked-by: Stephen Warren Hello Stephen, this patch for h

Re: [PATCH 1/1] travis-ci: provide env__efi_fit_tftp_file

2020-02-21 Thread Heinrich Schuchardt
On 1/8/20 2:16 AM, Stephen Warren wrote: On 1/7/20 10:06 AM, Heinrich Schuchardt wrote: Provide dictionary env__efi_fit_tftp_file describing the file used for the UEFI FIT image test. Acked-by: Stephen Warren Hello Stephen, this patch for has been lingering for a while waiting to be merge

Re: Pull request: u-boot-rockchip-20200220

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 09:17:41AM +0800, Kever Yang wrote: > Hi Tom, > > Please pull the rockchip updates/fixes: > - rk3399: split roc-pc-rk3399 out of evb_rk3399 > - sync dts from upstream kernel for rk3399,rk3288,px30 > - boot_mode: find the saradc device name > > Travis: > https://travis-ci.

RE: [PATCH v2 10/21] arm: socfpga: Add secure register access helper functions for SoC 64bits

2020-02-21 Thread Ang, Chee Hong
> On 2/21/20 7:01 PM, Ang, Chee Hong wrote: > >> On 2/20/20 6:54 PM, Ang, Chee Hong wrote: > On 2/20/20 3:02 AM, Ang, Chee Hong wrote: > [...] > >>> +#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_ATF) > >>> +u32 socfpga_secure_reg_read32(phys_addr_t reg_addr); void > >>

RE: [PATCH v2 05/21] arm: socfpga: Override 'lowlevel_init' to support ATF

2020-02-21 Thread Ang, Chee Hong
> > On 2/20/20 8:05 PM, Ang, Chee Hong wrote: > > >> On 2/20/20 3:27 AM, Ang, Chee Hong wrote: > > On 2/19/20 1:25 PM, chee.hong@intel.com wrote: > > [...] > > > diff --git a/arch/arm/mach-socfpga/lowlevel_init.S > > > b/arch/arm/mach-socfpga/lowlevel_init.S > > > new file

RE: [PATCH v2 05/21] arm: socfpga: Override 'lowlevel_init' to support ATF

2020-02-21 Thread Ang, Chee Hong
> On 2/20/20 8:05 PM, Ang, Chee Hong wrote: > >> On 2/20/20 3:27 AM, Ang, Chee Hong wrote: > On 2/19/20 1:25 PM, chee.hong@intel.com wrote: > [...] > > diff --git a/arch/arm/mach-socfpga/lowlevel_init.S > > b/arch/arm/mach-socfpga/lowlevel_init.S > > new file mode 100644 >

Aw: [PATCH 3/3] arm: mediatek: remove unuse binman config

2020-02-21 Thread Frank Wunderlich
Hi Sam thank you for the Patch fixing the binman_fdt issue on bananapi r2/r64. but i think this should be posted separately because it's not related to pwm. I hope Tom will pick up it soon (independ of pwm driver) to fix 2020-04. regards Frank

RE: [PATCH v2 01/21] configs: agilex: Remove CONFIG_OF_EMBED

2020-02-21 Thread Ang, Chee Hong
> On 2/20/20 6:04 PM, Westergreen, Dalon wrote: > > Please fix your mailer, it makes your reply completely unreadable. > > > On Thu, 2020-02-20 at 17:44 +0100, Marek Vasut wrote: > > > > On 2/20/20 3:12 AM, Ang, Chee Hong wrote: > > > > On 2/19/20 1:25 PM, > > > >

Re: [PATCH v2 10/21] arm: socfpga: Add secure register access helper functions for SoC 64bits

2020-02-21 Thread Marek Vasut
On 2/21/20 7:01 PM, Ang, Chee Hong wrote: >> On 2/20/20 6:54 PM, Ang, Chee Hong wrote: On 2/20/20 3:02 AM, Ang, Chee Hong wrote: [...] >>> +#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_ATF) >>> +u32 socfpga_secure_reg_read32(phys_addr_t reg_addr); void >>> +socfpga_sec

RE: [PATCH v2 10/21] arm: socfpga: Add secure register access helper functions for SoC 64bits

2020-02-21 Thread Ang, Chee Hong
> On 2/20/20 6:54 PM, Ang, Chee Hong wrote: > >> On 2/20/20 3:02 AM, Ang, Chee Hong wrote: > >> [...] > > +#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_ATF) > > +u32 socfpga_secure_reg_read32(phys_addr_t reg_addr); void > > +socfpga_secure_reg_write32(u32 val, phys_addr_t reg_ad

[PATCH v2 1/5] doc: update doc/sphinx/kerneldoc.py

2020-02-21 Thread Heinrich Schuchardt
Update doc/sphinx/kerneldoc.py from Linux next-20200219 to avoid warnings like: doc/sphinx/kerneldoc.py:125: RemovedInSphinx20Warning: AutodocReporter is now deprecated. Use sphinx.util.docutils.switch_source_input() instead. self.state.memo.reporter = AutodocReporter(result, self.state.

[PATCH v2 0/5] make htmldocs in CI

2020-02-21 Thread Heinrich Schuchardt
This patch series provides a htmldocs target for Travis, Gitlab and Azure CI. doc/sphinx/kerneldoc.py is updated to avoid a build warning with current Sphinx. The last patch turns build warnings of 'make htmldocs' into errors. While first four patches can be immediately merged the last patch req

[PATCH v2 5/5] doc/Makefile: turn warnings into errors

2020-02-21 Thread Heinrich Schuchardt
Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Travis CI, Gitlab CI, or Azure CI. So let us turn all build warnings into errors. Signed-off-by: Heinrich Schuchardt --- v2: change commit message --- doc/Makefile | 1 + 1 file

[PATCH v2 4/5] azure: build HTML documentation

2020-02-21 Thread Heinrich Schuchardt
Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Azure CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt Reviewed-by: Bin Meng --- v2: no change --- .azure-pipelines.yml | 10 ++ 1 file

[PATCH v2 2/5] travis: build HTML docs

2020-02-21 Thread Heinrich Schuchardt
Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Travis CI. Provide a build step for 'make htmldocs'. Add required package graphviz. Signed-off-by: Heinrich Schuchardt --- v2: change sequence of targets: put htmldocs after cpp

[PATCH v2 3/5] gitlab: build HTML documentation

2020-02-21 Thread Heinrich Schuchardt
Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Gitlab CI. Provide a build step for 'make htmldocs'. Signed-off-by: Heinrich Schuchardt Reviewed-by: Bin Meng --- v2: no change --- .gitlab-ci.yml | 7 +++ 1 file changed,

Re: [PATCH v7 0/7] rsa: extend rsa_verify() for UEFI secure boot

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 03:12:54PM +0900, AKASHI Takahiro wrote: > # This patch set is a prerequisite for UEFI secure boot. > > The current rsa_verify() requires five parameters for a RSA public key > for efficiency while RSA, in theory, requires only two. In addition, > those parameters are expe

Re: [GIT] Pull request: u-boot-dfu (21.02.2020)

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 06:04:51PM +0100, Marek Vasut wrote: > On 2/21/20 6:01 PM, Tom Rini wrote: > > On Fri, Feb 21, 2020 at 05:18:09PM +0100, Marek Vasut wrote: > >> On 2/21/20 3:54 PM, Lukasz Majewski wrote: > >>> Dear Marek, > >> > >> Hi, > >> > >>> The following changes since commit > >>> f2a

Re: [PATCH 0/3] Remove CONFIG_MMC_BROKEN_CD

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 04:21:52PM +0900, Jaehoon Chung wrote: > On 2/21/20 10:07 AM, Jaehoon Chung wrote: > > Hi Tom, > > > > On 2/21/20 4:57 AM, Tom Rini wrote: > >> On Thu, Feb 20, 2020 at 01:45:31PM +0900, Jaehoon Chung wrote: > >> > >>> CONFIG_MMC_BROKEN_CD needs not to define to Kconfig. > >

Re: [GIT] Pull request: u-boot-dfu (21.02.2020)

2020-02-21 Thread Marek Vasut
On 2/21/20 6:01 PM, Tom Rini wrote: > On Fri, Feb 21, 2020 at 05:18:09PM +0100, Marek Vasut wrote: >> On 2/21/20 3:54 PM, Lukasz Majewski wrote: >>> Dear Marek, >> >> Hi, >> >>> The following changes since commit >>> f2a73d6867ef973fbb8471cc87058205999b5e5c: >>> >>> Merge tag 'u-boot-stm32-202002

Re: [GIT] Pull request: u-boot-dfu (21.02.2020)

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 05:18:09PM +0100, Marek Vasut wrote: > On 2/21/20 3:54 PM, Lukasz Majewski wrote: > > Dear Marek, > > Hi, > > > The following changes since commit > > f2a73d6867ef973fbb8471cc87058205999b5e5c: > > > > Merge tag 'u-boot-stm32-20200214' of > > https://gitlab.denx.de/u-b

Re: [PATCH v2 10/21] arm: socfpga: Add secure register access helper functions for SoC 64bits

2020-02-21 Thread Marek Vasut
On 2/20/20 6:54 PM, Ang, Chee Hong wrote: >> On 2/20/20 3:02 AM, Ang, Chee Hong wrote: >> [...] > +#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_ATF) > +u32 socfpga_secure_reg_read32(phys_addr_t reg_addr); void > +socfpga_secure_reg_write32(u32 val, phys_addr_t reg_addr); void >>

Re: [GIT] Pull request: u-boot-dfu (21.02.2020)

2020-02-21 Thread Marek Vasut
On 2/21/20 3:54 PM, Lukasz Majewski wrote: > Dear Marek, Hi, > The following changes since commit > f2a73d6867ef973fbb8471cc87058205999b5e5c: > > Merge tag 'u-boot-stm32-20200214' of > https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2020-02-14 > 07:31:47 -0500) > > are available in t

Re: [PATCH v2 01/21] configs: agilex: Remove CONFIG_OF_EMBED

2020-02-21 Thread Marek Vasut
On 2/20/20 6:04 PM, Westergreen, Dalon wrote: Please fix your mailer, it makes your reply completely unreadable. > On Thu, 2020-02-20 at 17:44 +0100, Marek Vasut wrote: > > On 2/20/20 3:12 AM, Ang, Chee Hong wrote: > > On 2/19/20 1:25 PM, > > > > chee.hong

Re: [PATCH v2 1/9] usb: dwc3-of-simple: Drop redundant inclding header file

2020-02-21 Thread Marek Vasut
On 2/20/20 3:32 AM, Kever Yang wrote: > The fdtdec.h is no use in this file, remove the include code. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > drivers/usb/host/dwc3-of-simple.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/usb/host/dwc3-of-simple.c >

Re: [PATCH v2 05/21] arm: socfpga: Override 'lowlevel_init' to support ATF

2020-02-21 Thread Marek Vasut
On 2/20/20 8:05 PM, Ang, Chee Hong wrote: >> On 2/20/20 3:27 AM, Ang, Chee Hong wrote: On 2/19/20 1:25 PM, chee.hong@intel.com wrote: [...] > diff --git a/arch/arm/mach-socfpga/lowlevel_init.S > b/arch/arm/mach-socfpga/lowlevel_init.S > new file mode 100644 > index 000

Re: [PATCH v2 5/9] usb: dwc3-generic: Use dev_read_addr() instead of devfdt_get_addr()

2020-02-21 Thread Marek Vasut
On 2/20/20 3:32 AM, Kever Yang wrote: > Use more common API so that we can support live DT. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > drivers/usb/dwc3/dwc3-generic.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/usb/dwc3/dwc3-ge

Re: [PATCH] net: phy: Fix overlong PHY timeout

2020-02-21 Thread Matthias Brugger
Hi Joe, On 30/01/2020 12:00, Matthias Brugger wrote: > > > On 03/01/2020 23:08, Andre Przywara wrote: >> Commit 27c3f70f3b50 ("net: phy: Increase link up delay in >> genphy_update_link()") increased the per-iteration waiting time from >> 1ms to 50ms, without adjusting the timeout counter. This l

Re: [PATCH 3/5] env/fat.c: remove private CMD_SAVEENV logic

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 05:14:14PM +0100, Wolfgang Denk wrote: > Dear Rasmus, > > In message <5265fdd5-3992-4e5f-3235-5586b3b77...@prevas.dk> you wrote: > > > > So without the fat.c patch, CONFIG_SPL_SAVEENV is effectively ignored. > > OK, but what about bords that don't store the envionment in a

Re: [PATCH 3/5] env/fat.c: remove private CMD_SAVEENV logic

2020-02-21 Thread Wolfgang Denk
Dear Rasmus, In message <5265fdd5-3992-4e5f-3235-5586b3b77...@prevas.dk> you wrote: > > So without the fat.c patch, CONFIG_SPL_SAVEENV is effectively ignored. OK, but what about bords that don't store the envionment in a file system, but instead for example in (parallel or SPI) NOR flash or in a

[GIT] Pull request: u-boot-dfu (21.02.2020)

2020-02-21 Thread Lukasz Majewski
Dear Marek, The following changes since commit f2a73d6867ef973fbb8471cc87058205999b5e5c: Merge tag 'u-boot-stm32-20200214' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2020-02-14 07:31:47 -0500) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-b

Re: [PATCH 1/1] Dockerfile: add imagemagick

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 06:14:44AM +0100, Heinrich Schuchardt wrote: > In reStructured text documentation we sometimes find formatting problems. > So we should add 'make htmldocs' to our Gitlab Ci steps and let all > warning result in a build failure. > > For building the htmldocs target without

RE: [PATCH v2 1/8] phy: generic: add error trace to detect PHY issue in uclass

2020-02-21 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: mardi 18 février 2020 18:40 > > On 2/18/20 9:38 AM, Patrick Delaunay wrote: > [...] > > static inline struct phy_ops *phy_dev_ops(struct udevice *dev) { @@ > > -109,56 +110,86 @@ int generic_phy_get_by_name(struct udevice *dev, > > const char *phy_name, i

[PATCH v2] env: ti: boot: Fix Android boot on AM57x EVM

2020-02-21 Thread Sam Protsenko
When applying DTBO on top of DTB (with "fdt apply" command) on AM57x EVM board, there is not enough memory reserved in RAM for DTB blob. Hence, DTBO can't be merged in DTB. It leads to inability to boot Android with next error message: failed on fdt_overlay_apply(): FDT_ERR_NOSPACE To overcom

Re: [PATCH 1/1] azure: build HTML documentation

2020-02-21 Thread Bin Meng
On Fri, Feb 21, 2020 at 1:33 PM Heinrich Schuchardt wrote: > > Several patches delivered incorrect restructured text as documentation. We > should be able to discover this in Azure CI. > > Provide a build step for 'make htmldocs'. > > Signed-off-by: Heinrich Schuchardt > --- > Hello Tom, > > I ha

Re: [PATCH 2/2] travis: build HTML docs

2020-02-21 Thread Bin Meng
On Fri, Feb 21, 2020 at 11:27 AM Heinrich Schuchardt wrote: > > Several patches delivered incorrect restructured text as documentation. > We should be able to discover this in Travis CI. > > Provide a build step for 'make htmldocs'. > > Add required package graphviz. > > Signed-off-by: Heinrich Sc

Re: [PATCH 1/1] gitlab: build HTML documentation

2020-02-21 Thread Bin Meng
On Fri, Feb 21, 2020 at 1:20 PM Heinrich Schuchardt wrote: > > Several patches delivered incorrect restructured text as documentation. We > should be able to discover this in Gitlab CI. > > Provide a build step for 'make htmldocs'. > > Signed-off-by: Heinrich Schuchardt > --- > This patch require

Re: [PATCH 1/1] Dockerfile: add imagemagick

2020-02-21 Thread Bin Meng
On Fri, Feb 21, 2020 at 1:15 PM Heinrich Schuchardt wrote: > > In reStructured text documentation we sometimes find formatting problems. > So we should add 'make htmldocs' to our Gitlab Ci steps and let all > warning result in a build failure. > > For building the htmldocs target without warnings

Re: [PATCH 1/1] .dockerignore: remove .git/ from build context

2020-02-21 Thread Bin Meng
On Fri, Feb 21, 2020 at 12:14 PM Heinrich Schuchardt wrote: > > We do not need .git in the build context. > > Signed-off-by: Heinrich Schuchardt > --- > .dockerignore | 2 ++ > 1 file changed, 2 insertions(+) > create mode 100644 .dockerignore > Reviewed-by: Bin Meng

Re: [PATCH 2/2] travis: build HTML docs

2020-02-21 Thread Bin Meng
On Fri, Feb 21, 2020 at 11:27 AM Heinrich Schuchardt wrote: > > Several patches delivered incorrect restructured text as documentation. > We should be able to discover this in Travis CI. > > Provide a build step for 'make htmldocs'. > > Add required package graphviz. > > Signed-off-by: Heinrich Sc

Re: [PATCH 1/2] doc/Makefile: turn warnings into errors

2020-02-21 Thread Bin Meng
On Fri, Feb 21, 2020 at 11:27 AM Heinrich Schuchardt wrote: > > Several patches delivered incorrect restructured text as documentation. We > should be able to discover this in Travis CI or Gitlab CI. should mention Azure as well. > > So let us turn all build warnings into errors. > > We cannot a

Re: [PATCH 0/3] Remove CONFIG_MMC_BROKEN_CD

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 10:07:47AM +0900, Jaehoon Chung wrote: > Hi Tom, > > On 2/21/20 4:57 AM, Tom Rini wrote: > > On Thu, Feb 20, 2020 at 01:45:31PM +0900, Jaehoon Chung wrote: > > > >> CONFIG_MMC_BROKEN_CD needs not to define to Kconfig. > >> broken-cd is already provide to dt-property. > >>

[PATCH 0/3] mediatek: pwm: add pwm driver for MediaTek SoCs

2020-02-21 Thread Sam Shih
Add pwm support for MediaTek SoCs: mt7622, mt7623 and mt7629, also fix mt7622 and mt7623 boot problem caused by BINMAN_FDT Sam Shih (3): mediatek: pwm: add pwm driver for MediaTek SoCs arm: dts: add pwm support for MediaTek SoCs arm: mediatek: remove unuse binman config arch/arm/Kconfig

[PATCH 1/3] mediatek: pwm: add pwm driver for MediaTek SoCs

2020-02-21 Thread Sam Shih
This driver support the standard PWM API for MediaTek MT7623, MT7622 and MT7629 SoCs Signed-off-by: Sam Shih --- drivers/pwm/Kconfig | 7 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-mtk.c | 188 ++ 3 files changed, 196 insertions(+) create mode

[PATCH 2/3] arm: dts: add pwm support for MediaTek SoCs

2020-02-21 Thread Sam Shih
This patch add pwm support for mt7622, mt7623 and mt7629 SoCs Signed-off-by: Sam Shih --- arch/arm/dts/mt7622.dtsi | 19 +++ arch/arm/dts/mt7623.dtsi | 17 + arch/arm/dts/mt7629.dtsi | 16 3 files changed, 52 insertions(+) diff --git a/arch/arm/d

[PATCH 3/3] arm: mediatek: remove unuse binman config

2020-02-21 Thread Sam Shih
The binman-option BINMAN_FDT is introduced by this commit: commit 3c10dc95bdd0 ("binman: Add a library to access binman entries") BINMAN_FDT being selected when BINMAN=y that resulting in mt7623 and mt7622 are unable to boot. The root cause of this issue is commit: commit cbd2fba1eca1 ("arm: MediaT

Re: [PATCH] net: bcmgenet: Don't set ID_MODE_DIS when not using RGMII

2020-02-21 Thread Nicolas Saenz Julienne
Florian, On Fri, 2020-02-21 at 11:54 +0100, Nicolas Saenz Julienne wrote: > Hi Matthias, > > On Thu, 2020-02-20 at 19:58 +0100, Matthias Brugger wrote: > > On 20/02/2020 17:36, Nicolas Saenz Julienne wrote: > > > As per Linux's driver, ID_MODE_DIS is only set when the PHY interface is > > > RGMII

Re: [PATCH] net: bcmgenet: Don't set ID_MODE_DIS when not using RGMII

2020-02-21 Thread Nicolas Saenz Julienne
Hi Florian, On Thu, 2020-02-20 at 11:05 -0800, Florian Fainelli wrote: > On 2/20/20 8:36 AM, Nicolas Saenz Julienne wrote: > > As per Linux's driver, ID_MODE_DIS is only set when the PHY interface is > > RGMII. Don't enable it for the rest of setups. > > > > This has been seen to misconfigure RPi

Re: [PATCH] net: bcmgenet: Don't set ID_MODE_DIS when not using RGMII

2020-02-21 Thread Nicolas Saenz Julienne
Hi Matthias, On Thu, 2020-02-20 at 19:58 +0100, Matthias Brugger wrote: > > On 20/02/2020 17:36, Nicolas Saenz Julienne wrote: > > As per Linux's driver, ID_MODE_DIS is only set when the PHY interface is > > RGMII. Don't enable it for the rest of setups. > > > > This has been seen to misconfigur

Re: [PATCH 1/2] doc/Makefile: turn warnings into errors

2020-02-21 Thread Tom Rini
On Fri, Feb 21, 2020 at 05:43:40AM +0100, Heinrich Schuchardt wrote: > On 2/21/20 5:31 AM, Heinrich Schuchardt wrote: > > On 2/21/20 5:06 AM, Tom Rini wrote: > > > On Fri, Feb 21, 2020 at 04:26:36AM +0100, Heinrich Schuchardt wrote: > > > > > > > Several patches delivered incorrect restructured te

Re: [PATCH 1/3] clk: imx: imx8mn: add enet clk

2020-02-21 Thread Lukasz Majewski
Hi Alifer, > Hello Lukasz, > > > Why have you sent those patches twice? > > > > I'm sorry for that, I was just curious if you made a v2 :-) > the first time I sent this patch I forgot to send > to u-boot lists too, so I sent it again. > > Regards, > Alifer Best regards, Lukasz Majewsk

[PATCH] doc: Chromebook Coral: Fix typo for "Top of CAR region"

2020-02-21 Thread Wolfgang Wallner
The value for "Top of CAR region" should be fefc, not fefc000. This matches the Kconfig default values, as SYS_CAR_ADDR and SYS_CAR_SIZE are 0xfef0 and 0xc respectively. Signed-off-by: Wolfgang Wallner --- doc/board/google/chromebook_coral.rst | 2 +- 1 file changed, 1 insertion(+)

Re: [PATCH 1/3] clk: imx: imx8mn: add enet clk

2020-02-21 Thread Alifer Moraes
Hello Lukasz, > Why have you sent those patches twice? > I'm sorry for that, the first time I sent this patch I forgot to send to u-boot lists too, so I sent it again. Regards, Alifer

Re: [PATCH] usb: gadget: Handle SPL_* configs

2020-02-21 Thread Lukasz Majewski
Hi Nathan, > On Tue, 28 Jan 2020 at 20:26, Lukasz Majewski wrote: > > > > On Tue, 28 Jan 2020 17:50:03 +1000 > > Nathan Rossi wrote: > > > > > On Mon, 27 Jan 2020 at 22:51, Lukasz Majewski > > > wrote: > > > > > > > > Hi Nathan, > > > > > > > > > Handle selection of objects based on $(SPL