Re: [RESEND v9 1/9] efi_loader: move udevice pointer into struct efi_object

2022-07-19 Thread Takahiro Akashi
On Sun, Jul 17, 2022 at 01:23:41PM +0200, Heinrich Schuchardt wrote: > On 7/17/22 10:09, Heinrich Schuchardt wrote: > > On 7/15/22 16:47, Masahisa Kojima wrote: > > > This is a preparation patch to provide the unified method > > > to access udevice pointer associated with the block io device. > >

Re: [PATCH 2/2] ubifs: Use U-Boot assert() from in UBI/UBIFS code

2022-07-19 Thread Heiko Schocher
Hello Pali, On 10.07.22 13:38, Pali Rohár wrote: > U-Boot already provides assert function, so it use also in ubi and ubifs code. > > Signed-off-by: Pali Rohár > --- > drivers/mtd/ubi/debug.h | 9 ++--- > fs/ubifs/debug.h| 9 ++--- > 2 files changed, 4 insertions(+), 14

Re: [PATCH 1/2] ubifs: Fix ubifs_assert_cmt_locked()

2022-07-19 Thread Heiko Schocher
Hello Pali, On 10.07.22 13:38, Pali Rohár wrote: > U-Boot does not implement down_write_trylock() and its stub always returns > true that lock was acquired. Therefore ubifs_assert_cmt_locked() assert > currently always fails. > > Fix this issue by redefining ubifs_assert_cmt_locked() to just

Re: [PATCH v5 20/23] FWU: synquacer: Generate dfu_alt_info from devicetree partition

2022-07-19 Thread Jassi Brar
On Tue, 19 Jul 2022 at 20:13, Takahiro Akashi wrote: > > On Mon, Jul 18, 2022 at 09:49:56AM -0500, Jassi Brar wrote: > > On Fri, 17 Jun 2022 at 09:02, Michal Simek wrote: > > > On 6/9/22 14:30, Sughosh Ganu wrote: > > > > From: Masami Hiramatsu > > . > > > > > > > > > > @@ -188,6 +178,9 @@

Re: [PATCH v5 19/23] FWU: synquacer: Add FWU Multi bank update support for DeveloperBox

2022-07-19 Thread Tom Rini
On Tue, Jul 19, 2022 at 10:23:08AM -0500, Jassi Brar wrote: > On Mon, Jul 18, 2022 at 4:00 PM Tom Rini wrote: > > On Mon, Jul 18, 2022 at 10:31:56AM -0500, Jassi Brar wrote: > > > > > > > > > > + > > > > > > > > > +#define PLAT_METADATA_OFFSET 0x51 > > > > > > > > > +#define

Re: [PATCH v5 20/23] FWU: synquacer: Generate dfu_alt_info from devicetree partition

