Re: [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata

2020-04-30 Thread Bartosz Golaszewski
wt., 28 kwi 2020 o 09:01 Faiz Abbas napisał(a): > > +Bartosz > > On 28/04/20 9:47 am, Lokesh Vutla wrote: > > +Faiz, > > > > On 28/04/20 12:29 AM, Tom Rini wrote: > >> On Mon, Apr 27, 2020 at 05:33:41AM +, Peng Fan wrote: > Subject: [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-pla

Re: [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata

2020-05-04 Thread Bartosz Golaszewski
pt., 1 maj 2020 o 20:32 Tom Rini napisał(a): > > On Thu, Apr 30, 2020 at 01:43:30PM +0200, Bartosz Golaszewski wrote: > > wt., 28 kwi 2020 o 09:01 Faiz Abbas napisał(a): > > > > > > +Bartosz > > > > > > On 28/04/20 9:47 am, Lokesh Vutla wrote: >

Re: [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata

2020-05-05 Thread Bartosz Golaszewski
wt., 5 maj 2020 o 08:50 Faiz Abbas napisał(a): > > Hi, > > On 04/05/20 6:44 pm, Simon Glass wrote: > > Hi Bart, > > > > On Mon, 4 May 2020 at 01:10, Bartosz Golaszewski wrote: > >> > >> pt., 1 maj 2020 o 20:32 Tom Rini napisał(a): > >>

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-08 Thread Bartosz Golaszewski
pt., 25 paź 2019 o 18:10 Bartosz Golaszewski napisał(a): > > czw., 26 wrz 2019 o 01:21 Faiz Abbas napisał(a): > > > > Hi, > > > > On 29/07/19 12:28 PM, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > Enable CONFIG_

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-08 Thread Bartosz Golaszewski
pt., 8 lis 2019 o 18:33 Bartosz Golaszewski napisał(a): > > pt., 8 lis 2019 o 17:14 Adam Ford napisał(a): > > > > On Fri, Nov 8, 2019 at 9:50 AM Bartosz Golaszewski > > wrote: > > > > > > pt., 25 paź 2019 o 18:10 Bartosz Golaszewski napisał(a): >

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-08 Thread Bartosz Golaszewski
pt., 8 lis 2019 o 17:14 Adam Ford napisał(a): > > On Fri, Nov 8, 2019 at 9:50 AM Bartosz Golaszewski > wrote: > > > > pt., 25 paź 2019 o 18:10 Bartosz Golaszewski napisał(a): > > > > > > czw., 26 wrz 2019 o 01:21 Faiz Abbas napisał(a): > > > &g

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-13 Thread Bartosz Golaszewski
pon., 11 lis 2019 o 13:58 Adam Ford napisał(a): > > On Fri, Nov 8, 2019 at 11:59 AM Bartosz Golaszewski wrote: > > > > pt., 8 lis 2019 o 18:33 Bartosz Golaszewski > > napisał(a): > > > > > > pt., 8 lis 2019 o 17:14 Adam Ford napisał(a): > > &g

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-13 Thread Bartosz Golaszewski
śr., 13 lis 2019 o 11:52 Bartosz Golaszewski napisał(a): > > pon., 11 lis 2019 o 13:58 Adam Ford napisał(a): > > > > On Fri, Nov 8, 2019 at 11:59 AM Bartosz Golaszewski wrote: > > > > > > pt., 8 lis 2019 o 18:33 Bartosz Golaszewski > > > napisał(a):

[U-Boot] [PATCH] scripts: dtc: ignore files generated generated by python

2019-11-13 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add __pycache__ to ignored files and extend the rule for _libfdt to also include generated shared objects (e.g. _libfdt.cpython-37m-x86_64-linux-gnu.so). Signed-off-by: Bartosz Golaszewski --- scripts/dtc/pylibfdt/.gitignore | 3 ++- 1 file changed, 2 insertions

Re: [U-Boot] [PATCH] ARM: omapl138_lcdk: Shrink code size by building with Thumb

2019-11-13 Thread Bartosz Golaszewski
y > CONFIG_SYS_TEXT_BASE=0xc108 > CONFIG_TARGET_OMAPL138_LCDK=y > -- > 2.20.1 > Tested-by: Bartosz Golaszewski Reviewed-by: Bartosz Golaszewski ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] ARM: omapl138_lcdk: Allow early init to start instruction cache

2019-11-13 Thread Bartosz Golaszewski
clk_get(DAVINCI_AUXCLK_CLKID) > #define CONFIG_SYS_HZ 1000 > -#define CONFIG_SKIP_LOWLEVEL_INIT > +#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY > > /* > * Memory Info > -- > 2.20.1 > Tested-by: Bartosz Golaszewski Reviewed-by: Bartosz Golaszewski ___

Re: [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation

2019-11-13 Thread Bartosz Golaszewski
ONS=y > CONFIG_SPL_LIBCOMMON_SUPPORT=y > CONFIG_SPL_LIBGENERIC_SUPPORT=y > +CONFIG_SYS_MALLOC_F_LEN=0x800 > CONFIG_SPL_MMC_SUPPORT=y > CONFIG_SPL_SERIAL_SUPPORT=y > CONFIG_NR_DRAM_BANKS=1 > -- > 2.20.1 > Tested-by: Bartosz Golaszewski Reviewed-by: Bartosz Golaszewski __

Re: [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL

2019-11-13 Thread Bartosz Golaszewski
SYS_MALLOC_SIMPLE=y > +CONFIG_SPL_SEPARATE_BSS=y > CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5 > CONFIG_SPL_NAND_SUPPORT=y > CONFIG_HUSH_PARSER=y > -- > 2.20.1 > Tested-by: Bartosz Golaszewski Reviewed-by: Bartosz Golaszewski ___ U-

Re: [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE

2019-11-13 Thread Bartosz Golaszewski
CONFIG_NET_RANDOM_ETHADDR=y > CONFIG_DM=y > CONFIG_SPL_DM=y > +CONFIG_SPL_DM_SEQ_ALIAS=y > +CONFIG_SPL_OF_TRANSLATE=y > CONFIG_DM_GPIO=y > CONFIG_DA8XX_GPIO=y > CONFIG_DM_I2C=y > -- > 2.20.1 > Tested-by: Bartosz Golaszewski Reviewed-by: Bartosz Golaszewski __

[U-Boot] [PATCH 0/4] omapl138_lcdk: fix MMC boot

2019-11-14 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Booting from MMC on omapl138-lcdk is currently broken after we enabled driver-model in SPL. While I know what's wrong - the bind() callback not being called - I can't for the life of me figure out how to fix it. I'm still working on proper changes, b

[U-Boot] [PATCH 1/4] mmc: davinci: drop support for ti,dm6441-mmc

2019-11-14 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The DM family of DaVinci SoCs is no longer supported. Drop the irrelevant code from the driver. Signed-off-by: Bartosz Golaszewski --- .../mach-davinci/include/mach/sdmmc_defs.h| 6 --- board/davinci/da8xxevm/omapl138_lcdk.c| 1 - drivers/mmc

[U-Boot] [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2019-11-14 Thread Bartosz Golaszewski
From: Bartosz Golaszewski struct mmc_config & struct mmc don't need to be exported over platform data, but can instead be private in the driver. Remove struct davinci_mmc_plat. Signed-off-by: Bartosz Golaszewski --- drivers/mmc/davinci_mmc.c | 14 -- 1 file changed, 4 i

[U-Boot] [PATCH 4/4] mmc: davinci: fix mmc boot in SPL

2019-11-14 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The MMC boot is currently broken on omapl138-lcdk after enabling the driver model in SPL. The main problem is the driver's bind callback not being called after probe in SPL (even with the DM_FLAG_PRE_RELOC flag specified). While a proper fix is still being work

[U-Boot] [PATCH 3/4] board: omapl138_lcdk: add the mmc device to SPL

2019-11-14 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We don't have full device-tree support in SPL yet - add an appropriate U_BOOT_DEVICE() to the board file. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/Kconfig | 1 + board/davinci/da8xxevm/omapl138_lcdk.c | 9 + 2 files change

Re: [U-Boot] [PATCH] ARM: dts: da850-lcdk: Update DTS files for SPL device tree support

2019-11-14 Thread Bartosz Golaszewski
śr., 13 lis 2019 o 16:46 Adam Ford napisał(a): > > Currently, the da850-lcdk uses SPL_OF_PLATDATA and manually loads > the necessary source code instead of using the auto-generated, > because the drivers don't properly autogenerate the code. > > This patch simply enables the various device tree op

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-10-25 Thread Bartosz Golaszewski
czw., 26 wrz 2019 o 01:21 Faiz Abbas napisał(a): > > Hi, > > On 29/07/19 12:28 PM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Enable CONFIG_SPL_DM and enable the driver model for serial by defining > > an appropriate device in the boa

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-10-28 Thread Bartosz Golaszewski
pt., 25 paź 2019 o 19:25 Rizvi, Mohammad Faiz Abbas napisał(a): > > Hi Barotz, > It's Bartosz - it's literally on the next line of the e-mail too. :) > On 10/25/2019 9:40 PM, Bartosz Golaszewski wrote: > > czw., 26 wrz 2019 o 01:21 Faiz Abbas napisał(a): > >&

Re: [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2020-01-04 Thread Bartosz Golaszewski
pt., 3 sty 2020 o 17:01 Adam Ford napisał(a): > > On Thu, Nov 14, 2019 at 9:10 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > struct mmc_config & struct mmc don't need to be exported over platform > > data, but can instead be

[U-Boot] [PATCH] davinci: omapl138_lcdk: increase PLL0 frequency

2016-12-01 Thread Bartosz Golaszewski
PLL0 multiplier to 37, resulting in PLL0 frequency of 456 MHz - the same value that downstream reference u-boot from Texas Instruments uses. Signed-off-by: Bartosz Golaszewski --- include/configs/omapl138_lcdk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs

Re: [U-Boot] [PATCH] net: davinci_emac: convert to using the driver model

2019-06-03 Thread Bartosz Golaszewski
sob., 1 cze 2019 o 05:24 Adam Ford napisał(a): > > On Fri, May 31, 2019 at 8:32 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Now that we removed all legacy boards selecting TI_EMAC we can > > completely convert the driver code to us

Re: [U-Boot] [PATCH] net: davinci_emac: convert to using the driver model

2019-06-03 Thread Bartosz Golaszewski
pon., 3 cze 2019 o 15:03 Adam Ford napisał(a): > > On Mon, Jun 3, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > > > sob., 1 cze 2019 o 05:24 Adam Ford napisał(a): > > > > > > On Fri, May 31, 2019 at 8:32 AM Bartosz Golaszewski wrote: >

[U-Boot] [PATCH 2/4] nand: davinci: add support for driver model

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci NAND driver to support the driver model. For now this doesn't add any device-tree parsing due to the fact that we can't access the actual nand node on the device-tree - it's a subnode of the aemif device and we don't have an aemif

[U-Boot] [PATCH 0/4] nand: davinci: enable driver model for NAND

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This series enables the driver model for NAND on davinci da850 boards. The first patch is a simple tweak for an unnecessarily exported function. The second patch extends the NAND driver to support both legacy and driver-model users. For now we don't parse the d

[U-Boot] [PATCH 1/4] nand: davinci: make davinci_nand_init() static

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This function is only used within the driver itself. No need to export it. Signed-off-by: Bartosz Golaszewski --- arch/arm/include/asm/ti-common/davinci_nand.h | 2 -- drivers/mtd/nand/raw/davinci_nand.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions

[U-Boot] [PATCH 3/4] davinci: omapl138-lcdk: enable driver model for NAND

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-lcdk. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Ba

[U-Boot] [PATCH 4/4] davinci: da850-evm: enable driver model for NAND

2019-06-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-evm. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Ba

Re: [U-Boot] [PATCH 0/4] nand: davinci: enable driver model for NAND

2019-06-07 Thread Bartosz Golaszewski
czw., 6 cze 2019 o 17:58 Adam Ford napisał(a): > > On Thu, Jun 6, 2019 at 10:50 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > This series enables the driver model for NAND on davinci da850 boards. > > > > The first patch is a

Re: [U-Boot] [PATCH 0/4] davinci: fix build warnings

2019-06-24 Thread Bartosz Golaszewski
pon., 27 maj 2019 o 10:57 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > There are several build warnings related to driver-model usage emitted > when building u-boot for da850-evm and da850-lcdk. This series fixes them > and - while we're at it - remov

Re: [U-Boot] [PATCH 0/4] davinci: omapl138-lcdk: enable CONFIG_SPL_DM

2019-06-24 Thread Bartosz Golaszewski
wt., 28 maj 2019 o 11:58 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > This series enables the driver model in SPL on omapl138-lcdk. First two > patches enable size-reducing options in defconfig. The third patch is > just a cleanup of the board file. Last

Re: [U-Boot] [PATCH] net: davinci_emac: convert to using the driver model

2019-06-24 Thread Bartosz Golaszewski
śr., 12 cze 2019 o 18:46 Adam Ford napisał(a): > > On Mon, Jun 3, 2019 at 10:29 AM Bartosz Golaszewski wrote: > > > > pon., 3 cze 2019 o 15:03 Adam Ford napisał(a): > > > > > > On Mon, Jun 3, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > > > >

Re: [U-Boot] [PATCH] net: davinci_emac: convert to using the driver model

2019-06-24 Thread Bartosz Golaszewski
śr., 12 cze 2019 o 18:46 Adam Ford napisał(a): > > On Mon, Jun 3, 2019 at 10:29 AM Bartosz Golaszewski wrote: > > > > pon., 3 cze 2019 o 15:03 Adam Ford napisał(a): > > > > > > On Mon, Jun 3, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > > > >

[U-Boot] [PATCH v2] net: davinci_emac: convert to using the driver model

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we removed all legacy boards selecting TI_EMAC we can completely convert the driver code to using the driver model. This patch also updates all remaining users of davinci_emac. Signed-off-by: Bartosz Golaszewski --- v1 -> v2: - moved the packetp assignment

Re: [U-Boot] [PATCH] net: davinci_emac: convert to using the driver model

2019-06-24 Thread Bartosz Golaszewski
pon., 24 cze 2019 o 15:39 Adam Ford napisał(a): > > On Mon, Jun 24, 2019 at 7:07 AM Bartosz Golaszewski wrote: > > > > śr., 12 cze 2019 o 18:46 Adam Ford napisał(a): > > > > > > On Mon, Jun 3, 2019 at 10:29 AM Bartosz Golaszewski wrote: > > >

[U-Boot] [PATCH 0/5] arm: remove leftover code for dm* SoCs

2019-04-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Commit 6761946fb716 ("arm: Remove unmaintained davinci boards") removed support for certain DaVinci platforms. We still want to support the da850 chips though and I'm currently working on converting all remaining drivers to using the driver model (please

[U-Boot] [PATCH 1/5] net: davinci_emac: drop support for unused PHYs

2019-04-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The boards with SoCs from the DaVinci DM* family used to come with different PHYs that needed special support implemented in mach-davinci. Since the support for these chips has long been removed, we can now drop this unnused code from the emac driver. Signed-off-by

[U-Boot] [PATCH 2/5] arm: davinci: remove dead code for PHYs used by DaVinci DM* boards

2019-04-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The support for DaVinci DM* boards has been dropped a while ago. The code for all those PHYs is no longer used and they have their own proper PHY drivers in drivers/net/phy anyway. Remove all dead code. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci

[U-Boot] [PATCH 5/5] arm: davinci: remove leftover code for dm* SoCs

2019-04-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The support for DaVinci DM* SoCs has been dropped a while ago. There's still a lot of leftover code in mach-davinci though. Entirely remove certain files and modify the common code to no longer reference unsupported chips. Note: all DaVinci platforms supported

[U-Boot] [PATCH 4/5] usb: musb_hcd: remove unnecessary ifdefs for dm* SoCs

2019-04-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The support for DaVinci DM* SoCs has been dropped. The ifdefs in the musb_hcd driver are no longer needed. Remove them. Signed-off-by: Bartosz Golaszewski --- drivers/usb/musb/musb_hcd.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/usb/musb

[U-Boot] [PATCH 3/5] nand: davinci: remove dead code for dm644x

2019-04-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The support for DaVinci DM* SoCs has been dropped. The code that used to be relevant to dm644x is no longer needed. Remove it. Signed-off-by: Bartosz Golaszewski --- drivers/mtd/nand/raw/davinci_nand.c | 39 - 1 file changed, 39 deletions

[U-Boot] [PATCH] README: davinci: update the documentation for DaVinci

2019-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The DM* family of SOCs is no longer supported. We now support the omap-l138 lcdk board and Lego EV3 platform. Reflect those changes in the README. Signed-off-by: Bartosz Golaszewski --- doc/README.davinci | 125 - 1 file

Re: [U-Boot] [PATCH] README: davinci: update the documentation for DaVinci

2019-04-30 Thread Bartosz Golaszewski
wt., 30 kwi 2019 o 11:08 Adam Ford napisał(a): > > On Tue, Apr 30, 2019 at 2:39 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > The DM* family of SOCs is no longer supported. We now support the > > omap-l138 lcdk board and Lego

[U-Boot] [PATCH] net: davinci_emac: use driver model (CONFIG_DM_ETH)

2019-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add support for CONFIG_DM_ETH to the davinci_emac driver. Optimally we should only support DM-enabled platforms but there are several non-DT boards that still use it so either we need to keep supporting it or drop the boards from u-boot. For now we're stuck with

Re: [U-Boot] [PATCH] net: davinci_emac: use driver model (CONFIG_DM_ETH)

2019-05-10 Thread Bartosz Golaszewski
czw., 9 maj 2019 o 20:48 Joe Hershberger napisał(a): > > On Tue, Apr 30, 2019 at 11:04 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Add support for CONFIG_DM_ETH to the davinci_emac driver. Optimally > > we should only suppor

Re: [U-Boot] [PATCH] net: davinci_emac: use driver model (CONFIG_DM_ETH)

2019-05-10 Thread Bartosz Golaszewski
pt., 10 maj 2019 o 14:31 Adam Ford napisał(a): > > On Fri, May 10, 2019 at 7:22 AM Bartosz Golaszewski wrote: > > > > czw., 9 maj 2019 o 20:48 Joe Hershberger > > napisał(a): > > > > > > On Tue, Apr 30, 2019 at 11:04 AM Bartosz Golaszewski

Re: [U-Boot] [PATCH] net: davinci_emac: use driver model (CONFIG_DM_ETH)

2019-05-10 Thread Bartosz Golaszewski
pt., 10 maj 2019 o 14:51 Bartosz Golaszewski napisał(a): > > pt., 10 maj 2019 o 14:31 Adam Ford napisał(a): > > > > On Fri, May 10, 2019 at 7:22 AM Bartosz Golaszewski wrote: > > > > > > czw., 9 maj 2019 o 20:48 Joe Hershberger > > > napisał(a):

[U-Boot] [PATCH 0/8] davinci: remove older unmaintained boards

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I'm working on updating the driver-model support for da850-lcdk and da850-evm. There are several boards in the tree that don't use the driver model but depend on DaVinci drivers. Since supporting both legacy and DM in driver code makes it messy, I'd lik

[U-Boot] [PATCH 1/8] calimain: remove board

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updating it, this patch proposes to remove it. Signed-off-by: Ba

[U-Boot] [PATCH 2/8] ea20: remove board

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updating it, this patch proposes to remove it. Signed-off-by: Ba

[U-Boot] [PATCH 3/8] eco5pk: remove board

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updating it, this patch proposes to remove it. Signed-off-by: Ba

[U-Boot] [PATCH 6/8] mt_ventoux: remove board

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updating it, this patch proposes to remove it. Signed-off-by: Ba

[U-Boot] [PATCH 7/8] twister: remove board

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updating it, this patch proposes to remove it. Signed-off-by: Ba

[U-Boot] [PATCH 8/8] mcx: remove board

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updating it, this patch proposes to remove it. Signed-off-by: Ba

[U-Boot] [PATCH 5/8] cm_t3517: remove board

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updating it, this patch proposes to remove it. Signed-off-by: Ba

[U-Boot] [PATCH 4/8] ipam390: remove board

2019-05-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updating it, this patch proposes to remove it. Signed-off-by: Ba

[U-Boot] [PATCH] cmd: define CMD_DATA_SIZE when CONFIG_CMD_SETEXPR is selected

2019-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The setexpr shell command calls cmd_get_data_size() which is only built when CMD_DATA_SIZE is defined. We need to define CMD_DATA_SIZE if CONFIG_CMD_SETEXPR is selected or the build will fail if no other command selecting this option is enabled. Signed-off-by: Bartosz

Re: [U-Boot] [PATCH 0/5] arm: remove leftover code for dm* SoCs

2019-05-20 Thread Bartosz Golaszewski
pon., 20 maj 2019 o 17:39 Adam Ford napisał(a): > > On Mon, Apr 29, 2019 at 11:37 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Commit 6761946fb716 ("arm: Remove unmaintained davinci boards") removed > > support for certa

[U-Boot] [PATCH] arm: davinci: remove leftover assembly

2019-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of lowlevel_init.S. Remove the file. Suggested-by: Adam Ford Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/Makefile| 4 - arch/arm/mach-davinci/lowlevel_init.S | 692 -- 2 files changed, 696

[U-Boot] [PATCH 0/4] davinci: fix build warnings

2019-05-27 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are several build warnings related to driver-model usage emitted when building u-boot for da850-evm and da850-lcdk. This series fixes them and - while we're at it - removes the i2c compatiblity layer as davinci was the last user of it. Bartosz Golaszews

[U-Boot] [PATCH 1/4] davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-05-27 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This option is no longer used on any davinci board but still selected in defconfigs which causes the following warning: = WARNING == This board uses CONFIG_DM_I2C_COMPAT. Please remove (possibly in a subsequent patch in your

[U-Boot] [PATCH 2/4] sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-05-27 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more "real" users of CONFIG_DM_I2C_COMPAT and we'll soon remove it altogether. Stop building it in sandbox mode. Signed-off-by: Bartosz Golaszewski --- Makefile | 2 +- configs/sandbox64_defconfig

[U-Boot] [PATCH 4/4] omapl138_lcdk_defconfig: don't build support for SPI

2019-05-27 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The following warning is emited when building u-boot for da850-lcdk: = WARNING == This board does not use CONFIG_DM_SPI. Please update the board before v2019.04 for no dm conversion and v2019.07 for partially dm converted drivers

[U-Boot] [PATCH 3/4] i2c: remove i2c driver-model compatibility layer

2019-05-27 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of the compatibility layer for i2c. Remove the driver and all references to it. Signed-off-by: Bartosz Golaszewski --- Makefile| 7 -- drivers/i2c/Kconfig | 13 +--- drivers/i2c/Makefile| 1

[U-Boot] [PATCH 0/4] davinci: omapl138-lcdk: enable CONFIG_SPL_DM

2019-05-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This series enables the driver model in SPL on omapl138-lcdk. First two patches enable size-reducing options in defconfig. The third patch is just a cleanup of the board file. Last patch enables the driver model and defines the serial device so that we don't ha

[U-Boot] [PATCH 1/4] davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE

2019-05-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver model in SPL for da850-lcdk. Enable SPL_SYS_MALLOC_SIMPLE in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

[U-Boot] [PATCH 3/4] davinci: omapl138-lcdk: remove unneeded includes

2019-05-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no SPI on da850-lcdk. Remove unnecessary includes. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8

[U-Boot] [PATCH 2/4] davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF

2019-05-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver-model in SPL for da850-lcdk. Enable CONFIG_USE_TINY_PRINTF in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

[U-Boot] [PATCH 4/4] davinci: omapl138-lcdk: enable driver-model in SPL

2019-05-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable CONFIG_SPL_DM and enable the driver model for serial by defining an appropriate device in the board file for da850-lcdk. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 16 configs/omapl138_lcdk_defconfig

[U-Boot] [PATCH v2 2/2] arm: davinci: remove leftover assembly

2019-05-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of lowlevel_init.S. Remove the file. Suggested-by: Adam Ford Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/Makefile| 4 - arch/arm/mach-davinci/lowlevel_init.S | 692 -- 2 files changed, 696

[U-Boot] [PATCH v2 0/2] davinci: remove leftover low-level routines

2019-05-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I'm resending my earlier patch together with David's commit that makes this series not break the build for LEGO EV3. Bartosz Golaszewski (1): arm: davinci: remove leftover assembly David Lechner (1): configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

[U-Boot] [PATCH v2 1/2] configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

2019-05-29 Thread Bartosz Golaszewski
From: David Lechner This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. On the EV3, U-Boot is loaded into RAM by another bootloader, so we don't need the lowlevel init in U-Boot. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- include/configs/lego

Re: [U-Boot] [PATCH 4/4] davinci: omapl138-lcdk: enable driver-model in SPL

2019-05-29 Thread Bartosz Golaszewski
wt., 28 maj 2019 o 17:05 Adam Ford napisał(a): > > On Tue, May 28, 2019 at 2:58 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Enable CONFIG_SPL_DM and enable the driver model for serial by defining > > an appropriate dev

Re: [U-Boot] [PATCH] configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

2019-05-29 Thread Bartosz Golaszewski
śr., 29 maj 2019 o 03:55 David Lechner napisał(a): > > On 5/28/19 8:52 PM, Adam Ford wrote: > > On Tue, May 28, 2019 at 7:03 PM David Lechner wrote: > >> > >> This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. > >> On the EV3, U-Boot is loaded into RAM by another bootloader,

Re: [U-Boot] [PATCH 4/4] davinci: omapl138-lcdk: enable driver-model in SPL

2019-05-29 Thread Bartosz Golaszewski
śr., 29 maj 2019 o 15:04 Adam Ford napisał(a): > > On Wed, May 29, 2019 at 4:40 AM Bartosz Golaszewski wrote: > > > > wt., 28 maj 2019 o 17:05 Adam Ford napisał(a): > > > > > > On Tue, May 28, 2019 at 2:58 AM Bartosz Golaszewski wrote: >

Re: [U-Boot] [PATCH 4/4] davinci: omapl138-lcdk: enable driver-model in SPL

2019-05-29 Thread Bartosz Golaszewski
śr., 29 maj 2019 o 15:47 Adam Ford napisał(a): > > On Wed, May 29, 2019 at 8:23 AM Bartosz Golaszewski wrote: > > > > śr., 29 maj 2019 o 15:04 Adam Ford napisał(a): > > > > > > On Wed, May 29, 2019 at 4:40 AM Bartosz Golaszewski wrote: > > >

Re: [U-Boot] [PATCH] arm: davinci: remove leftover assembly

2019-05-30 Thread Bartosz Golaszewski
śr., 29 maj 2019 o 19:18 Tom Rini napisał(a): > > On Mon, May 20, 2019 at 06:29:38PM +0200, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > There are no more users of lowlevel_init.S. Remove the file. > > > > Suggested-by: Adam Ford

Re: [U-Boot] [PATCH] ARM: davinci: Remove ipam390 linker script from Kconfig

2019-05-31 Thread Bartosz Golaszewski
ault "board/$(BOARDDIR)/u-boot-spl-ipam390.lds" if TARGET_IPAM390 > default "board/$(BOARDDIR)/u-boot-spl-da850evm.lds" > > endif > -- > 2.17.1 > Reviewed-by: Bartosz Golaszewski ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] net: davinci_emac: convert to using the driver model

2019-05-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we removed all legacy boards selecting TI_EMAC we can completely convert the driver code to using the driver model. This patch also updates all remaining users of davinci_emac. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cpu.c

Re: [U-Boot] [PATCH 00/14] ARM: davinci: driver-model improvements

2019-07-21 Thread Bartosz Golaszewski
wt., 9 lip 2019 o 09:55 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > Hi Tom, > > the following series contains all the patches for davinci that have > been sent to the mailing list recently rebased on top of v2019.07 and > retested on da850-lcdk an

Re: [U-Boot] [PATCH v2] net: davinci_emac: convert to using the driver model

2019-07-24 Thread Bartosz Golaszewski
śr., 24 lip 2019 o 01:22 Joe Hershberger napisał(a): > > On Mon, Jun 24, 2019 at 9:22 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Now that we removed all legacy boards selecting TI_EMAC we can > > completely convert the driver code

[U-Boot] [PATCH v2 01/14] net: davinci_emac: convert to using the driver model

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we removed all legacy boards selecting TI_EMAC we can completely convert the driver code to using the driver model. This patch also updates all remaining users of davinci_emac. Signed-off-by: Bartosz Golaszewski Tested-by: Adam Ford #am3517-evm & da850

[U-Boot] [PATCH v2 00/14] ARM: davinci: driver-model improvements

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The following series contains all the patches for davinci that have been sent to the mailing list recently rebased on top of v2019.07 and retested on da850-lcdk and da850-evm. I collected all the review and test tags too. The first patch is the emac driver conversion

[U-Boot] [PATCH v2 02/14] davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This option is no longer used on any davinci board but still selected in defconfigs which causes the following warning: = WARNING == This board uses CONFIG_DM_I2C_COMPAT. Please remove (possibly in a subsequent patch in your

[U-Boot] [PATCH v2 10/14] davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver model in SPL for da850-lcdk. Enable SPL_SYS_MALLOC_SIMPLE in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

[U-Boot] [PATCH v2 06/14] nand: davinci: make davinci_nand_init() static

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This function is only used within the driver itself. No need to export it. Signed-off-by: Bartosz Golaszewski --- arch/arm/include/asm/ti-common/davinci_nand.h | 2 -- drivers/mtd/nand/raw/davinci_nand.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions

[U-Boot] [PATCH v2 09/14] davinci: da850-evm: enable driver model for NAND

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-evm. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Ba

[U-Boot] [PATCH v2 07/14] nand: davinci: add support for driver model

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci NAND driver to support the driver model. For now this doesn't add any device-tree parsing due to the fact that we can't access the actual nand node on the device-tree - it's a subnode of the aemif device and we don't have an aemif

[U-Boot] [PATCH v2 04/14] i2c: remove i2c driver-model compatibility layer

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of the compatibility layer for i2c. Remove the driver and all references to it. Signed-off-by: Bartosz Golaszewski Acked-by: Heiko Schocher --- Makefile| 7 -- drivers/i2c/Kconfig | 13 +--- drivers/i2c

[U-Boot] [PATCH v2 13/14] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable CONFIG_SPL_DM and enable the driver model for serial by defining an appropriate device in the board file for da850-lcdk. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 16 configs/omapl138_lcdk_defconfig

[U-Boot] [PATCH v2 05/14] omapl138_lcdk_defconfig: don't build support for SPI

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The following warning is emited when building u-boot for da850-lcdk: = WARNING == This board does not use CONFIG_DM_SPI. Please update the board before v2019.04 for no dm conversion and v2019.07 for partially dm converted drivers

[U-Boot] [PATCH v2 08/14] davinci: omapl138-lcdk: enable driver model for NAND

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-lcdk. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Ba

[U-Boot] [PATCH v2 03/14] sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more "real" users of CONFIG_DM_I2C_COMPAT and we'll soon remove it altogether. Stop building it in sandbox mode. Signed-off-by: Bartosz Golaszewski Acked-by: Heiko Schocher --- Makefile | 2 +- configs/sand

[U-Boot] [PATCH v2 14/14] configs: omapl138_lcdk: enable NAND self-init in SPL

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we have enabled the driver-model in SPL, we can remove the code disabling NAND self-init in SPL from the config include for omapl138-lcdk. Signed-off-by: Bartosz Golaszewski --- include/configs/omapl138_lcdk.h | 4 1 file changed, 4 deletions(-) diff

[U-Boot] [PATCH v2 12/14] davinci: omapl138-lcdk: remove unneeded includes

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no SPI on da850-lcdk. Remove unnecessary includes. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8

[U-Boot] [PATCH v2 11/14] davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver-model in SPL for da850-lcdk. Enable CONFIG_USE_TINY_PRINTF in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

Re: [U-Boot] [PATCH v2 00/14] ARM: davinci: driver-model improvements

2019-07-28 Thread Bartosz Golaszewski
śr., 24 lip 2019 o 21:06 Joe Hershberger napisał(a): > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > The following series contains all the patches for davinci that have > > been sent to the mailing list

  1   2   >