Pull request for u-boot-nand-03082025

2025-08-04 Thread Michael Nazzareno Trimarchi
d/nand/raw/octeontx_bch.h delete mode 100644 drivers/mtd/nand/raw/octeontx_bch_regs.h delete mode 100644 drivers/mtd/nand/raw/octeontx_nand.c -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com _

Re: [PATCH v2] cmd: mtd: Enable speed benchmarking

2025-08-04 Thread Michael Nazzareno Trimarchi
= io_op.oobretlen; > } > > + if (benchmark && bench_start) { > + bench_end = timer_get_us(); > + printf("%s speed: %lukiB/s\n", > + read ? "Read" : "Write", > +

Re: [PATCH v2] mtd: nand: raw: Remove unused octeontx_nand driver

2025-08-03 Thread Michael Nazzareno Trimarchi
On Fri, Jul 11, 2025 at 5:19 PM Tom Rini wrote: > As no platforms use this driver anymore let's go ahead and remove it. > > Signed-off-by: Tom Rini > --- > drivers/mtd/nand/raw/Kconfig | 16 - > drivers/mtd/nand/raw/Makefile|2 - > drivers/mtd/nand/raw/octeontx_bch

Re: [PATCH] mtd: nand: raw: Remove unused lpc32xx_nand_slc driver

2025-08-03 Thread Michael Nazzareno Trimarchi
"Unable to get free DMA channel for NAND > transfers\n"); > - return -1; > - } > - dmachan = (unsigned int)ret; > -#endif > - > - lpc32xx_chip->cmd_ctrl = lpc32xx_nand_cmd_ctrl; > - lpc32xx_chip->dev_ready = lpc32xx_nand_dev_ready; > - > - /* > -* The implementation of these functions is quite common, but > -* they MUST be defined, because access to data register > -* is strictly 32-bit aligned. > -*/ > - lpc32xx_chip->read_byte = lpc32xx_read_byte; > - lpc32xx_chip->write_byte = lpc32xx_write_byte; > - > -#if defined(CONFIG_DMA_LPC32XX) && !defined(CONFIG_XPL_BUILD) > - /* Hardware ECC calculation is supported when DMA driver is > selected */ > - lpc32xx_chip->ecc.mode = NAND_ECC_HW; > - > - lpc32xx_chip->read_buf = lpc32xx_dma_read_buf; > - lpc32xx_chip->write_buf = lpc32xx_dma_write_buf; > - > - lpc32xx_chip->ecc.calculate = lpc32xx_ecc_calculate; > - lpc32xx_chip->ecc.correct = lpc32xx_correct_data; > - lpc32xx_chip->ecc.hwctl = lpc32xx_hwecc_enable; > - lpc32xx_chip->chip_delay= 2000; > - > - lpc32xx_chip->ecc.read_page = lpc32xx_read_page_hwecc; > - lpc32xx_chip->ecc.write_page= lpc32xx_write_page_hwecc; > - lpc32xx_chip->options |= NAND_NO_SUBPAGE_WRITE; > -#else > - /* > -* Hardware ECC calculation is not supported by the driver, > -* because it requires DMA support, see LPC32x0 User Manual, > -* note after SLC_ECC register description (UM10326, p.198) > -*/ > - lpc32xx_chip->ecc.mode = NAND_ECC_SOFT; > - > - /* > -* The implementation of these functions is quite common, but > -* they MUST be defined, because access to data register > -* is strictly 32-bit aligned. > -*/ > - lpc32xx_chip->read_buf = lpc32xx_read_buf; > - lpc32xx_chip->write_buf = lpc32xx_write_buf; > -#endif > - > - /* > -* These values are predefined > -* for both small and large page NAND flash devices. > -*/ > - lpc32xx_chip->ecc.size = CFG_SYS_NAND_ECCSIZE; > - lpc32xx_chip->ecc.bytes= CFG_SYS_NAND_ECCBYTES; > - lpc32xx_chip->ecc.strength = 1; > - > - if (CONFIG_SYS_NAND_PAGE_SIZE != NAND_LARGE_BLOCK_PAGE_SIZE) > - lpc32xx_chip->ecc.layout = &lpc32xx_nand_oob_16; > - > -#if defined(CONFIG_SYS_NAND_USE_FLASH_BBT) > - lpc32xx_chip->bbt_options |= NAND_BBT_USE_FLASH; > -#endif > - > - /* Initialize NAND interface */ > - lpc32xx_nand_init(); > - > - return 0; > -} > -- > 2.43.0 > > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [PATCH 1/3] mtd: nand: pxa3xx: Free memory on error

2025-08-03 Thread Michael Nazzareno Trimarchi
r_err("pxa3xx driver supports single CS only\n"); > + kfree(pdata); > return -EINVAL; > } > Reviewed-by: MIchael Trimarchi > > > -- > 2.39.5 > > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M.

Re: [PATCH 3/3] mtd: rawnand: mxs_nand: Ensure err is set for error path

2025-08-03 Thread Michael Nazzareno Trimarchi
L); > + if (err) > goto err_free_buffers; > > - if (mxs_nand_setup_ecc(mtd)) > + err = mxs_nand_setup_ecc(mtd); > + if (err) > goto err_free_buffers; > > nand->ecc.read_page = mxs_nand_ecc_read_page; > > Reviewed-

Re: [PATCH 2/3] mtd: rawnand: denali: Remove always true test

2025-08-03 Thread Michael Nazzareno Trimarchi
waiting for irq 0x%x\n", > + irq_mask); > + return 0; > } > > Reviewed-by: Michael Trimarchi > static uint32_t denali_check_irq(struct denali_nand_info *denali) > > -- > 2.39.5 > > -- Michael Nazzareno Trimarchi Co-Founder & Ch

Re: [PATCH 1/3] mtd: rawnand: cortina_nand: Fix -ENOMEM detection

