Re: [PATCH] mmc: davinci_mmc: Cleanup to use dt in U-boot and static platdata in SPL

2020-05-25 Thread Bartosz Golaszewski
effectively reverts 3ef94715cc ('mmc: davinci: fix mmc boot in > SPL') > > Signed-off-by: Faiz Abbas Tested-by: Bartosz Golaszewski

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: [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-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 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

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

2019-12-02 Thread Bartosz Golaszewski
czw., 14 lis 2019 o 16:10 Bartosz Golaszewski napisał(a): > > 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 t

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

[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

[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 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 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

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 __

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 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] 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] 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

[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] [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):

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-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-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., 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-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: [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

[U-Boot] [RESEND PATCH v2 03/13] i2c: remove i2c driver-model compatibility layer

2019-07-29 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] [RESEND PATCH v2 13/13] configs: omapl138_lcdk: enable NAND self-init in SPL

2019-07-29 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] [RESEND PATCH v2 10/13] davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF

2019-07-29 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] [RESEND PATCH v2 07/13] davinci: omapl138-lcdk: enable driver model for NAND

2019-07-29 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] [RESEND PATCH v2 06/13] nand: davinci: add support for driver model

2019-07-29 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] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-29 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] [RESEND PATCH v2 04/13] omapl138_lcdk_defconfig: don't build support for SPI

2019-07-29 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] [RESEND PATCH v2 09/13] davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE

2019-07-29 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] [RESEND PATCH v2 02/13] sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-29 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] [RESEND PATCH v2 08/13] davinci: da850-evm: enable driver model for NAND

2019-07-29 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] [RESEND PATCH v2 11/13] davinci: omapl138-lcdk: remove unneeded includes

2019-07-29 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] [RESEND PATCH v2 05/13] nand: davinci: make davinci_nand_init() static

2019-07-29 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] [RESEND PATCH v2 01/13] davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-29 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] [RESEND PATCH v2 00/13] ARM: davinci: driver-model improvements

2019-07-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski NOTE: emac conversion is already upstream, so dropped it from this series. No other changes. 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

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

2019-07-28 Thread Bartosz Golaszewski
niedz., 28 lip 2019 o 19:12 Tom Rini napisał(a): > > On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote: > > śr., 24 lip 2019 o 21:06 Joe Hershberger > > napisał(a): > > > > > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski

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

[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

[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 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 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 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 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 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 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 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 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 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 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

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

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 13/14] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-09 Thread Bartosz Golaszewski
wt., 9 lip 2019 o 15:34 Adam Ford napisał(a): > > On Tue, Jul 9, 2019 at 2:55 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Enable CONFIG_SPL_DM and enable the driver model for serial by defining > > an appropriate dev

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

2019-07-09 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 08/14] davinci: omapl138-lcdk: enable driver model for NAND

2019-07-09 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 14/14] configs: omapl138_lcdk: enable NAND self-init in SPL

2019-07-09 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 12/14] davinci: omapl138-lcdk: remove unneeded includes

2019-07-09 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 10/14] davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE

2019-07-09 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 07/14] nand: davinci: add support for driver model

2019-07-09 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 09/14] davinci: da850-evm: enable driver model for NAND

2019-07-09 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 13/14] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-09 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 04/14] i2c: remove i2c driver-model compatibility layer

2019-07-09 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 03/14] sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-09 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 05/14] omapl138_lcdk_defconfig: don't build support for SPI

2019-07-09 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 06/14] nand: davinci: make davinci_nand_init() static

2019-07-09 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 01/14] net: davinci_emac: convert to using the driver model

2019-07-09 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 02/14] davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-09 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 00/14] ARM: davinci: driver-model improvements

2019-07-09 Thread Bartosz Golaszewski
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 and da850-evm. I collected all the review and test tags too. The first patch is the emac driver

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

2019-07-04 Thread Bartosz Golaszewski
pon., 24 cze 2019 o 10:18 Bartosz Golaszewski napisał(a): > > 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-boo

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

2019-07-03 Thread Bartosz Golaszewski
pt., 7 cze 2019 o 10:16 Bartosz Golaszewski napisał(a): > > 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 ena

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

2019-07-03 Thread Bartosz Golaszewski
pon., 24 cze 2019 o 10:18 Bartosz Golaszewski napisał(a): > > 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 siz

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 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
ś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: > > > > >

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 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] 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

[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

[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 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 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

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: >

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

[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] 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

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 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 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] 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
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

[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

[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

  1   2   >