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

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

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

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

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

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

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

<    1   2