2025-08-03 Thread Michael Nazzareno Trimarchi
CA_DMA_DESC_NUM)); > + if (!info->rx_desc) { > printf("Fail to alloc DMA descript!\n"); > kfree(info->tx_desc); > return -ENOMEM; > > Reviewed-by: Michael Trimarchi >

Re: [PATCH 3/3] mtd: nand: sunxi: Free allocated memory on errors

2025-08-03 Thread Michael Nazzareno Trimarchi
gt; > ret = sunxi_nand_ecc_init(mtd, &nand->ecc); > if (ret) { > dev_err(dev, "ECC init failed: %d\n", ret); > + kfree(chip); > return ret; > } > > ret = nand_scan_tail(mtd); > if

Re: [PATCH] mtd: nand: raw: Remove unused mxic_nand driver

2025-07-11 Thread Michael Nazzareno Trimarchi
gt; -{ > - struct mxic_nand_ctrl *nfc = dev_get_priv(dev); > - struct nand_chip *nand_chip = &nfc->nand_chip; > - struct mtd_info *mtd; > - ofnode child; > - int err; > - > - nfc->regs = dev_read_addr_ptr(dev); > - > - n

Re: [PATCH] mach-k3: am62*: am62*_init: Prohibit boot from UDA w/ eMMC boot

2025-07-11 Thread Michael Nazzareno Trimarchi
Hi Could be html for my mobile. Some comments inline. Il ven 11 lug 2025, 11:44 Anshul Dalal ha scritto: > On Thu Jul 10, 2025 at 10:41 PM IST, Judith Mendez wrote: > > This removes support from booting from UDA when in eMMC boot. > > > > When user selects eMMC boot [0], that is, boot from eMMC

Re: [PATCH v6 0/3] Static initcalls

2025-07-05 Thread Michael Nazzareno Trimarchi
Hi On Fri, Jul 4, 2025 at 3:33 PM Fabio Estevam wrote: > > Hi Michael, > > On Fri, Jul 4, 2025 at 5:37 AM Michael Nazzareno Trimarchi > wrote: > > > We have problems that our board crashes with display enabled when this > > series is applied but we can boot > &g

Re: [PATCH v6 0/3] Static initcalls

2025-07-04 Thread Michael Nazzareno Trimarchi
223 > >> ++- > >> common/board_r.c | 247 > >> +++------- > >> include/initcall.h| 49 +++--- > >> lib/Makefile | 1 - > &g

Re: [PATCH] cmd: mtd: Enable speed benchmarking

2025-07-03 Thread Michael Nazzareno Trimarchi
int do_mtd_io(struct cmd_tbl *cmdtp, int flag, > int argc, > io_op.oobbuf += io_op.oobretlen; > } > > + if (benchmark && bench_start) { > + bench_end = timer_get_us(); > + printf("%s speed: %lukiB/s\n", > +

Re: [PATCH v2 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-06-27 Thread Michael Nazzareno Trimarchi
Hi Fabio Are you going to pick up my last series? Michael On Mon, May 26, 2025 at 10:01 PM Michael Nazzareno Trimarchi wrote: > > Hi Fabio > > On Mon, May 26, 2025 at 9:58 PM Fabio Estevam wrote: > > > > Hi Michael, > > > > On Mon, May 26, 2025 at

Re: [PATCH v1 1/2] mtd: nand: Allow full NAND framework in SPL

2025-06-20 Thread Michael Nazzareno Trimarchi
MAL_DRIVERS=y > > > > -obj-y += nand.o > > -obj-y += nand_bbt.o > > -obj-y += nand_ids.o > > -obj-y += nand_util.o > > -obj-y += nand_ecc.o > > -obj-y += nand_base.o > > -obj-y += nand_amd.o > > -obj-y += nand_hynix.o > > -obj-y += nand_macronix.o > > -obj-y += nand_micron.o > > -obj-y += nand_samsung.o > > -obj-y += nand_toshiba.o > > -obj-y += nand_timings.o > > +obj-y += $(nand-framework-objs) > > > > endif # not spl > > Did you world build this change? At first it looks like we're dropping a > lot of objects from other configs. > > -- > Tom -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [PATCH v2 04/13] clk: add CONFIG_CLK_AUTO_ID

2025-06-03 Thread Michael Nazzareno Trimarchi
Hi On Wed, Jun 4, 2025 at 8:48 AM Michael Nazzareno Trimarchi wrote: > > Hi Patrice > > On Wed, Jun 4, 2025 at 8:46 AM Patrice CHOTARD > wrote: > > > > > > > > On 6/4/25 08:14, Michael Nazzareno Trimarchi wrote: > > > Hi > > > > >

Re: [PATCH v2 04/13] clk: add CONFIG_CLK_AUTO_ID

2025-06-03 Thread Michael Nazzareno Trimarchi
Hi Patrice On Wed, Jun 4, 2025 at 8:46 AM Patrice CHOTARD wrote: > > > > On 6/4/25 08:14, Michael Nazzareno Trimarchi wrote: > > Hi > > > > On Wed, Jun 4, 2025 at 8:02 AM Patrice CHOTARD > > wrote: > >> > >> > >> > >&g

Re: [PATCH v2 04/13] clk: add CONFIG_CLK_AUTO_ID

2025-06-03 Thread Michael Nazzareno Trimarchi
nline bool clk_dev_binded(struct clk *clk) > > { > > return false; > > } > > + > > +static inline ulong clk_get_id(const struct clk *clk) > > +{ > > + return 0; > > +} > > #endif /* CONFIG_IS_ENABLED(CLK) */ > > > > /** >

Re: [PATCH v3 1/4] clk: imx: add i.MX6UL clk driver

2025-05-30 Thread Michael Nazzareno Trimarchi
Hi Il ven 30 mag 2025, 20:14 Christoph Niedermaier < cniederma...@dh-electronics.com> ha scritto: > Hello, > > From: Michael Nazzareno Trimarchi > Sent: Friday, May 30, 2025 5:12 PM > Subject: Re: [PATCH v3 1/4] clk: imx: add i.MX6UL clk driver > > [...] > &

Re: [PATCH v3 1/4] clk: imx: add i.MX6UL clk driver

2025-05-30 Thread Michael Nazzareno Trimarchi
quot;uart_podf", base + 0x74, > > 2)); > > + clk_dm(IMX6UL_CLK_UART6_IPG, > > + imx_clk_gate2(dev, "uart6_ipg", "ipg", base + 0x74, 6)); > > + clk_dm(IMX6UL_CLK_UART6_SERIAL, > > + imx_clk_gate2(dev, "uart6_ser

Re: [PATCH v2 1/4] clk: imx: add i.MX6UL clk driver

2025-05-28 Thread Michael Nazzareno Trimarchi
IMX6UL_CLK_ECSPI3, > > +imx_clk_gate2(dev, "ecspi3", "ecspi_podf", base + 0x6c, 4)); > > + clk_dm(IMX6UL_CLK_ECSPI4, > > +imx_clk_gate2(dev, "ecspi4", "ecspi_podf", base + 0x6c, 6)); > > + > > + clk_d

Synced invitation: U-Boot community meeting @ Every 2 weeks from 5pm to 6pm on Tuesday (CEST) (u-boot@lists.denx.de)

2025-05-27 Thread Michael Nazzareno Trimarchi
:mailto:korg.su...@gmail.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE ;CN=Michael Nazzareno Trimarchi;X-NUM-GUESTS=0:mailto:michael@amarulasoluti ons.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=s...@chromium.org;X-NUM-GUESTS=0

Synced invitation: U-Boot community meeting @ Every 2 weeks from 4pm to 5pm on Tuesday (CET) (u-boot@lists.denx.de)

2025-05-27 Thread Michael Nazzareno Trimarchi
:mailto:korg.su...@gmail.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Michael Nazzareno Trimarchi;X-NUM-GUESTS=0:mailto:michael@amarulaso lutions.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=s...@chromium.org;X-NUM

Re: [PATCH v2 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-05-26 Thread Michael Nazzareno Trimarchi
r being used? The downstream driver I made 2 years ago before this change was around 3/3.5mB/sec, if I remember correctly. One point all the IMX6 platforms can then be migrated but I don't have any board with me. Michael -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Offi

Re: [PATCH 3/4] mtd: nand: Add support for EDO mode 1-5 to IMX6ULL platform

2025-05-26 Thread Michael Nazzareno Trimarchi
he kernel and I don't know if is english wrong > > > +*/ > > + if (IS_ENABLED(CONFIG_MX6ULL)) { > > + clk_disable(nand_info->gpmi_clk); > > + } > > Please remove { } for single-line statements. Done > > > + > >

Re: [PATCH 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-26 Thread Michael Nazzareno Trimarchi
Hi Peng On Mon, May 26, 2025 at 9:42 AM Michael Nazzareno Trimarchi wrote: > > Hi Peng > > On Mon, May 26, 2025 at 9:38 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi Peng > > > > On Mon, May 26, 2025 at 9:34 AM Peng Fan wrote: > > > > &g

Re: [PATCH 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-26 Thread Michael Nazzareno Trimarchi
ret = clk_enable_bulk(&clk_bulk); > > You enable clk bulk and together with a standalone gpmi_io clk? > I need to get and refer to the gpmi_io because it is used then by the driver. I think that this does not change what was before. Am I missing? Michael > Regards, > Peng > > > > if (ret < 0) { > >- debug("Can't enable gpmi_bch_apb clk: %d\n", ret); > >+ debug("Can't enable gpmi clks: %d\n", ret); > > return ret; > > } > > } > >-- > >2.43.0 > > > >base-commit: df2ed552f0b05591090369a7fe7ddc92439dea5c -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [PATCH 2/4] mtd: mxs_nand_dt: Move from clk_get/clk_enable to clk_bulk api

2025-05-26 Thread Michael Nazzareno Trimarchi
Hi Peng On Mon, May 26, 2025 at 9:38 AM Michael Nazzareno Trimarchi wrote: > > Hi Peng > > On Mon, May 26, 2025 at 9:34 AM Peng Fan wrote: > > > > On Sun, May 25, 2025 at 02:23:10PM +0200, Michael Trimarchi wrote: > > >Make simple the clock registration and e

Re: [PATCH v2 1/4] board: bsh: imx6ulz_smm_m2: Match SPL DDR settings to DCD table

2025-05-20 Thread Michael Nazzareno Trimarchi
ddrc_cfg++; > + } > +} > + > +static void spl_dram_init(void) > +{ > + struct mmdc_p_regs *mmdc0 = (struct mmdc_p_regs *)MMDC_P0_BASE_ADDR; > + > + clrbits_le32(&mmdc0->mdctl, 1 << 31); /* clear SDE_0 */ > + clrbits_le32(&mmdc

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-17 Thread Michael Nazzareno Trimarchi
Hi On Sat, May 17, 2025 at 10:50 PM Fabio Estevam wrote: > > On Sat, May 17, 2025 at 5:46 PM Michael Nazzareno Trimarchi > wrote: > > > > I was on master except this commit > > > > > > commit 128d997a8772cc174f38d529d8b25f90b3aa8ad8 > > > Author:

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-17 Thread Michael Nazzareno Trimarchi
Hi Fabio On Sat, May 17, 2025 at 10:44 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Sat, May 17, 2025 at 10:28 PM Fabio Estevam wrote: > > > > On Sat, May 17, 2025 at 5:15 PM Michael Nazzareno Trimarchi > > wrote: > > > > > Can you pl

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-17 Thread Michael Nazzareno Trimarchi
Hi On Sat, May 17, 2025 at 10:28 PM Fabio Estevam wrote: > > On Sat, May 17, 2025 at 5:15 PM Michael Nazzareno Trimarchi > wrote: > > > Can you please point me to an example of a tested board? > > I have just tested the top-of-tree U-Boot on an imx8mn evk board: > >

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-17 Thread Michael Nazzareno Trimarchi
Hi Fabio On Sat, May 17, 2025 at 9:56 PM Fabio Estevam wrote: > > Hi Michael, > > On Thu, May 15, 2025 at 5:12 PM Michael Nazzareno Trimarchi > wrote: > > > The serial is not up at that time so we need to buffer the error and print > > later. Right now >

Re: [RFC PATCH 3/3] serial: mxc: restore booting for imx8mn_bsh_smm_s2

2025-05-15 Thread Michael Nazzareno Trimarchi
to understand but even we need working boards > Does the failure come from clk_get_bulk() or clk_enable_bulk()? > The serial is not up at that time so we need to buffer the error and print later. Right now we are working on other fixes Michael > > Please investigate. > -- Mi

Re: [PATCH v2] mtd: mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions

2025-04-08 Thread Michael Nazzareno Trimarchi
marchi > Met vriendelijke groet / kind regards, > > Mike Looijmans > System Expert > > > TOPIC Embedded Products B.V. > Materiaalweg 4, 5681 RJ Best > The Netherlands > > T: +31 (0) 499 33 69 69 > E: mike.looijm...@topic.nl > W: www.topic.nl > > Please

Re: [RESEND PATCH] clk: fix crash on clk_set_rate clean rate cache

2025-04-07 Thread Michael Nazzareno Trimarchi
Hi Il lun 7 apr 2025, 22:03 Fabio Estevam ha scritto: > On Mon, Apr 7, 2025 at 4:58 PM Michael Nazzareno Trimarchi > wrote: > > > Can you review it and pick if needed? > > This is not assigned to me in patchwork as it is not i.MX related. > > Someone else needs to h

Re: [PATCH] mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions

2025-04-07 Thread Michael Nazzareno Trimarchi
T_SIZ_FULL) > > + size = master->size - offset; > > > > part.name = ofnode_read_string(child, "label"); > > if (!part.name) > > > -- > Mike Looijmans > System Expert > > TOPIC Embedded Products

Re: [RESEND PATCH] clk: fix crash on clk_set_rate clean rate cache

2025-04-07 Thread Michael Nazzareno Trimarchi
> > > list_for_each_entry(child_dev, &clk->dev->child_head, > sibling_node) { > > + if (device_get_uclass_id(child_dev) != UCLASS_CLK) > > + continue; > > + > > clkp = dev_get_clk_ptr(child_dev); > > clk_clea

Re: [PATCH 15/18] mtd: rawnand: nand_base: annotate switch/case fallthrough

2025-03-28 Thread Michael Nazzareno Trimarchi
llthrough; > case NAND_ECC_SOFT: > ecc->calculate = nand_calculate_ecc; > ecc->correct = nand_correct_data; > -- > 2.25.1 > Reviewed-by: Michael Trimrachi I think I will apply the relative patches on mtd tree Michael

Re: [resend v2 00/19] Add Cadence NAND Driver support

2025-03-16 Thread Michael Nazzareno Trimarchi
Hi Applied and sent the pull request Would be nice to have sometime board sample to work with Michael On Wed, Mar 5, 2025 at 5:05 PM Maniyam, Dinesh wrote: > > > > > *From:* Michael Nazzareno Trimarchi > *Sent:* Wednesday, 5 March 2025 5:27 pm > *To:* Maniyam, D

Re: [PATCH v1] mtd: rawnand: meson: always use OOB bytes during write

2025-03-16 Thread Michael Nazzareno Trimarchi
- > - if (oob_required) > - meson_nfc_set_user_byte(chip, chip->oob_poi); > + meson_nfc_set_user_byte(chip, chip->oob_poi); > > return meson_nfc_write_page_sub(chip, page, false); > } > Applied and sent already the pull request Michael

Pull request for u-boot-nand-next External

2025-03-16 Thread Michael Nazzareno Trimarchi
The following changes since commit 15d6518c942f0da13f9a7ceeadbd925c3317ec8d: ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02 (2025-03-13 15:22:48 -0600) are available in the Git repository at: git://source.denx.de:u-boot/custodians/u-boot-nand-flash.git nand-next for you

Re: [RESEND PATCH] clk: fix crash on clk_set_rate clean rate cache

2025-03-15 Thread Michael Nazzareno Trimarchi
clkp = dev_get_clk_ptr(child_dev); > clk_clean_rate_cache(clkp); > } > Reviewed-by: Michael Trimarchi Michael > -- > 2.48.1 > > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulaso

Re: [resend v3 00/19] Add Cadence NAND Driver support

2025-03-05 Thread Michael Nazzareno Trimarchi
Hi Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [resend v2 00/19] Add Cadence NAND Driver support

2025-03-05 Thread Michael Nazzareno Trimarchi
-nand-flash/-/commits/nand-next?ref_type=heads Michael On Wed, Feb 26, 2025 at 5:36 PM Maniyam, Dinesh wrote: > > > > -Original Message- > > From: Maniyam, Dinesh > > Sent: Wednesday, 26 February 2025 11:37 am > > To: 'Michael Nazzareno Trimarchi&#x

Re: [PATCH 01/10] clk: imx6q: Properly handle imx6qp ESPI clk_sels

2025-03-03 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 3, 2025 at 1:54 PM Adam Ford wrote: > On Mon, Mar 3, 2025 at 6:34 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi Adam > > > > On Sun, Mar 2, 2025 at 5:53 PM Adam Ford wrote: > >> > >> The ECSPI clock has the ability to se

Re: [PATCH 01/10] clk: imx6q: Properly handle imx6qp ESPI clk_sels

2025-03-03 Thread Michael Nazzareno Trimarchi
cspi_root", "pll3_60m", base + 0x38, 19, > 6)); > - > + if (clk_on_imx6qp()) { > + clk_dm(IMX6QDL_CLK_ECSPI_ROOT, > + imx_clk_divider("ecspi_root", "ecspi_sel", base + > 0x38, 19, 6)); > + } else { > +

Re: [resend v3 17/19] drivers: mtd: nand: Enabled Kconfig and Makefile for SPL_NAND_FRAMEWORK

2025-02-27 Thread Michael Nazzareno Trimarchi
Hi On Fri, Feb 28, 2025 at 5:02 AM Maniyam, Dinesh wrote: > > > > > -Original Message- > > From: Michael Nazzareno Trimarchi > > Sent: Friday, 28 February 2025 5:30 am > > To: Maniyam, Dinesh > > Cc: u-boot@lists.denx.de; Marek ; Simon > > ;

Re: [resend v3 17/19] drivers: mtd: nand: Enabled Kconfig and Makefile for SPL_NAND_FRAMEWORK

2025-02-27 Thread Michael Nazzareno Trimarchi
icron.o \ > + nand_samsung.o nand_toshiba.o > + > ifdef CONFIG_SPL_BUILD > > +ifdef CONFIG_SPL_NAND_FRAMEWORK > +obj-y += $(nand-framework-objs) > +NORMAL_DRIVERS=y > +endif > + > ifdef CONFIG_SPL_NAND_DRIVERS > NORMAL_DRIVERS=y > endif >

Re: [resend v3 00/19] Add Cadence NAND Driver support

2025-02-26 Thread Michael Nazzareno Trimarchi
529 > include/linux/mtd/rawnand.h | 12 + > 13 files changed, 3278 insertions(+), 26 deletions(-) > create mode 100644 configs/socfpga_agilex5_nand2_defconfig > create mode 100644 doc/device-tree-bindings/mtd/cadence,nand.yaml > create mode

Re: [PATCH v3 3/3] mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

2025-02-12 Thread Michael Nazzareno Trimarchi
; @@ -1133,7 +1133,7 @@ static int atmel_smc_nand_prepare_smcconf(struct > >>>>> atmel_nand *nand, > >>>>>const struct nand_data_interface > >>>>> *conf, > >>>>>

Re: [resend v2 00/19] Add Cadence NAND Driver support

2025-01-25 Thread Michael Nazzareno Trimarchi
s not paassing the CI. I will test it again today Michael > > -Original Message- > > From: Maniyam, Dinesh > > Sent: Tuesday, 17 December 2024 3:41 pm > > To: Michael Nazzareno Trimarchi > > Cc: u-boot@lists.denx.de; Marek ; Simon > > ; Tom Rini ; Dario

Re: [PATCH] fs: ubifs: Remove unnecessary assignment

2025-01-24 Thread Michael Nazzareno Trimarchi
_info *c, int lnum, > void ubifs_end_scan(const struct ubifs_info *c, struct ubifs_scan_leb *sleb, > int lnum, int offs) > { > - lnum = lnum; > dbg_scan("stop scanning LEB %d at offset %d", lnum, offs); > ubifs_assert(offs % c-

Re: [ANN / RFC] Regular community calls?

2025-01-13 Thread Michael Nazzareno Trimarchi
are the running notes > > <https://docs.google.com/document/d/1YBOMsbM19uSFyoJWnt7-PsOLBaevzQUgV-hiR88a5-o/edit?tab=t.0> > > from the previous series. > > Meeting minutes are good, but perhaps we should send them out via email > so they're more accessible. > +

Re: Simon Glass's future with Das U-Boot project?

2025-01-10 Thread Michael Nazzareno Trimarchi
aster' or something > along those lines, which further complicates things as people might think > their code got merged. > Me too. I don't have that time and for the moment how the project is progressive is fine. Michael > I think we s

Re: iMX8MN: SPL not starting U-Boot

2024-12-27 Thread Michael Nazzareno Trimarchi
Hi Il ven 27 dic 2024, 14:17 Ayrton Leyssens ha scritto: > Hi > > I am having troubles booting an iMX8M Nano board. > I compiled U-Boot and flashed it to an SD-card using Buildroot. > > The board starts my SPL, does the DRAM init, goes back to BOOTROM and > eventually goes to the SPL stage where

Re: [PATCH v1] mtd: rawnand: meson: always use OOB bytes during write

2024-12-24 Thread Michael Nazzareno Trimarchi
Hi Yes Michael On Tue, Dec 24, 2024 at 8:55 AM Arseniy Krasnov wrote: > > > > On 23.12.2024 15:57, Michael Nazzareno Trimarchi wrote: > > On Sun, Dec 22, 2024 at 10:23 PM Arseniy Krasnov > > wrote: > >> > >> If 'oob_required' is not set by

Re: [PATCH v1] mtd: rawnand: meson: always use OOB bytes during write

2024-12-23 Thread Michael Nazzareno Trimarchi
red) > - meson_nfc_set_user_byte(chip, chip->oob_poi); > + meson_nfc_set_user_byte(chip, chip->oob_poi); > Reviewed-by: Michael Trimarchi I will queue it > return meson_nfc_write_page_sub(chip, page, false); > } > -- > 2.30.1 -- Michael Nazzareno

Pull request for u-boot-nand-20241212

2024-12-15 Thread Michael Nazzareno Trimarchi
Hi Tom The following changes since commit 9452fb7484118822b878ad445237d111b7b1a28d: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh (2024-12-11 12:50:29 -0600) are available in the Git repository at: g...@source.denx.de:u-boot/custodians/u-boot-nand-flash.git mik

Re: [resend v2 00/19] Add Cadence NAND Driver support

2024-12-13 Thread Michael Nazzareno Trimarchi
| 14 + > 13 files changed, 3293 insertions(+), 25 deletions(-) > create mode 100644 configs/socfpga_agilex5_nand2_defconfig > create mode 100644 doc/device-tree-bindings/mtd/cadence,nand.yaml > create mode 100644 drivers/mtd/nand/raw/cadence_nand.c > create mode 100644 drivers/mtd/

Re: [resend v2 15/19] drivers: mtd: nand: base: Add support for Hardware ECC for check bad block

2024-12-12 Thread Michael Nazzareno Trimarchi
rporation > + * Drop here > * Info: > * Contains standard defines and IDs for NAND flash devices > * > @@ -131,6 +133,17 @@ void nand_wait_ready(struct mtd_info *mtd); > > #define NAND_DATA_IFACE_CHECK_ONLY -1 > > +/* > + * There are different places where the manufacturer stores the factory bad > + * block markers. > + * > + * Position within the block: Each of these pages needs to be checked for a > + * bad block marking pattern. > + */ > +#define NAND_BBM_FIRSTPAGE BIT(24) > +#define NAND_BBM_SECONDPAGEBIT(25) > +#define NAND_BBM_LASTPAGE BIT(26) > + > /* > * Constants for ECC_MODES > */ > -- > 2.19.0 > Reviewed-by: Michael Trimarchi -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [PATCH] mtd: nand: raw: atmel: remove unnecessary return value

2024-12-09 Thread Michael Nazzareno Trimarchi
Hi Il mar 10 dic 2024, 08:08 Marcus Folkesson ha scritto: > Hello Michael, > > On Fri, Aug 30, 2024 at 09:05:27AM +0200, Michael Nazzareno Trimarchi > wrote: > > Hi Marcus > > > > On Fri, Aug 30, 2024 at 8:59 AM Marcus Folkesson > > wrote: > > > &

Re: [resend v2 14/19] configs: nand2_defconfig: Enable configs for nand boot

2024-12-05 Thread Michael Nazzareno Trimarchi
Hi Il gio 5 dic 2024, 10:36 Maniyam, Dinesh ha scritto: > > > > -Original Message- > > From: Maniyam, Dinesh > > Sent: Thursday, 5 December 2024 5:23 pm > > To: u-boot@lists.denx.de > > Cc: Marek ; Simon ; Tom > > Rini ; Dario Binacchi > > ; Michael Trimarchi > > ; Johan Jonker ; Michal

Pull request for u-boot-nand-20241126 External

2024-11-27 Thread Michael Nazzareno Trimarchi
Hi Tom The following changes since commit 3881c6b90350b0b04085ad46ef64989b43967eef: configs: Resync with savedefconfig (2024-11-26 08:17:35 -0600) are available in the Git repository at: g...@source.denx.de:u-boot/custodians/u-boot-nand-flash.git mike/u-boot-nand-20241126 for you to fetch

Re: [PATCH] nand: Add a watch command

2024-11-26 Thread Michael Nazzareno Trimarchi
* In cases where ops->datbuf != NULL, mtd->_read_oob() has semantics > +* similar to mtd->_read(), returning a non-negative integer > +* representing max bitflips. In other cases, mtd->_read_oob() may > +* return -EUCLEAN. In all cases, perform similar logic to mtd_read(). > +*/ > + ret_code = mtd->_read_oob(mtd, from, ops); > + if (unlikely(ret_code < 0)) > + return ret_code; > + if (mtd->ecc_strength == 0) > + return 0; /* device lacks ecc */ > + return ret_code; > +} > +EXPORT_SYMBOL_GPL(mtd_read_oob_bf); > + > int mtd_write_oob(struct mtd_info *mtd, loff_t to, > struct mtd_oob_ops *ops) > { > diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h > index 09f52698877..28afbb86ea9 100644 > --- a/include/linux/mtd/mtd.h > +++ b/include/linux/mtd/mtd.h > @@ -413,6 +413,7 @@ int mtd_panic_write(struct mtd_info *mtd, loff_t to, > size_t len, size_t *retlen, > const u_char *buf); > > int mtd_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops); > +int mtd_read_oob_bf(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops > *ops); > int mtd_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops); > > int mtd_get_fact_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, > -- > 2.34.1 > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [PATCH 0/5] collected fallout of porting an ATSAMA5D2 based board

2024-11-21 Thread Michael Nazzareno Trimarchi
ions(+), 26 deletions(-) > >> > > > > Coming back to these patches I had a look and except a typo , it looks good. > > I can take these through at91 tree or maybe Michael you want to have a > > look as they touch the MTD/NAND drivers ? > > >

Re: [PATCH v2 0/4] Broadcom BCMBCA nand updates

2024-11-13 Thread Michael Nazzareno Trimarchi
ts > delete mode 100644 arch/arm/dts/bcm96756.dts > delete mode 100644 arch/arm/dts/bcm96813.dts > delete mode 100644 arch/arm/dts/bcm96855.dts > delete mode 100644 arch/arm/dts/bcm96856.dts > delete mode 100644 arch/arm/dts/bcm96858.dts > delete mode 100644 arch/arm/dts/bcm9687

Re: [PATCH 3/4] mtd: rawnand: brcmnand: Add BCMBCA read data bus interface

2024-11-08 Thread Michael Nazzareno Trimarchi
existing > brcmnand_read_data_bus. > > We are working on a better solution and will update. > > > Yours, > > Linus Walleij I'm thinking of applying this series for a general cleanup. What would like to have in cover letter, is what board this series was tested, due the fact that some of the code is not necessary anymore Michael -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [PATCH 0/5] fs: ext4: implement opendir, readdir, closedir

2024-11-07 Thread Michael Nazzareno Trimarchi
Hi On Thu, Nov 7, 2024 at 10:27 AM Heinrich Schuchardt wrote: > > On 11/3/24 00:36, Michael Nazzareno Trimarchi wrote: > > Hi Tom > > > > On Sun, Nov 3, 2024 at 12:26 AM Tom Rini wrote: > >> > >> On Sat, 26 Oct 2024 08:40:43 +0200, Heinrich Schuchardt

Re: [PATCH 0/5] fs: ext4: implement opendir, readdir, closedir

2024-11-07 Thread Michael Nazzareno Trimarchi
Hi Tom On Sun, Nov 3, 2024 at 9:21 AM Michael Nazzareno Trimarchi wrote: > > Hi > > Il dom 3 nov 2024, 00:53 Tom Rini ha scritto: >> >> On Sun, Nov 03, 2024 at 12:36:38AM +0100, Michael Nazzareno Trimarchi wrote: >> > Hi Tom >> > >> &

Re: [PATCH 1/4] clk: imx: clk-imx8mn Fix nand and spi clock parent

2024-11-04 Thread Michael Nazzareno Trimarchi
Hi On Mon, Nov 4, 2024 at 6:17 PM Adam Ford wrote: > > On Mon, Nov 4, 2024 at 11:04 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi Adam > > > > On Mon, Nov 4, 2024 at 6:01 PM Adam Ford wrote: > > > > > > On Mon, Nov 4, 2024 a

Re: [PATCH 1/4] clk: imx: clk-imx8mn Fix nand and spi clock parent

2024-11-04 Thread Michael Nazzareno Trimarchi
Hi Adam On Mon, Nov 4, 2024 at 6:01 PM Adam Ford wrote: > > On Mon, Nov 4, 2024 at 10:29 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi Adam > > > > On Mon, Nov 4, 2024 at 5:11 PM Adam Ford wrote: > > > > > > On Sun, Ju

Re: [PATCH 1/4] clk: imx: clk-imx8mn Fix nand and spi clock parent

2024-11-04 Thread Michael Nazzareno Trimarchi
; > + if (ret) > > + return ret; > > + clk_dm(IMX8MN_CLK_24M, dev_get_clk_ptr(osc_24m_clk.dev)); > > + > > These four lines appear to have introduced a regression on the > imx8mn-beacon board. In the SPL phase, I get an error message > indicating it

Re: [PATCH 0/5] fs: ext4: implement opendir, readdir, closedir

2024-11-03 Thread Michael Nazzareno Trimarchi
Hi Il dom 3 nov 2024, 00:53 Tom Rini ha scritto: > On Sun, Nov 03, 2024 at 12:36:38AM +0100, Michael Nazzareno Trimarchi > wrote: > > Hi Tom > > > > On Sun, Nov 3, 2024 at 12:26 AM Tom Rini wrote: > > > > > > On Sat, 26 Oct 2024 08:40:43 +0200, Hei

Re: [PATCH 0/5] fs: ext4: implement opendir, readdir, closedir

2024-11-02 Thread Michael Nazzareno Trimarchi
free(dirs); } if (dir) ext4fs_free_node(dir, &ext4fs_root->diropen); return ret; } Should not be like this? > -- > Tom > > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com

Re: [PATCH 3/5] fs: ext4: implement opendir, readdir, closedir

2024-10-26 Thread Michael Nazzareno Trimarchi
.uuid = ext4fs_uuid, > - .opendir = fs_opendir_unsupported, > + .opendir = ext4fs_opendir, > + .readdir = ext4fs_readdir, > + .closedir = ext4fs_closedir, > .unlink = fs_unlink_unsupported, > .mkdir

Re: [PATCH 2/5] fs: ext4: free directory node in ext4fs_exists()

2024-10-26 Thread Michael Nazzareno Trimarchi
le1(filename, &ext4fs_root->diropen, &dirnode, > + &filetype); > + if (dirnode) > + ext4fs_free_node(dirnode, &ext4fs_root->diropen); > + > + return ret; > } > Reviewed-by: Michael Trimarchi > int ext4f