2022-07-19 Thread Takahiro Akashi
On Mon, Jul 18, 2022 at 09:49:56AM -0500, Jassi Brar wrote: > On Fri, 17 Jun 2022 at 09:02, Michal Simek wrote: > > On 6/9/22 14:30, Sughosh Ganu wrote: > > > From: Masami Hiramatsu > . > > > > > > > @@ -188,6 +178,9 @@ int board_late_init(void) > > > { > > > int ret; > > > > > > +

Re: [RESEND v9 1/9] efi_loader: move udevice pointer into struct efi_object

2022-07-19 Thread Takahiro Akashi
On Sun, Jul 17, 2022 at 10:09:42AM +0200, Heinrich Schuchardt wrote: > On 7/15/22 16:47, Masahisa Kojima wrote: > > This is a preparation patch to provide the unified method > > to access udevice pointer associated with the block io device. > > The EFI handles of both EFI block io driver

[PATCH v4] patman: By default don't pass "--no-tree" to checkpatch for linux

2022-07-19 Thread Douglas Anderson
When you pass "--no-tree" to checkpatch it disables some extra checks that are important for Linux. Specifically I want checks like: warning: DT compatible string "boogie,woogie" appears un-documented check ./Documentation/devicetree/bindings/ Let's make the default for Linux to _not_ pass

[PATCH V2 13/13] mtd: decommission the NAND museum

2022-07-19 Thread Michael Trimarchi
Upstream linux commit f7025a43a9 The MTD subsystem has its own small museum of ancient NANDs in a form of the CONFIG_MTD_NAND_MUSEUM_IDS configuration option. The museum contains stone age NANDs with 256 bytes pages, as well as iron age NANDs with 512 bytes per page and up to 8MiB page size. It

[PATCH V2 12/13] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2022-07-19 Thread Michael Trimarchi
Upstream linux commit fb3bff5b40 This patch enables support to read the ECC strength and size from the NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is based on the information of the 6th ID byte of the Toshiba Memory SLC NAND. Signed-off-by: Michael Trimarchi --- V1->V2:

[PATCH V2 11/13] mtd: nand: Move Macronix specific initialization in nand_macronix.c

2022-07-19 Thread Michael Trimarchi
Upstream linux commit 3b5206f4be Move Macronix specific initialization logic into nand_macronix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Michael Trimarchi --- V1->V2: - use short-commit form - remove linux info. Uboot seems

[PATCH V2 10/13] mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.c

2022-07-19 Thread Michael Trimarchi
Upstream linux commit 229204da53 Move AMD/Spansion specific initialization/detection logic into nand_amd.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Michael Trimarchi --- V1->V2: - use short-commit form - remove linux info.

[PATCH V2 09/13] mtd: nand: Move Micron specific init logic in nand_micron.c

2022-07-19 Thread Michael Trimarchi
Upstream linux commit 10d4e75c36 Move Micron specific initialization logic into nand_micron.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Michael Trimarchi --- V1->V2: - use short-commit form - remove linux info. Uboot seems

[PATCH V2 08/13] mtd: nand: Move Toshiba specific init/detection logic in nand_toshiba.c

2022-07-19 Thread Michael Trimarchi
Upstream linux commit 9b2d61f80b Move Toshiba specific initialization and detection logic into nand_toshiba.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Michael Trimarchi --- V1->V2: - use short-commit form - remove linux info.

[PATCH V2 07/13] mtd: nand: Move Hynix specific init/detection logic in nand_hynix.c

2022-07-19 Thread Michael Trimarchi
Upstream linux commit 01389b6bd2 Move Hynix specific initialization and detection logic into nand_hynix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Michael Trimarchi --- V1->V2: - use short-commit form - remove linux info.

[PATCH V2 06/13] mtd: nand: Move Samsung specific init/detection logic in nand_samsung.c

2022-07-19 Thread Michael Trimarchi
Upstream linux commit c51d0ac59f Move Samsung specific initialization and detection logic into nand_samsung.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Michael Trimarchi --- V1->V2: - use short-commit form - remove linux info.

[PATCH V2 05/13] mtd: nand: Export symbol nand_decode_ext_id

2022-07-19 Thread Michael Trimarchi
In preparation of moving specific nand support that are not jedec or onfi Signed-off-by: Michael Trimarchi --- V1->V2: - no changes --- drivers/mtd/nand/raw/nand_base.c | 3 ++- include/linux/mtd/rawnand.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH V2 04/13] mtd: nand: Get rid of mtd variable in function calls

2022-07-19 Thread Michael Trimarchi
chip points to mtd. Passing chip is enough to have a reference to mtd when is necessary Signed-off-by: Michael Trimarchi --- V1->V2: - no changes --- drivers/mtd/nand/raw/nand_base.c | 20 +++- include/linux/mtd/rawnand.h | 3 +-- 2 files changed, 12 insertions(+),

[PATCH V2 03/13] mtd: nand: Add manufacturer specific initialization/detection steps

2022-07-19 Thread Michael Trimarchi
Upstream linux commit abbe26d144 A lot of NANDs are implementing generic features in a non-generic way, or are providing advanced auto-detection logic where the NAND ID bytes meaning changes with the NAND generation. Providing this vendor specific initialization step will allow us to get rid of