Re: [PATCH 1/5] fs: ext4: simplify ext4fs_iterate_dir()

2024-10-26 Thread Michael Nazzareno Trimarchi
> dirent.inode), > + > &fdiro->inode); > if (status == 0) { > free(fdiro); >

Re: [PATCH 1/6] Revert "spi: zynq_qspi: Add parallel memories support in QSPI driver"

2024-10-23 Thread Michael Nazzareno Trimarchi
Hi Marek On Wed, Oct 23, 2024 at 10:41 AM Marek Vasut wrote: > > On 10/23/24 5:18 AM, Abbarapu, Venkatesh wrote: > > Hi Marek, > > There was some issue and fix is sent > > https://lore.kernel.org/u-boot/20241018082644.22495-1-venkatesh.abbar...@amd.com/T/#u > > Is this one fix or three fixes for

Re: [PATCH v2 0/4] mtd: rawnand: brcmnand: Add BCMBCA support

2024-10-14 Thread Michael Nazzareno Trimarchi
Hi On Fri, Oct 11, 2024 at 9:54 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Fri, Oct 11, 2024 at 4:49 PM Linus Walleij > wrote: > > > > This adds support for the NAND controller on the Broadcom > > BCA (Broadband Access) platforms. > > > >

Re: [PATCH v2] mtd: nand: raw: atmel: Use ONFI ECC params if available

2024-10-14 Thread Michael Nazzareno Trimarchi
Hi On Wed, Oct 9, 2024 at 10:24 AM Michael Nazzareno Trimarchi wrote: > > Hi > > On Mon, Jul 29, 2024 at 10:07 AM Eugen Hristev > wrote: > > > > On 7/25/24 12:41, Michael Nazzareno Trimarchi wrote: > > > Hi > > > > > > On Thu, Jul 25,

Pull request for u-boot-nand-20241012

2024-10-14 Thread Michael Nazzareno Trimarchi
bcmbca_nand.c | 152 +++ 8 files changed, 182 insertions(+), 134 deletions(-) delete mode 100644 arch/arm/dts/bcm6846.dtsi delete mode 100644 arch/arm/dts/bcm96846.dts create mode 100644 drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c -- Michael Nazzareno Trimarchi Co-Founder & C

Re: [PATCH v2 0/4] mtd: rawnand: brcmnand: Add BCMBCA support

2024-10-11 Thread Michael Nazzareno Trimarchi
1167c3c91367e8194a69d1b > change-id: 20240930-bcmbca-nand-support-4447e176bbbd > > Best regards, > -- > Linus Walleij > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com

Re: [PATCH 03/11] board: siemens: iot2050: Control pcie power for all variants

2024-10-09 Thread Michael Nazzareno Trimarchi
al mode]"; > connector_mode = m2_manual_config; > @@ -429,6 +431,8 @@ int board_late_init(void) > /* change CTRL_MMR register to let serdes0 not output USB3.0 signals. > */ > writel(0x3, SERDES0_LANE_SELECT); > > + enable_pcie_connector

Re: [PATCH 01/11] board: siemens: iot2050: Fix mistake in list of writable env vars

2024-10-09 Thread Michael Nazzareno Trimarchi
config:sw," \ > + "m2_manual_config:sw," \ > "eth1addr:mw,eth2addr:mw,watchdog_timeout_ms:dw,boot_targets:sw" > #endif > Reviewed-by: Michael Trimarchi > -- >

Re: [PATCH v2] mtd: nand: raw: atmel: Use ONFI ECC params if available

2024-10-09 Thread Michael Nazzareno Trimarchi
Hi On Mon, Jul 29, 2024 at 10:07 AM Eugen Hristev wrote: > > On 7/25/24 12:41, Michael Nazzareno Trimarchi wrote: > > Hi > > > > On Thu, Jul 25, 2024 at 11:36 AM > > wrote: > >> > >> Acked-by: Balamanikandan Gunasundar > >> > >>

Re: [PATCH v2] mtd: nand: raw: atmel: Use ONFI ECC params if available

2024-10-09 Thread Michael Nazzareno Trimarchi
Hi On Wed, Oct 9, 2024 at 10:22 AM Zixun LI wrote: > > Hi, sorry to bother, it seems like the patch is not picked up yet ? > > Zixun I will pick up today and prepare for next pull request Michael -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 3