[PATCH V2 02/13] mtd: nand: Store nand ID in struct nand_chip

2022-07-19 Thread Michael Trimarchi
Upstream linux commit 7f501f0a72 Store the NAND ID in struct nand_chip to avoid passing id_data and id_len as function parameters. Signed-off-by: Michael Trimarchi --- V1->V2: - use short-commit form - remove linux info. Uboot seems that backport without add this extra

[PATCH V2 01/13] mtd: nand: Get rid of busw parameter

2022-07-19 Thread Michael Trimarchi
Upstream linux commit 29a198a159 Auto-detection functions are passed a busw parameter to retrieve the actual NAND bus width and eventually set the correct value in chip->options. Rework the nand_get_flash_type() function to get rid of this extra parameter and let detection code directly set the

[PATCH V2 00/13] Port manufacturer specific initialization

2022-07-19 Thread Michael Trimarchi
In preparation of re-sync of mtd stack, we opt to move the current stack slowly in order to have a more easy sync and test. We would like to prepare uboot to support no-jedec and no-onfi compliant nand so we need to clean up a bit the code we have now and upstream some of the support. In this

Re: Pull request: u-boot-sunxi/master for v2022.10

2022-07-19 Thread Tom Rini
On Tue, Jul 19, 2022 at 02:51:02PM +0100, Andre Przywara wrote: > Hi Tom, > > please pull the sunxi/master branch, containing the first part of the > 2022.10 changes. > > One prominent feature is the restructering of the clock driver, which > allows to end up with one actual driver for all

[RFC PATCH] mtd: Fix building when CONFIG_DM is not enabled

2022-07-19 Thread Michael Trimarchi
I really don't find any consumer of those functions in uboot. You can only verify if you include nand.h it in no-dm build include/linux/mtd/nand.h: In function 'nanddev_set_ofnode': +include/linux/mtd/nand.h:426:9: error: implicit declaration of function 'mtd_set_ofnode'; did you mean

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Pali Rohár
On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > Instead of hardcoding -ltinfo as the flags needed to build > kwboot, use pkg-config when available. > > We gracefully fallback on the previous behavior of hardcoding -ltinfo > if pkg-config is not available or fails with an error. > >

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Pali Rohár
On Tuesday 19 July 2022 21:11:21 Heiko Thiery wrote: > Hi, > > Am Di., 19. Juli 2022 um 20:52 Uhr schrieb Pali Rohár : > > > > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > > > Instead of hardcoding -ltinfo as the flags needed to build > > > kwboot, use pkg-config when available. > > > >

[PATCH v2 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -ltinfo as the flags needed to build kwboot, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -ltinfo if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- v2: - also add cflags detection via

[PATCH v2 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -luuid -lgnutls as the flags needed to build mkeficapsule, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -luuid -lgnutls if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- v2: - also add

Re: [PATCH 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-19 Thread Heiko Thiery
Hi, Am Di., 19. Juli 2022 um 20:51 Uhr schrieb Pali Rohár : > > On Tuesday 19 July 2022 20:38:37 Heiko Thiery wrote: > > Instead of hardcoding -luuid -lgnutls as the flags needed to build > > mkeficapsule, use pkg-config when available. > > > > We gracefully fallback on the previous behavior of

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Hi, Am Di., 19. Juli 2022 um 20:52 Uhr schrieb Pali Rohár : > > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > > Instead of hardcoding -ltinfo as the flags needed to build > > kwboot, use pkg-config when available. > > Interesting, I did not know that there is pc file also for tinfo. >

Re: [PATCH 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-19 Thread Heinrich Schuchardt
On 7/19/22 20:38, Heiko Thiery wrote: Instead of hardcoding -luuid -lgnutls as the flags needed to build mkeficapsule, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -luuid -lgnutls if pkg-config is not available or fails with an error.

[PULL] u-boot-usb/master

2022-07-19 Thread Marek Vasut
The following changes since commit 26f6f7fb5c0651d65afdee6d8ed36063606179a8: Merge branch '2022-07-14-migrate-wiki-to-sphinx' (2022-07-14 18:43:51 -0400) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Pali Rohár
On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > Instead of hardcoding -ltinfo as the flags needed to build > kwboot, use pkg-config when available. Interesting, I did not know that there is pc file also for tinfo. Anyway when using it, there should be also HOSTCFLAGS_kwboot definition from

Re: [PATCH 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-19 Thread Pali Rohár
On Tuesday 19 July 2022 20:38:37 Heiko Thiery wrote: > Instead of hardcoding -luuid -lgnutls as the flags needed to build > mkeficapsule, use pkg-config when available. > > We gracefully fallback on the previous behavior of hardcoding -luuid > -lgnutls if pkg-config is not available or fails with

[PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -ltinfo as the flags needed to build kwboot, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -ltinfo if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- tools/Makefile | 4 +++- 1 file

[PATCH 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -luuid -lgnutls as the flags needed to build mkeficapsule, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -luuid -lgnutls if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- tools/Makefile |

Re: u-boot and IPv6

2022-07-19 Thread Dhananjay Phadke
On Wed, 13 Jul 2022, Chris Packham wrote: > On Tue, Jul 12, 2022 at 7:40 PM Chris Packham wrote: >> >> Hi Sean and Dhananjay, >> >> Adding U-Boot ML to the Cc >> [...] >> >> IPv6 support is definitely something I want to get landed in upstream U-Boot. >> >> It seemed to be fairly well

Re: [bug] boot failure on pinebook pro due to rk8xx changes in 2022.07

2022-07-19 Thread Michal Suchánek
Hello, On Mon, Jul 18, 2022 at 05:37:18PM -0500, Chris Morgan wrote: > On Mon, Jul 18, 2022 at 03:39:43PM +0200, Jan Palus wrote: > > u-boot 2022.07 successfully finds and loads kernel (5.18.3) on my > > Pinebook Pro however boot process fails when loading rk808 module: > > > > rk3x-i2c

Re: [PATCH v5 19/23] FWU: synquacer: Add FWU Multi bank update support for DeveloperBox

2022-07-19 Thread Jassi Brar
On Mon, Jul 18, 2022 at 4:00 PM Tom Rini wrote: > On Mon, Jul 18, 2022 at 10:31:56AM -0500, Jassi Brar wrote: > > > > > > > > + > > > > > > > > +#define PLAT_METADATA_OFFSET 0x51 > > > > > > > > +#define PLAT_METADATA_SIZE (sizeof(struct devbox_metadata)) > > > > > > > > + > > > > > > > >

[PATCH v2] drivers: xen: unmap Enlighten page before jumping to Linux

2022-07-19 Thread Dmytro Firsov
This commit fixes issue with usage of Xen hypervisor shared info page. Previously U-boot did not unmap it at the end of OS boot process. Xen did not prevent guest from this. So, it worked, but caused wierd issues - one memory page, that was returned by memalign in U-boot for Enlighten mapping was

Re: [PATCH] drivers: xen: unmap Enlighten page before jumping to Linux

2022-07-19 Thread Dmytro Firsov
On 19.07.22 14:04, Julien Grall wrote: > Hi, > > On 19/07/2022 11:45, Dmytro Firsov wrote: >> >> On 19.07.22 12:50, Julien Grall wrote: >>> Hi Dmytro, >>> >>> On 19/07/2022 09:52, Dmytro Firsov wrote: This commit fixes issue with usage of Xen hypervisor shared info page. Previously

Re: [PATCH] drivers: xen: unmap Enlighten page before jumping to Linux

2022-07-19 Thread Dmytro Firsov
On 19.07.22 12:50, Julien Grall wrote: > Hi Dmytro, > > On 19/07/2022 09:52, Dmytro Firsov wrote: >> This commit fixes issue with usage of Xen hypervisor shared info page. >> Previously U-boot did not unmap it at the end of OS boot process. It >> leads to repeated mapping during Enlighten

[PATCH] drivers: xen: unmap Enlighten page before jumping to Linux

2022-07-19 Thread Dmytro Firsov
This commit fixes issue with usage of Xen hypervisor shared info page. Previously U-boot did not unmap it at the end of OS boot process. It leads to repeated mapping during Enlighten initialization in Linux. Xen did not prevent guest from this, so it works but causes weird wierd issues - one

RE: [PATCH 2/5] firmware: zynqmp: Load config overlay for core0 to pmufw

2022-07-19 Thread Soma, Ashok Reddy
Hi Stefan, >-Original Message- >From: Stefan Herbrechtsmeier >Sent: Saturday, July 16, 2022 4:48 PM >To: Simek, Michal ; Ashok Reddy Soma >; u-boot@lists.denx.de >Cc: adrian.fiergol...@fastree3d.com; jh80.ch...@samsung.com; >s...@svenpeter.dev; kette...@openbsd.org; s...@chromium.org;

[PATCH] net: emaclite: Avoid reading negative bytes

2022-07-19 Thread Liao Junxuan
As far as I know, an IP packet isn't necessarily shorter than an ARP packet, and if length < first_read, xemaclite_alignedread() goes into an infinite loop. --- drivers/net/xilinx_emaclite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/xilinx_emaclite.c

Re: [bug] boot failure on pinebook pro due to rk8xx changes in 2022.07

2022-07-19 Thread Chris Morgan
On Mon, Jul 18, 2022 at 03:39:43PM +0200, Jan Palus wrote: > u-boot 2022.07 successfully finds and loads kernel (5.18.3) on my > Pinebook Pro however boot process fails when loading rk808 module: > > rk3x-i2c ff3c.i2c: timeout, ipd: 0x00, state: 1 > rk808 0-001b: failed to read the chip

[bug] uboot 2022.07 hangs on rpi 2 with attached usb storage

2022-07-19 Thread Jan Palus
u-boot 2022.07 boots fine without any USB devices attached to RaspberryPi 2 however it hangs early on if external USB drive is connected, right after: Request Sense returned 02 04 01 git bisect indicates first commit to cause regression is: 8c9812a5d557c4eacf164147d7380b3af1b222ec is the

Re: [PATCH v5 19/23] FWU: synquacer: Add FWU Multi bank update support for DeveloperBox

2022-07-19 Thread Jassi Brar
On Mon, 18 Jul 2022 at 16:00, Tom Rini wrote: > On Mon, Jul 18, 2022 at 10:31:56AM -0500, Jassi Brar wrote: > > > > > > > > > > > > > > + > > > > > > > > +#define PLAT_METADATA_OFFSET 0x51 > > > > > > > > +#define PLAT_METADATA_SIZE (sizeof(struct devbox_metadata)) > > > > > > > > + > > >

Please pull u-boot-i2c

2022-07-19 Thread Heiko Schocher
Hello Tom, please pull from: The following changes since commit 26f6f7fb5c0651d65afdee6d8ed36063606179a8: Merge branch '2022-07-14-migrate-wiki-to-sphinx' (2022-07-14 18:43:51 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-i2c.git

Re: Pull request: u-boot-spi/master

2022-07-19 Thread Tom Rini
On Tue, Jul 19, 2022 at 01:05:15AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - add Macronix Octal flash (JaimeLiao) > > CI: > https://source.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/12778 > > thanks, > Jagan. > > The following changes since commit

Pull request: u-boot-sunxi/master for v2022.10

2022-07-19 Thread Andre Przywara
Hi Tom, please pull the sunxi/master branch, containing the first part of the 2022.10 changes. One prominent feature is the restructering of the clock driver, which allows to end up with one actual driver for all variants, although we still only compile in support for one SoC. Also contained are

Re: DWC3 host support

2022-07-19 Thread Angus Ainslie
On 2022-07-18 23:47, Michal Simek wrote: Hi, On 7/18/22 18:23, Angus Ainslie wrote: Hi, On 2022-07-18 01:13, Michal Simek wrote: On 7/17/22 17:23, Marek Vasut wrote: On 7/17/22 05:00, Angus Ainslie wrote: On 2022-07-16 11:37, Marek Vasut wrote: On 7/16/22 15:02, Angus Ainslie wrote: Hi

Re: [RESEND v9 5/9] eficonfig: add "Change Boot Order" menu entry

2022-07-19 Thread Ilias Apalodimas
> On Fri, 15 Jul 2022 at 17:45, Masahisa Kojima > wrote: [...] > --- a/cmd/eficonfig.c > +++ b/cmd/eficonfig.c > @@ -89,6 +89,21 @@ struct eficonfig_boot_selection_data { > int *selected; > }; > > +/** > + * struct eficonfig_boot_order - structure to be used to update BootOrder >

Re: [RESEND v9 9/9] doc:eficonfig: add documentation for eficonfig command

2022-07-19 Thread Ilias Apalodimas
On Tue, 19 Jul 2022 at 13:15, Masahisa Kojima wrote: > > Hi Ilias, > > On Tue, 19 Jul 2022 at 17:03, Ilias Apalodimas > wrote: > > > > Hello Kojima-san > > > > On Fri, 15 Jul 2022 at 17:45, Masahisa Kojima > > wrote: > > > > > > Add documentation for eficonfig command. > > > > > >

Re: [PATCH] i2c: avoid dynamic stack use in dm_i2c_write

2022-07-19 Thread Heiko Schocher
Hello Rasmus, On 07.07.22 15:12, Rasmus Villemoes wrote: > The size of the dynamic stack allocation here is bounded by the if() > statement. However, just allocating the maximum size up-front and > doing malloc() if necessary avoids code duplication (the > i2c_setup_offset() until the invocation

Re: [PATCH v4] i2c: nuvoton: Add NPCM7xx i2c driver

2022-07-19 Thread Heiko Schocher
Hello Jim, On 23.06.22 07:31, Jim Liu wrote: > Add Nuvoton BMC NPCM750 i2c driver > > Signed-off-by: Jim Liu > --- > changes for v4: >- remove i2c doc > changes for v3: >- add i2c doc > Changes for v2: >- use debug output in reset function >- use clr/setbits_8 > --- >

Re: [PATCH] i2c: ast_i2c: Remove SCL direct drive mode

2022-07-19 Thread Heiko Schocher
Hello Eddie, On 11.05.22 22:52, Eddie James wrote: > SCL direct drive mode prevents communication with devices that > do clock stretching, so disable. The Linux driver doesn't use > this mode, and the engine can handle clock stretching. > > Signed-off-by: Eddie James > --- >

Re: [PATCH v3 0/9] New boards support: db845c and qcs404-evb

2022-07-19 Thread Sumit Garg
On Tue, 19 Jul 2022 at 16:31, Tom Rini wrote: > > On Tue, Jul 19, 2022 at 11:01:12AM +0530, Sumit Garg wrote: > > Hi Tom, Ramon, > > > > On Tue, 12 Jul 2022 at 12:42, Sumit Garg wrote: > > > > > > Add support for two new boards db845c and qcs404-evb: > > > - db845c is a 96boards compliant

Re: [PATCH] drivers: xen: unmap Enlighten page before jumping to Linux

2022-07-19 Thread Julien Grall
Hi, On 19/07/2022 11:45, Dmytro Firsov wrote: On 19.07.22 12:50, Julien Grall wrote: Hi Dmytro, On 19/07/2022 09:52, Dmytro Firsov wrote: This commit fixes issue with usage of Xen hypervisor shared info page. Previously U-boot did not unmap it at the end of OS boot process. It leads to

Re: [PATCH v3 0/9] New boards support: db845c and qcs404-evb

2022-07-19 Thread Tom Rini
On Tue, Jul 19, 2022 at 11:01:12AM +0530, Sumit Garg wrote: > Hi Tom, Ramon, > > On Tue, 12 Jul 2022 at 12:42, Sumit Garg wrote: > > > > Add support for two new boards db845c and qcs404-evb: > > - db845c is a 96boards compliant platform aka RB3 based on Qualcomm > > SDM845 SoC. > > -

[PATCH 9/9] board: sam9x60ek: remove nand init from board file

2022-07-19 Thread Balamanikandan Gunasundar
Move this out of board file as this is done by the DM based NAND flash driver. The EBI chip select configuration, iomux and timings are handled by the driver Signed-off-by: Balamanikandan Gunasundar --- board/atmel/sam9x60ek/sam9x60ek.c | 59 --- 1 file changed, 59

[PATCH 8/9] ARM: dts: at91: sam9x60ek: Enable NAND support

2022-07-19 Thread Balamanikandan Gunasundar
Enable the EBI and NAND flash controller. Define the pinctrl and partition table Signed-off-by: Balamanikandan Gunasundar --- arch/arm/dts/sam9x60ek.dts | 103 + 1 file changed, 103 insertions(+) diff --git a/arch/arm/dts/sam9x60ek.dts

[PATCH 7/9] ARM: dts: at91: sam9x60: Add nodes for EBI and NAND

2022-07-19 Thread Balamanikandan Gunasundar
Add new bindings for EBI and NAND controller Signed-off-by: Balamanikandan Gunasundar --- arch/arm/dts/sam9x60.dtsi | 42 +++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi index a5c429eb3a..17224ef771

[PATCH 6/9] configs: at91: sam9x60ek: Enable DM based nand driver

2022-07-19 Thread Balamanikandan Gunasundar
Enable Device model supported NAND driver and remove legacy Atmel NAND driver Signed-off-by: Balamanikandan Gunasundar --- configs/sam9x60ek_mmc_defconfig | 9 ++--- configs/sam9x60ek_nandflash_defconfig | 9 ++--- configs/sam9x60ek_qspiflash_defconfig | 8 +--- 3 files

[PATCH 5/9] mfd: syscon: atmel-smc: Add driver for atmel SMC

2022-07-19 Thread Balamanikandan Gunasundar
Add driver for atmel Static Memory Controller. Add helper functions to configure SMC. This file is inherited from the work done by Boris Brezillon for Linux Signed-off-by: Balamanikandan Gunasundar --- drivers/Kconfig | 2 + drivers/Makefile | 1 +

[PATCH 4/9] memory: atmel-ebi: add Atmel EBI (External Bus Interface) driver

2022-07-19 Thread Balamanikandan Gunasundar
The EBI is used to access peripherals like NAND, SRAM, NOR etc. Add this driver to probe the nand flash controller. This is a dummy driver and not yet a complete device driver for EBI. Signed-off-by: Balamanikandan Gunasundar --- MAINTAINERS| 1 + drivers/memory/Kconfig |

[PATCH 3/9] mfd: syscon: Add atmel-matrix registers definition

2022-07-19 Thread Balamanikandan Gunasundar
This file is copied from Linux. AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Balamanikandan Gunasundar --- include/linux/mfd/syscon/atmel-matrix.h | 112

[PATCH 2/9] nand: atmel: Add pmecc driver

2022-07-19 Thread Balamanikandan Gunasundar
Add driver for atmel pmecc. Signed-off-by: Balamanikandan Gunasundar --- drivers/mtd/nand/raw/atmel/Makefile | 3 +- drivers/mtd/nand/raw/atmel/pmecc.c | 969 drivers/mtd/nand/raw/atmel/pmecc.h | 94 +++ 3 files changed, 1065 insertions(+), 1 deletion(-)

[PATCH 1/9] nand: atmel: Add DM based NAND driver

2022-07-19 Thread Balamanikandan Gunasundar
This implementation is ported from the rework done by Boris Brezillon in Linux. The driver is tested in sam9x60ek, sama5d3_xplained, sam9x75eb and sama7g54-ddr3-eb. Signed-off-by: Balamanikandan Gunasundar --- drivers/mtd/nand/raw/Kconfig |8 + drivers/mtd/nand/raw/Makefile

[PATCH 0/9] Add DM support for atmel NAND driver

2022-07-19 Thread Balamanikandan Gunasundar
This patch series adds support for NAND flash. The series adds DM support and replaces the existing NAND driver NAND_ATMEL. The drivers are ported from Linux based on the work done by Boris brezillon Balamanikandan Gunasundar (9): nand: atmel: Add DM based NAND driver nand: atmel: Add pmecc

Re: [RESEND v9 9/9] doc:eficonfig: add documentation for eficonfig command

2022-07-19 Thread Masahisa Kojima
Hi Ilias, On Tue, 19 Jul 2022 at 17:03, Ilias Apalodimas wrote: > > Hello Kojima-san > > On Fri, 15 Jul 2022 at 17:45, Masahisa Kojima > wrote: > > > > Add documentation for eficonfig command. > > > > Signed-off-by: Masahisa Kojima > > --- > > No change sinch v8 > > > > Changes in v8: > > -

Re: [RESEND v9 2/9] eficonfig: menu-driven addition of UEFI boot option

2022-07-19 Thread Ilias Apalodimas
Hello Kojima-san, [...] > + > +/** > + * eficonfig_process_common() - main handler for UEFI menu > + * > + * Construct the structures required to show the menu, then handle > + * the user input interacting with u-boot menu functions. > + * > + * @items: pointer to the structure of

Re: [PATCH] drivers: xen: unmap Enlighten page before jumping to Linux

2022-07-19 Thread Julien Grall
Hi Dmytro, On 19/07/2022 09:52, Dmytro Firsov wrote: This commit fixes issue with usage of Xen hypervisor shared info page. Previously U-boot did not unmap it at the end of OS boot process. It leads to repeated mapping during Enlighten initialization in Linux. Xen did not prevent guest from

binman issue on ubuntu 20.04

2022-07-19 Thread Belisko Marek
Hi, I'm trying to compile an older u-boot (2017.03) with Ubuntu 20.04. Machine is sunxi. COmpilation went fine but when binman assembles u-boot-sunxi-with-spl.bin it stuck somewhere. I've enabled python traces and it loops in forever: subprocess.py(1668): if errpipe_data:

Re: [PATCH 1/1] cmd: undefined return value of do_extension_apply()

2022-07-19 Thread Köry Maincent
Hello Heinrich, On Mon, 11 Jul 2022 20:01:12 +0200 Heinrich Schuchardt wrote: > If 'extension apply all' is executed and no extension is found, the return > value of do_extension_apply() is undefined. Return CMD_RET_FAILURE in this > case. > > Fixes: 2f84e9cf06d3 ("cmd: add support for a new

Re: [RESEND v9 9/9] doc:eficonfig: add documentation for eficonfig command

2022-07-19 Thread Ilias Apalodimas
Hello Kojima-san On Fri, 15 Jul 2022 at 17:45, Masahisa Kojima wrote: > > Add documentation for eficonfig command. > > Signed-off-by: Masahisa Kojima > --- > No change sinch v8 > > Changes in v8: > - command name is changed from "efimenu" to "eficonfig" > > Newly created in v7 > >

Re: [RESEND v9 2/9] eficonfig: menu-driven addition of UEFI boot option

2022-07-19 Thread Ilias Apalodimas
On Tue, 19 Jul 2022 at 02:06, Masahisa Kojima wrote: > > Hi Ilias, > > On Mon, 18 Jul 2022 at 22:31, Ilias Apalodimas > wrote: > > > > Hi Kojima-san > > > > > > On Fri, 15 Jul 2022 at 17:45, Masahisa Kojima > > wrote: > > > > > > This commit add the "eficonfig" command. > > > The "eficonfig"

Re: DWC3 host support

2022-07-19 Thread Michal Simek
Hi, On 7/18/22 18:23, Angus Ainslie wrote: Hi, On 2022-07-18 01:13, Michal Simek wrote: On 7/17/22 17:23, Marek Vasut wrote: On 7/17/22 05:00, Angus Ainslie wrote: On 2022-07-16 11:37, Marek Vasut wrote: On 7/16/22 15:02, Angus Ainslie wrote: Hi Michal, I recently rebased my librem5 tree