Re: [PATCH v3 3/3] mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

2024-10-08 Thread Michael Nazzareno Trimarchi
gt; >>> atmel_nand *nand, > >>> ATMEL_SMC_MODE_TDFMODE_OPTIMIZED; > >>> > >>> /* > >>> - * Read pulse timing directly matches tRP: > >>> +* Read pulse timing would dire

Re: [PATCH 3/4] drivers: nand: bcmbca: Enable on BCM6846

2024-10-07 Thread Michael Nazzareno Trimarchi
quot;Broadcom 6846 Reference Board" > depends on ARCH_BCMBCA > + imply MTD_RAW_NAND > + imply NAND_BRCMNAND > + imply NAND_BRCMNAND_BCMBCA > > config SYS_SOC > default "bcm6846" > Reviewed-by: Michael Trimarchi > -- > 2.4

Re: [PATCH 1/4] mtd: rawnand: brcmnand: Add BCMBCA RAW NAND driver

2024-10-07 Thread Michael Nazzareno Trimarchi
rcm,nand-bcm63138", > + }, > + { /* sentinel */ } > +}; > + > +U_BOOT_DRIVER(bcmbca_nand) = { > + .name = "bcmbca-nand", > + .id = UCLASS_MTD, > + .of_match = bcmbca_nand_dt_ids, > + .probe = bcmbca_nand_probe, > + .

Re: [PATCH 14/19] configs: nand2_defconfig: Enable configs for nand boot

2024-10-07 Thread Michael Nazzareno Trimarchi
Hi On Mon, Oct 7, 2024 at 4:23 AM Maniyam, Dinesh wrote: > > > -Original Message- > > From: Tom Rini > > Sent: Saturday, 5 October 2024 11:21 pm > > To: Michael Nazzareno Trimarchi > > Cc: Maniyam, Dinesh ; u-boot@lists.denx.de; > > Marek ; Si

Re: [PATCH 0/7] mtd: nand: brcmnand: Backported fixes from Linux

2024-10-05 Thread Michael Nazzareno Trimarchi
Hi On Mon, Sep 30, 2024 at 2:54 PM Linus Walleij wrote: > > On Sat, Sep 28, 2024 at 2:51 AM Michael Nazzareno Trimarchi > wrote: > > > I have already seen all of them and I follow the thread > > > > We will pick them up > > Thanks Michael, I will send out

[PULL] Pull request for u-boot-nand-20241005

2024-10-05 Thread Michael Nazzareno Trimarchi
(+), 45 deletions(-) -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions

Re: [PATCH 16/19] drivers: mtd: nand: spl: Add support for nand SPL load image

2024-10-05 Thread Michael Nazzareno Trimarchi
hang(); > + > + sector_align_offset = sector & (~(mtd->erasesize - 1)); > + > + sector_align_end_offset = (sector + offs) & (~(mtd->erasesize - 1)); > + > + while (sector_align_offset <= sector_align_end_offset) { > + if (nand_block_isbad(mtd, sector_align_offset)) { >

Re: [PATCH 14/19] configs: nand2_defconfig: Enable configs for nand boot

2024-10-05 Thread Michael Nazzareno Trimarchi
+# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set > +CONFIG_SPL_STACK=0x73000 > +CONFIG_SYS_SPL_MALLOC=y > +CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y > +CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xbfa0 > +CONFIG_SYS_SPL_MALLOC_SIZE=0x50 > +CONFIG_SPL_BSS_MAX_SIZE=0x10 >

Re: [PATCH v5 01/11] led: toggle LED on initial SW blink

2024-10-03 Thread Michael Nazzareno Trimarchi
t take in account. Is somenthing that we should care? and if not we should warning the user? Apart of that Reviewed-by: Michael Trimarchi michael > } > > -- > 2.45.2 > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-10-01 Thread Michael Nazzareno Trimarchi
n > > this. > > I'm sorry I don't fully understand your answer. I assume you agree with > the generic approach quoted above. > > > If a clock is enabled by another stage and we don't aware about > > it we need to mark > > as enabled.

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-10-01 Thread Michael Nazzareno Trimarchi
renting. > > > > That's exactly the link above, whose diff is pasted here for reference: > > > > @@ -595,6 +595,10 @@ int clk_set_parent(struct clk *clk, struct clk *parent) > > if (!ops->set_parent) > > return -ENOSYS; > > >

Re: [PATCH 08/26] power: Add iMX8M block ctrl driver for dispmix

2024-10-01 Thread Michael Nazzareno Trimarchi
patch, which is more > future and platform agnostic, fixed it: > > https://lore.kernel.org/u-boot/20240910101344.110633-3-miquel.ray...@bootlin.com/ > The clock patches are not specific at all. You need to have it working for the parent for each component. This is a

  1   2   3   4   5   6   7   8   >