[U-Boot] [PATCH] Convert CONFIG_EMIF4 et al to Kconfig

2017-09-12 Thread Adam Ford
This converts the following to Kconfig: CONFIG_EMIF4 CONFIG_SDRC Signed-off-by: Adam Ford --- arch/arm/mach-omap2/omap3/Kconfig | 15 +++ configs/am3517_crane_defconfig| 1 + configs/am3517_evm_defconfig | 1 + configs/cm_t3517_defconfig| 1 + configs

[U-Boot] [PATCH] ARM: davinci: Update da8xxevm Maintainers

2017-09-12 Thread Adam Ford
The e-mail addresses for DA8XXEVM BOARD and DA850_AM18XXEVM BOARD are invalid. Remove DA8XXEVM. Update DA850_AM18XXEVM to have me be the maintainer since I work for Logic PD and have access to OMAP-L138 and AM1808 EVM kits. Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm

Re: [U-Boot] [PATCH] ARM: davinci: Update da8xxevm Maintainers

2017-09-12 Thread Adam Ford
On Tue, Sep 12, 2017 at 4:05 PM, Tom Rini wrote: > On Tue, Sep 12, 2017 at 03:45:05PM -0500, Adam Ford wrote: > >> The e-mail addresses for DA8XXEVM BOARD and DA850_AM18XXEVM BOARD >> are invalid. >> >> Remove DA8XXEVM. >> >> Update DA850_AM18XXEVM to hav

[U-Boot] [PATCH V2] dm: gpio: Add DM compatibilty to GPIO driver for Davinci

2017-09-12 Thread Adam Ford
This adds DM compatibility for the davinici GPIO driver. Tested on da850-evm. Signed-off-by: Adam Ford --- V2: The bank calculation needs to take into account the size of the struct Whitespace fixes arch/arm/mach-davinci/include/mach/gpio.h | 14 +- board/davinci/da8xxevm/da850evm.c

[U-Boot] [PATCH] ARM: davinci: Remove CONFIG_SOC_DA830

2017-09-15 Thread Adam Ford
Nothing CONFIG_SOC_DA830 anymore, so let's remove it and the one remaining source file for it. It appears to have been abandoned a while ago. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile index 7d67191..d4c593d 100644 --- a/arch/arm

Re: [U-Boot] [U-Boot, v3, 3/9] fat/fs: convert to directory iterators

2017-09-16 Thread Adam Ford
On Fri, Sep 15, 2017 at 9:32 PM, Tom Rini wrote: > > On Sat, Sep 09, 2017 at 01:15:54PM -0400, Rob Clark wrote: > > > And drop a whole lot of ugly code! > > > > Signed-off-by: Rob Clark > > Reviewed-by: Łukasz Majewski > > Reviewed-by: Simon Glass > > Applied to u-boot/master, thanks! > Accord

Re: [U-Boot] [PATCH V2] dm: gpio: Add DM compatibilty to GPIO driver for Davinci

2017-09-17 Thread Adam Ford
On Tue, Sep 12, 2017 at 11:27 PM, Simon Glass wrote: > Hi Adam, > > On 12 September 2017 at 21:28, Adam Ford wrote: >> This adds DM compatibility for the davinici GPIO driver. >> Tested on da850-evm. >> >> Signed-off-by: Adam Ford >> --- >> V2: Th

Re: [U-Boot] [U-Boot, v3, 3/9] fat/fs: convert to directory iterators

2017-09-17 Thread Adam Ford
On Sat, Sep 16, 2017 at 3:42 PM, Rob Clark wrote: > On Sat, Sep 16, 2017 at 4:32 PM, Adam Ford wrote: >> On Fri, Sep 15, 2017 at 9:32 PM, Tom Rini wrote: >>> >>> On Sat, Sep 09, 2017 at 01:15:54PM -0400, Rob Clark wrote: >>> >>> > And drop a w

Re: [U-Boot] [U-Boot, v3, 3/9] fat/fs: convert to directory iterators

2017-09-17 Thread Adam Ford
On Sun, Sep 17, 2017 at 7:53 AM, Rob Clark wrote: > On Sun, Sep 17, 2017 at 7:08 AM, Adam Ford wrote: >> >> Adding the debug to master made no difference. No debug messages appeared. >> Interestingly enough, some junk appeard, and the name of U-Boot name >>

Re: [U-Boot] [PATCH please test] fs/fat: reduce stack usage for SPL

2017-09-17 Thread Adam Ford
d-by: Tom Rini > This fixed the problem on the am3517-evm. Thank you, Tested-by: Adam Ford > Note that malloc would also be fine as we already have a dependency on > malloc, that's just not (but should be!) expressed in Kconfig, for FAT > support already. Thanks! > > --

Re: [U-Boot] [U-Boot, v3, 3/9] fat/fs: convert to directory iterators

2017-09-17 Thread Adam Ford
On Sun, Sep 17, 2017 at 8:50 AM, Rob Clark wrote: > On Sun, Sep 17, 2017 at 9:42 AM, Adam Ford wrote: >> On Sun, Sep 17, 2017 at 7:53 AM, Rob Clark wrote: >>> On Sun, Sep 17, 2017 at 7:08 AM, Adam Ford wrote: >>>> >>>> Adding the debug to master made

[U-Boot] [PATCH V4 0/5] Update DA850 to Device tree, SPI MTDPARTS, and DM

2017-09-17 Thread Adam Ford
partition mapping when using SPI Flash, so MTDPARTS was updated to make sure the partition mapping in Linux would match the mapping in U-Boot. Adam Ford (5): arm: dts: da850: Migrate da850-evm DTS files from Linux 4.13-RC5 spi: davinci_spi: Add da830-spi support for DM arm: da850-evm: Ena

[U-Boot] [PATCH V4 4/5] arm: da850-evm: Enable MTD Parts in SPI Flash

2017-09-17 Thread Adam Ford
There is a discrepency between U-Boot and Linux on the partition map. This enabes the MTD parts to pass MTD partition information from U-Boot to Linux. Linux already has a pending patch to enable MTD PARTS in davinci_all_defconfig Reviewed-by: Jagan Teki Signed-off-by: Adam Ford --- V4

[U-Boot] [PATCH V4 1/5] arm: dts: da850: Migrate da850-evm DTS files from Linux 4.13-RC5

2017-09-17 Thread Adam Ford
A few small additional items are needed to support DM_SPI and DM_SERIAL, so those were added to da850-evm-u-boot.dtsi Signed-off-by: Adam Ford --- V4: Re-sync with latest master V3: New to series. I forgot to generate this before. This is required before The rest of the files in the series

[U-Boot] [PATCH V4 2/5] spi: davinci_spi: Add da830-spi support for DM

2017-09-17 Thread Adam Ford
The DM support is already in the driver, so add da830-spi to the compatible list. Reviewed-by: Jagan Teki Signed-off-by: Adam Ford --- V4: Resync V3: No Change V2: This patch is new to the series diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 291ef95..eda252d 100644

[U-Boot] [PATCH V4 5/5] ARM: da850-evm: Enable DM_I2C

2017-09-17 Thread Adam Ford
With DM now enabled with the device tree pulled from Linux, we can enable DM_I2C in U-Boot. Reviewed-by: Jagan Teki Signed-off-by: Adam Ford --- V4: Resync with master V3: No Change V2: New to series diff --git a/arch/arm/dts/da850-evm-u-boot.dtsi b/arch/arm/dts/da850-evm-u-boot.dtsi index

[U-Boot] [PATCH V4 3/5] arm: da850-evm: Enable DM and device tree support for da850-evm

2017-09-17 Thread Adam Ford
With the device tree ported and DM compatible drivers, enable: OF_CONTROL, DM_SPI, DM_SPI_FLASH and DM_SERIAL Note: DM_SERIAL is not enabled for da850evm_direct_nor_defconfig yet. Reviewed-by: Jagan Teki Signed-off-by: Adam Ford --- V4: Fixed isues with da850_am8xxevm and da850evm_direct_nor

[U-Boot] [PATCH 2/2] ARM: omap3: am3517-evm: Add device tree and DM support

2017-09-19 Thread Adam Ford
With the device tree ported from Linux 4.13, this enables Driver Model and Device Tree support for the am3517-evm Signed-off-by: Adam Ford --- arch/arm/mach-omap2/omap3/Kconfig | 5 +++ board/logicpd/am3517evm/am3517evm.c | 71 - configs

[U-Boot] [PATCH 1/2] arm: dts: am3517_evm: Sync DTS files with Linux 4.13-RC5

2017-09-19 Thread Adam Ford
To keep the DTS and DTSI files clean and in sync with Linux, new u-boot.dtsi files are added. There are some spacing issues in the patch, but they appear to be present in the Linux source files. I'll try to get to fixing them there, and do a future re-sync at a later date. Signed-off-by:

Re: [U-Boot] [PATCH V4 1/5] arm: dts: da850: Migrate da850-evm DTS files from Linux 4.13-RC5

2017-09-25 Thread Adam Ford
On Sep 25, 2017 3:11 AM, "Jagan Teki" wrote: On Mon, Sep 18, 2017 at 7:13 AM, Adam Ford wrote: > A few small additional items are needed to support DM_SPI and > DM_SERIAL, so those were added to da850-evm-u-boot.dtsi > > Signed-off-by: Adam Ford > --- > V4: Re-sync

[U-Boot] [PATCH v5] Convert CONFIG_NAND_OMAP_GPMC et al to Kconfig

2017-10-16 Thread Adam Ford
This converts the following to Kconfig: CONFIG_NAND_OMAP_GPMC CONFIG_NAND_OMAP_GPMC_PREFETCH CONFIG_NAND_OMAP_ELM CONFIG_SPL_NAND_AM33XX_BCH CONFIG_SPL_NAND_SIMPLE (ARCH_OMAP2PLUS only) Signed-off-by: Adam Ford --- V5: Rebase against master V4: Fix missing data from V2-V3 V3

[U-Boot] [PATCH] Convert CONFIG_SMC911X et al to Kconfig

2017-10-16 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SMC911X CONFIG_SMC911X_BASE CONFIG_SMC911X_32_BIT There are a variety of boards that need some cleanup in their respective include/configs file, but here is a foundation for them to begin their transisiton. Signed-off-by: Adam Ford V2

[U-Boot] [PATCH] Convert CONFIG_MTDIDS et al to Kconfig for Logic PD Boards

2017-10-16 Thread Adam Ford
This converts the following to Kconfig: CONFIG_MTDIDS CONFIG_MTDPARTS For am3517_evm, omap3_logic, and da850evm variants. Signed-off-by: Adam Ford --- configs/am3517_evm_defconfig | 2 ++ configs/da850_am18xxevm_defconfig | 3 +++ configs/da850evm_defconfig| 2 ++ configs

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-19 Thread Adam Ford
On Mon, Oct 16, 2017 at 4:52 PM, Fabio Estevam wrote: > On Mon, Oct 16, 2017 at 6:51 PM, Jagan Teki wrote: >> On Fri, Oct 13, 2017 at 7:03 PM, Fabio Estevam wrote: >>> Hi Lukasz, >>> >>> On Fri, Oct 13, 2017 at 5:16 AM, Lukasz Majewski wrote: >>> There is some ongoing work to provide such

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-19 Thread Adam Ford
On Thu, Oct 19, 2017 at 5:44 PM, Fabio Estevam wrote: > On Thu, Oct 19, 2017 at 7:52 PM, Adam Ford wrote: > >> The Logic PD board is also broken as well. When I did a git bisect on >> mine, it shows: > > Does this help? Yes it did. Thank you I'll submit a patch.

Re: [U-Boot] [PATCH v2] imx: Fix regression with CONFIG_DM_MMC=y

2017-10-20 Thread Adam Ford
ld failure. >> >> Tested on mx6slevk, mx7dsabresd and mx6ullevk. >> >> Signed-off-by: Fabio Estevam > > Reviewed-by: Jaehoon Chung This fixed the Logic PD iMX6 development kit. Tested-by: Adam Ford >> --- >> Changes since v1: >> - Cover all im

[U-Boot] [RFC] Attempt to Add SPL Support to imx6q_logic

2017-10-21 Thread Adam Ford
t from MMC1 I was hoping someone with an i.MX6 might have some insight. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig index b82db3a..750be47 100644 --- a/arch/arm/mach-imx/mx6/Kconfig +++ b/arch/arm/mach-imx/mx6/Kconfig @@ -189,6 +189,7 @@

[U-Boot] [PATCH] ARM: omap3_logic: Enable SPL_OF_CONTROL and SPL_OF_PLATDATA

2017-12-27 Thread Adam Ford
The SPL doesn't have much room, so in order to support OF_CONTROL in SPL, we need the extra functionality of SPL_OF_PLATDATA. Adding these features allows us to remove a small part of code without losing the serial port during SPL. Signed-off-by: Adam Ford diff --git a/board/logicpd/oma

[U-Boot] [PATCH] Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig

2017-12-27 Thread Adam Ford
This converts the following to Kconfig: CONFIG_USB_MUSB_OMAP2PLUS CONFIG_USB_MUSB_PIO_ONLY Signed-off-by: Adam Ford diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig index 0ef9f42..bb7c31b 100644 --- a/configs/am335x_baltos_defconfig +++ b/configs

Re: [U-Boot] [PATCH] Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig

2017-12-29 Thread Adam Ford
On Wed, Dec 27, 2017 at 10:12 PM, Paul Kocialkowski wrote: > Hi, > > Le mercredi 27 décembre 2017 à 20:09 -0600, Adam Ford a écrit : >> This converts the following to Kconfig: >>CONFIG_USB_MUSB_OMAP2PLUS >>CONFIG_USB_MUSB_PIO_ONLY > > Thanks for the c

[U-Boot] [PATCH] Convert CONFIG_USB_MUSB_HCD et al to Kconfig

2017-12-29 Thread Adam Ford
This converts the following to Kconfig: CONFIG_USB_MUSB_HCD CONFIG_USB_MUSB_UDC CONFIG_USB_DAVINCI CONFIG_USB_OMAP3 CONFIG_USB_DA8XX CONFIG_USB_AM35X Signed-off-by: Adam Ford --- configs/am3517_crane_defconfig| 2 ++ configs/cm_t35_defconfig | 2 ++ configs

[U-Boot] [PATCH V2] Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig

2017-12-29 Thread Adam Ford
This converts the following to Kconfig: CONFIG_USB_MUSB_OMAP2PLUS CONFIG_USB_MUSB_AM35X CONFIG_USB_MUSB_DSPS CONFIG_USB_MUSB_PIO_ONLY Signed-off-by: Adam Ford --- Changes to V2: Add AM35X and DSPS. Make CONFIG_USB_MUSB_PIO_ONLY enabled when USB_MUSB_PIC32

[U-Boot] [PATCH] Convert CONFIG_TWL4030_USB et al to Kconfig

2017-12-29 Thread Adam Ford
This converts the following to Kconfig: CONFIG_TWL4030_USB CONFIG_OMAP_USB_PHY CONFIG_ROCKCHIP_USB2_PHY Signed-off-by: Adam Ford --- configs/am43xx_evm_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1 + configs/am43xx_evm_qspiboot_defconfig | 1

Re: [U-Boot] [PATCH V2] Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig

2017-12-29 Thread Adam Ford
On Fri, Dec 29, 2017 at 10:04 AM, Andreas Färber wrote: > Hi, > > Am 29.12.2017 um 16:52 schrieb Paul Kocialkowski: >> Le vendredi 29 décembre 2017 à 08:16 -0600, Adam Ford a écrit : >>> This converts the following to Kconfig: >>>CONFIG_USB_MUSB_OMAP2

[U-Boot] [PATCH] DA850evm: Remove dead code

2017-12-30 Thread Adam Ford
There is an #ifdef and #endif with nothing in between. This patch simply removes this dead/useless code. Signed-off-by: Adam Ford diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index 4364649..3ca5965 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h

[U-Boot] [PATCH] Convert CONFIG_SOC_DA8XX et al to Kconfig

2017-12-30 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 Signed-off-by: Adam Ford --- README | 2 -- arch/arm/mach-davinci/Kconfig | 16 ++-- include/configs/calimain.h | 2 -- include/configs/da850evm.h | 2 -- include

[U-Boot] [PATCH v2] Convert CONFIG_SOC_DA8XX et al to Kconfig

2017-12-30 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 CONFIG_MACH_DAVINCI_DA850_EVM Signed-off-by: Adam Ford --- README | 2 -- arch/arm/mach-davinci/Kconfig | 24 +--- include/configs/calimain.h | 2 -- include

[U-Boot] [PATCH] Convert CONFIG_DAVINCI_SPI to Kconfig

2017-12-30 Thread Adam Ford
This converts the following to Kconfig: CONFIG_DAVINCI_SPI Signed-off-by: Adam Ford --- configs/da850_am18xxevm_defconfig | 1 + configs/da850evm_defconfig| 1 + configs/da850evm_direct_nor_defconfig | 1 + configs/ea20_defconfig| 1 + configs

[U-Boot] U-Boot and Builman Toolchains

2017-12-30 Thread Adam Ford
Tom, I know that we need GCC 6 or newer to compile GCC, but buildman is still using older toolchains. Do you know if there are plans to update buildman to use newer toolchains? It seems to be linked to kernel.org, but it seems strange to me to have the build-in tools like Buildman use a toolchai

[U-Boot] [PATCH] Convert CONFIG_SPI to Kconfig

2017-12-30 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPI Signed-off-by: Adam Ford --- configs/cm_t335_defconfig | 1 + configs/devkit8000_defconfig | 1 + drivers/spi/Kconfig| 8 ++-- include/configs/alt.h | 1 - include/configs

[U-Boot] [PATCH V3] Convert CONFIG_SOC_DA8XX et al to Kconfig

2018-01-02 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 CONFIG_DA850_LOWLEVEL CONFIG_MACH_DAVINCI_DA850_EVM CONFIG_SYS_DA850_PLL_INIT CONFIG_SYS_DA850_DDR_INIT Signed-off-by: Adam Ford --- Changes in V3: Add bool for DA850_LOWLEVEL and make it select

Re: [U-Boot] [PATCH V2] Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig

2018-01-02 Thread Adam Ford
list. I'll use that going forward to reduce the noise. adam On Tue, Jan 2, 2018 at 8:37 AM, Dr. Philipp Tomsich wrote: > > On 2 Jan 2018, at 15:35, Andreas Färber wrote: > > Am 02.01.2018 um 15:29 schrieb Andrew F. Davis: > > On 12/29/2017 10:10 AM, Adam Ford wrote

[U-Boot] [PATCH 1/3] Convert CONFIG_TWL4030_USB to Kconfig

2018-01-02 Thread Adam Ford
This converts the following to Kconfig: CONFIG_TWL4030_USB Signed-off-by: Adam Ford --- configs/cm_t35_defconfig | 1 + configs/igep0032_defconfig | 2 ++ configs/igep00x0_defconfig | 2 ++ configs/nokia_rx51_defconfig | 2 ++ configs/omap3_beagle_defconfig | 1

[U-Boot] [PATCH 2/3] Convert CONFIG_OMAP_USB_PHY to Kconfig

2018-01-02 Thread Adam Ford
This converts the following to Kconfig: CONFIG_OMAP_USB_PHY Signed-off-by: Adam Ford --- configs/am43xx_evm_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1 + configs/am43xx_evm_qspiboot_defconfig | 1 + configs/am43xx_evm_usbhost_boot_defconfig | 1 + configs

[U-Boot] [PATCH 3/3] Convert CONFIG_ROCKCHIP_USB2_PHY to Kconfig

2018-01-02 Thread Adam Ford
This converts the following to Kconfig: CONFIG_ROCKCHIP_USB2_PHY Signed-off-by: Adam Ford --- configs/chromebit_mickey_defconfig | 1 + configs/chromebook_jerry_defconfig | 1 + configs/chromebook_minnie_defconfig | 1 + configs/evb-rk3288_defconfig| 1 + configs/fennec

[U-Boot] [PATCH V4] Convert CONFIG_SOC_DA8XX et al to Kconfig

2018-01-02 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 CONFIG_DA850_LOWLEVEL CONFIG_MACH_DAVINCI_DA850_EVM CONFIG_SYS_DA850_PLL_INIT CONFIG_SYS_DA850_DDR_INIT Signed-off-by: Adam Ford --- Changes in V4: Rebase against origin/master Changes in V3

Re: [U-Boot] [PATCH V4] Convert CONFIG_SOC_DA8XX et al to Kconfig

2018-01-02 Thread Adam Ford
On Tue, Jan 2, 2018 at 1:05 PM, David Lechner wrote: > On 01/02/2018 12:45 PM, Adam Ford wrote: >> >> This converts the following to Kconfig: >> CONFIG_SOC_DA8XX >> CONFIG_SOC_DA850 >> CONFIG_DA850_LOWLEVEL >> CONFIG_MACH_DAVINCI_DA8

Re: [U-Boot] [PATCH V4] Convert CONFIG_SOC_DA8XX et al to Kconfig

2018-01-02 Thread Adam Ford
On Tue, Jan 2, 2018 at 2:25 PM, David Lechner wrote: > On 01/02/2018 01:55 PM, Adam Ford wrote: >> >> On Tue, Jan 2, 2018 at 1:05 PM, David Lechner >> wrote: >>> >>> On 01/02/2018 12:45 PM, Adam Ford wrote: >>>> >>>> >>

Re: [U-Boot] [PATCH V4] Convert CONFIG_SOC_DA8XX et al to Kconfig

2018-01-02 Thread Adam Ford
On Tue, Jan 2, 2018 at 2:46 PM, David Lechner wrote: > On 01/02/2018 02:39 PM, Adam Ford wrote: >> >> On Tue, Jan 2, 2018 at 2:25 PM, David Lechner >> wrote: >>> >>> On 01/02/2018 01:55 PM, Adam Ford wrote: >>>> >>>>

[U-Boot] [PATCH V5] Convert CONFIG_SOC_DA8XX et al to Kconfig

2018-01-11 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SOC_DA8XX CONFIG_SOC_DA850 CONFIG_DA850_LOWLEVEL CONFIG_MACH_DAVINCI_DA850_EVM CONFIG_SYS_DA850_PLL_INIT CONFIG_SYS_DA850_DDR_INIT Signed-off-by: Adam Ford --- Change V5: Select SYS_DA850_PLL_INIT and DDR_INIT when either

[U-Boot] [PATCH] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread Adam Ford
CONFIG_SYS_DA850_PLL1_POSTDIV CONFIG_SYS_DA850_PLL1_PLLDIV1 CONFIG_SYS_DA850_PLL1_PLLDIV2 CONFIG_SYS_DA850_PLL1_PLLDIV3 Signed-off-by: Adam Ford --- This patch is a continuation of Convert CONFIG_SOC_DA8XX et al This also showed warnings when used with the legoev3_defconfig, however it

Re: [U-Boot] [PATCH] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 12:11 PM, David Lechner wrote: > On 01/11/2018 10:06 AM, Adam Ford wrote: >> >> This converts the following to Kconfig: >> CONFIG_SYS_DV_CLKMODE >> CONFIG_SYS_DA850_PLL0_POSTDIV >> CONFIG_SYS_DA850_PLL0_PLLDIV1 >

Re: [U-Boot] [PATCH] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread Adam Ford
On Thu, Jan 11, 2018 at 12:49 PM, David Lechner wrote: > On 01/11/2018 12:36 PM, Adam Ford wrote: >> >> On Thu, Jan 11, 2018 at 12:11 PM, David Lechner >> wrote: >>> >>> On 01/11/2018 10:06 AM, Adam Ford wrote: >>>&g

[U-Boot] [PATCH V2] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-11 Thread Adam Ford
CONFIG_SYS_DA850_PLL1_POSTDIV CONFIG_SYS_DA850_PLL1_PLLDIV1 CONFIG_SYS_DA850_PLL1_PLLDIV2 CONFIG_SYS_DA850_PLL1_PLLDIV3 Signed-off-by: Adam Ford --- Changes in V2: Expand Kconfig help definitions to give a small explanation of options V1: This patch is a continuation of Convert

[U-Boot] [PATCH V3] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-12 Thread Adam Ford
CONFIG_SYS_DA850_PLL1_POSTDIV CONFIG_SYS_DA850_PLL1_PLLDIV1 CONFIG_SYS_DA850_PLL1_PLLDIV2 CONFIG_SYS_DA850_PLL1_PLLDIV3 Signed-off-by: Adam Ford --- Changes in V3: Using the L138 Technical Reference manual, I changed the names to match the descriptions of the registers

Re: [U-Boot] [U-Boot, 1/4] serial: ns16550: da8xx (freon/primus) is not omap-like

2018-01-19 Thread Adam Ford
On Fri, Jan 19, 2018 at 2:22 PM, Tom Rini wrote: > On Fri, Jan 19, 2018 at 05:39:32PM +0100, Matthijs van Duin wrote: >> On 19 January 2018 at 16:41, Tom Rini wrote: >> > OK. For v2, if you can convert CONFIG_SYS_NS16550_MEM32 to Kconfig as >> > well I'd appreciate it. >> >> I'm not hugely comfo

Re: [U-Boot] [U-Boot, V3] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-22 Thread Adam Ford
On Mon, Jan 22, 2018 at 3:30 PM, Tom Rini wrote: > On Fri, Jan 12, 2018 at 07:26:06AM -0600, Adam Ford wrote: > >> This converts the following to Kconfig: >>CONFIG_SYS_DV_CLKMODE >>CONFIG_SYS_DA850_PLL0_POSTDIV >>CONFIG_SYS_DA850_PLL0_PLLDIV1 >&

Re: [U-Boot] [U-Boot, V3] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-22 Thread Adam Ford
On Mon, Jan 22, 2018 at 4:12 PM, Tom Rini wrote: > On Mon, Jan 22, 2018 at 04:07:44PM -0600, Adam Ford wrote: >> On Mon, Jan 22, 2018 at 3:30 PM, Tom Rini wrote: >> > On Fri, Jan 12, 2018 at 07:26:06AM -0600, Adam Ford wrote: >> > >> >>

[U-Boot] [PATCH V4] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig

2018-01-23 Thread Adam Ford
CONFIG_SYS_DA850_PLL0_PLLDIV7 CONFIG_SYS_DA850_PLL1_POSTDIV CONFIG_SYS_DA850_PLL1_PLLDIV1 CONFIG_SYS_DA850_PLL1_PLLDIV2 CONFIG_SYS_DA850_PLL1_PLLDIV3 Signed-off-by: Adam Ford --- V4: Added CONFIG_SYS_DA850_PLL0_PLLDIV6 and removed CONFIG_SYS_DA850_PLL1_PLLM V3: Using the L138

[U-Boot] [PATCH] cmd: Kconfig: Make CMD_NAND select NAND

2018-01-23 Thread Adam Ford
Many boards check for CONFIG_CMD_NAND instead of CONFIG_NAND, so let's make CMD_NAND select NAND to make some Kconfig migration easier Signed-off-by: Adam Ford diff --git a/cmd/Kconfig b/cmd/Kconfig index 35fe9d5..9f6b351 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -764,6 +764,7 @@ c

Re: [U-Boot] [PATCH] cmd: Kconfig: Make CMD_NAND select NAND

2018-01-23 Thread Adam Ford
On Tue, Jan 23, 2018 at 11:15 AM, Andrew F. Davis wrote: > On 01/23/2018 04:40 AM, Adam Ford wrote: >> Many boards check for CONFIG_CMD_NAND instead of CONFIG_NAND, so >> let's make CMD_NAND select NAND to make some Kconfig migration >> easier >> >> Signed

Re: [U-Boot] [PATCH] cmd: Kconfig: Make CMD_NAND select NAND

2018-01-23 Thread Adam Ford
On Tue, Jan 23, 2018 at 12:10 PM, Andrew F. Davis wrote: > On 01/23/2018 12:01 PM, Adam Ford wrote: >> On Tue, Jan 23, 2018 at 11:15 AM, Andrew F. Davis wrote: >>> On 01/23/2018 04:40 AM, Adam Ford wrote: >>>> Many boards check for CONFIG_CMD_NAND instead of C

[U-Boot] [PATCH V2] Convert CONFIG_CMD_NAND to Kconfig

2018-01-23 Thread Adam Ford
This converts the following to Kconfig: CONFIG_CMD_NAND Signed-off-by: Adam Ford --- V2: Remove SUNXI default since this is selected when NAND_SUNXI is Since they cannot both recursively check each other. This was causing some trouble. V1: Several boards check for the presence

Re: [U-Boot] [PATCH V2] Convert CONFIG_CMD_NAND to Kconfig

2018-01-23 Thread Adam Ford
On Tue, Jan 23, 2018 at 8:09 PM, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_CMD_NAND > > Signed-off-by: Adam Ford > --- > V2: Remove SUNXI default since this is selected when NAND_SUNXI is > Since they cannot both recursively check

[U-Boot] [PATCH] mtd: nand: Kconfig Setup missing NAND dependencies based on ARCH

2018-01-24 Thread Adam Ford
t was just submitted. Signed-off-by: Adam Ford diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index e991440..96c118f 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -9,6 +9,7 @@ config SYS_NAND_SELF_INIT This option, if enabled, provides more flexible

[U-Boot] [PATCH 1/5] Convert CONFIG_NAND_ATMEL et al to Kconfig

2018-01-24 Thread Adam Ford
This converts the following to Kconfig: CONFIG_NAND_ATMEL CONFIG_NAND_DAVINCI Signed-off-by: Adam Ford --- configs/at91sam9260ek_dataflash_cs0_defconfig | 3 ++- configs/at91sam9260ek_dataflash_cs1_defconfig | 3 ++- configs/at91sam9260ek_nandflash_defconfig | 3 ++- configs

[U-Boot] [PATCH] Convert CONFIG_SYS_OMAP24_I2C_SLAVE et al to Kconfig

2018-01-24 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SYS_OMAP24_I2C_SLAVE CONFIG_SYS_OMAP24_I2C_SPEED Signed-off-by: Adam Ford --- configs/am335x_baltos_defconfig| 1 + configs/cm_t3517_defconfig | 1 + configs/eco5pk_defconfig | 1 + configs/kc1_defconfig

[U-Boot] [PATCH 3/5] Convert CONFIG_SPL_NAND_DRIVERS et al to Kconfig

2018-01-24 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_NAND_DRIVERS CONFIG_SPL_NAND_ECC Signed-off-by: Adam Ford --- README | 5 - configs/am335x_baltos_defconfig | 2 ++ configs/am335x_evm_defconfig | 2 ++ configs

[U-Boot] [PATCH 4/5] Convert CONFIG_SPL_NAND_BASE et al to Kconfig

2018-01-24 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_NAND_BASE CONFIG_SPL_NAND_LOAD CONFIG_SPL_NAND_SOFTECC CONFIG_SPL_NAND_RAW_ONLY Signed-off-by: Adam Ford --- README | 6 -- configs/am335x_baltos_defconfig | 1 + configs

[U-Boot] [PATCH] omap3_logic: Clean up I2C pin muxing.

2018-01-25 Thread Adam Ford
The SOM has external pull-up resistors, so let's turn these off. It was helping reduce some errors when running I2C1 @ 2.6MHz. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.h b/board/logicpd/omap3som/omap3logic.h index 22d7760..7376119 100644 --- a/board/lo

[U-Boot] [RFC] i2c, omap24xx: Fixup High Speed Initialization

2018-01-26 Thread Adam Ford
ggestion. As it stands, attempts to initialize I2C1 @ 2.6MHz fail, but this RFC doesn't appear to give me issues. As of this writing, I don't have a scope to look at the actual clock speed. Signed-off-by: Adam Ford diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c in

[U-Boot] [RFC v2] i2c, omap24xx: Fixup High Speed Initialization

2018-01-27 Thread Adam Ford
OMAP630/3730. Signed-off-by: Adam Ford diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index 5d33815..eace748 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -205,8 +205,10 @@ static int __omap24_i2c_setspeed(struct i2c *i2c_base, uint speed

[U-Boot] [PATCH 2/2] Remove config_distro_defaults.h

2018-02-02 Thread Adam Ford
With the contents of config_distro_defaults.h migrated to Kconfig, we can remove this header file completely Signed-off-by: Adam Ford --- include/config_distro_defaults.h| 16 include/configs/am335x_sl50.h | 2 +- include/configs/clearfog.h | 2 +- include

[U-Boot] [PATCH] Convert CONFIG_APBH_DMA et al to Kconfig

2018-02-04 Thread Adam Ford
This converts the following to Kconfig: CONFIG_APBH_DMA CONFIG_APBH_DMA_BURST CONFIG_APBH_DMA_BURST8 Signed-off-by: Adam Ford --- configs/apx4devkit_defconfig| 1 + configs/aristainetos2_defconfig | 3 +++ configs/aristainetos2b_defconfig| 3 +++ configs

[U-Boot] [PATCH] configs: imx6q_logic: Move CONFIG_MXC_UART to Kconfig

2018-02-04 Thread Adam Ford
Since CONFIG_MXC_UART is already in Kconfig, move this from the header to imx6q_logic_defconfig Signed-off-by: Adam Ford diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index ec34047..23eff91 100644 --- a/configs/imx6q_logic_defconfig +++ b/configs

[U-Boot] [PATCH] configs: imx6q_logic: Move CONFIG_PHY_SMSC to defconfig

2018-02-04 Thread Adam Ford
Since CONFIG_PHY_SMSC was already in Kconfig, move this from header filet to defconfig Signed-off-by: Adam Ford diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index 23eff91..92a8561 100644 --- a/configs/imx6q_logic_defconfig +++ b/configs/imx6q_logic_defconfig

[U-Boot] [PATCH] Convert CONFIG_MXC_GPIO to Kconfig

2018-02-04 Thread Adam Ford
This converts the following to Kconfig: CONFIG_MXC_GPIO Signed-off-by: Adam Ford --- arch/arm/Kconfig | 5 + configs/apf27_defconfig | 1 + configs/flea3_defconfig | 1 + configs/imx31_phycore_eet_defconfig | 1 + configs/mx31ads_defconfig

Re: [U-Boot] [PATCH] Convert CONFIG_APBH_DMA et al to Kconfig

2018-02-05 Thread Adam Ford
On Mon, Feb 5, 2018 at 3:08 AM, wrote: > Hi Adam, > > On 04.02.2018 15:46, Adam Ford wrote: >> This converts the following to Kconfig: >>CONFIG_APBH_DMA >>CONFIG_APBH_DMA_BURST >>CONFIG_APBH_DMA_BURST8 > > > I recently sent a patch whi

[U-Boot] [PATCH V2] Convert CONFIG_APBH_DMA et al to Kconfig

2018-02-05 Thread Adam Ford
This converts the following to Kconfig: CONFIG_APBH_DMA CONFIG_APBH_DMA_BURST CONFIG_APBH_DMA_BURST8 Signed-off-by: Adam Ford --- Changes in V2: Rebase on [U-Boot,v2,1/6] Convert CONFIG_NAND_MXS to Kconfig Make the NAND controller in MX6 MX7 autoselect the DMA options configs

Re: [U-Boot] [PATCH V2] Convert CONFIG_APBH_DMA et al to Kconfig

2018-02-06 Thread Adam Ford
On Mon, Feb 5, 2018 at 3:38 PM, wrote: > On 05.02.2018 14:33, Adam Ford wrote: >> This converts the following to Kconfig: >>CONFIG_APBH_DMA >>CONFIG_APBH_DMA_BURST >>CONFIG_APBH_DMA_BURST8 >> >> Signed-off-by: Adam Ford >> --- >>

[U-Boot] [PATCH V3] Convert CONFIG_APBH_DMA et al to Kconfig

2018-02-06 Thread Adam Ford
This converts the following to Kconfig: CONFIG_APBH_DMA CONFIG_APBH_DMA_BURST CONFIG_APBH_DMA_BURST8 Signed-off-by: Adam Ford --- V3: Rebased on "arm: imx: convert MX23/28 and MXS NAND to Kconfig" Make APBH_DMA depend on NAND_MXS since it appears to be the only dr

[U-Boot] CONFIG_CMD_KGDB unused?

2018-02-06 Thread Adam Ford
I see lots of places where the check for CONFIG_CMD_KGDB is done, but I see no place where it is ever defined and I don't see a description in README. Is this still needed? adam ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo

[U-Boot] Unused CONFIG_SYS_MAXARGS?

2018-02-06 Thread Adam Ford
I am curious to know if CONFIG_SYS_MAXARGS actually does something. I see it defined in many places, I see it #undef'd and I see it used #ifndef, but I don't see any actual source use it. Can this be removed or I am missing something? adam ___ U-Boot m

[U-Boot] CONFIG_RANDOM_UUID and CONFIG_CMD_UUID unused?

2018-02-06 Thread Adam Ford
config_fallbacks.h both check to see if CONFIG_RANDOM_UUID or CONFIG_CMD_UUID are defined, but I don't ever see either of these options defined. Can this go away: #if (defined(CONFIG_RANDOM_UUID) || \ defined(CONFIG_CMD_UUID)) && \ (!defined(CONFIG_LIB_RAND) && \ !defined(CONFIG_LIB_HW_RAND)) #de

[U-Boot] [PATCH] Convert CONFIG LIB_HW_RAND to Kconfig

2018-02-06 Thread Adam Ford
config_fallbacks.h had some logic to automatically select LIB_RAND if RANDOM_UUID or CMD_UUID were set if LIB_HW_RAND wasn't already selected. By migrating LIB_HW_RAND to Kconfig, we can remove this check from config_fallbacks.h and put it into Kconfig Signed-off-by: Adam Ford --- co

[U-Boot] [PATCH] Convert LIB_UUID to Kconfig

2018-02-06 Thread Adam Ford
config_fallback.h has some logic that checks a variety of options and selects LIB_UUID if it hasn't already been selected. This will all LIB_UUID in Kconfig and select this option for the list of options to allow us to remove the logic from fallbacks Signed-off-by: Adam Ford --- Based on [

[U-Boot] [PATCH] Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig

2018-02-06 Thread Adam Ford
config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE based on a list of enabled options. Moving HAVE_BLOCK_DEIVCE to Kconfig allows us to drastically shrink the logic in config_fallbacks.h Signed-off-by: Adam Ford --- arch/Kconfig | 1 + cmd/Kconfig| 3

Re: [U-Boot] [PATCH] configs: Migrate CONFIG_SYS_TEXT_BASE

2018-02-06 Thread Adam Ford
On Sat, Feb 3, 2018 at 11:10 AM, Tom Rini wrote: > On the NIOS2 and Xtensa architectures, we do not have > CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current > values into the defconfig and removing them from the headers. > > I did not attempt to add more default values in and fo

[U-Boot] [PATCH V2 2/2] Remove config_distro_defaults.h

2018-02-06 Thread Adam Ford
With the contents of config_distro_defaults.h migrated to Kconfig, we can remove this header file completely Signed-off-by: Adam Ford --- include/config_distro_defaults.h| 16 include/configs/am335x_sl50.h | 2 +- include/configs/clearfog.h | 2 +- include

[U-Boot] [PATCH] ARM: OMAP3_LOGIC: Remove ONENAND config options

2016-12-31 Thread Adam Ford
These boards do not and never have had ONENAND support, so let's remove it. Signed-off-by: Adam Ford --- include/configs/omap3_logic.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index abce61a..d66b507 100644 --- a/in

[U-Boot] [PATCH] OMAP3: omap3_logic: Remove display parameter

2016-12-31 Thread Adam Ford
The display is done in the device tree now, and there is no need to pass 'display' kernel parameter any longer. Signed-off-by: Adam Ford diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index d66b507..b38811e 100644 --- a/include/configs/omap3_logic.h +++

[U-Boot] [PATCH] ARM: omap3_logic: Use DEFAULT_LINUX_BOOT_ENV from ti_armv7_common

2017-01-04 Thread Adam Ford
on changes. Signed-off-by: Adam Ford diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index b38811e..71ae2be 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -31,7 +31,6 @@ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TA

[U-Boot] [PATCH] ARM: omap3_logic: Refactor Boot Environmental variables

2017-01-04 Thread Adam Ford
nsolidated scripts. Signed-off-by: Adam Ford diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 71ae2be..90faaf4 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -148,62 +148,61 @@ "omapfb.ro

[U-Boot] [PATCH] ARM: omap3_logic: Add scripts to program NAND

2017-01-04 Thread Adam Ford
This patch adds scripts to burn the kernel, U-Boot, and MLO to NAND. The RootFS needs to be added and programmed from the kernel for now. Signed-off-by: Adam Ford diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 90faaf4..632885a 100644 --- a/include/configs

Re: [U-Boot] [RFC Patch] drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36XX

2017-01-10 Thread Adam Ford
On Tue, Jan 10, 2017 at 4:32 AM, Jaehoon Chung wrote: > Hi Adam, > > On 01/10/2017 03:12 AM, aford...@gmail.com wrote: >> From: Adam Ford >> >> On the OMAP36xx (and 37xx) the CONTROL_WKUP_CTRL register has >> a field (bit 6) named GPIO_IO_PWRDNZ. If 0, the IO bu

Re: [U-Boot] [PATCH 1/4] omap3_logic: Rework MACH_TYPE and fdtfile logic

2017-01-11 Thread Adam Ford
ogic we need to combine the two steps into one. Look good. > Acked-by: Adam Ford > Cc: Adam Ford > Signed-off-by: Tom Rini > --- > board/logicpd/omap3som/omap3logic.c | 54 > ++--- > 1 file changed, 20 insertions(+), 34 deletions(-) > &

Re: [U-Boot] [RFC Patch] drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36XX

2017-01-11 Thread Adam Ford
On Tue, Jan 10, 2017 at 5:14 PM, Tom Rini wrote: > On Mon, Jan 09, 2017 at 12:12:09PM -0600, aford...@gmail.com wrote: > >> From: Adam Ford >> >> On the OMAP36xx (and 37xx) the CONTROL_WKUP_CTRL register has >> a field (bit 6) named GPIO_IO_PWRDNZ. If 0, the IO b

Re: [U-Boot] [PATCH] serial, ns16550: bugfix: ns16550 fifo not enabled

2017-01-11 Thread Adam Ford
On Tue, Jan 10, 2017 at 1:08 AM, Heiko Schocher wrote: > commit: 65f83802b7a5b "serial: 16550: Add getfcr accessor" > breaks u-boot commandline working with long commands > sending to the board. > > Since the above patch, you have to setup the fcr register. > > For board/archs which enable OF_PLAT

[U-Boot] [RFC Patch V2] drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36XX

2017-01-11 Thread Adam Ford
to the MMC section of the Kconfig. This allows the precompiler to only include it in a small handfull of OMAP36XX and 37XX boards using MMC1. V1: Original submission Signed-off-by: Adam Ford diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig index ac1a6a3

Re: [U-Boot] [PATCH v2] serial, ns16550: bugfix: ns16550 fifo not enabled

2017-01-18 Thread Adam Ford
per.c > ./board/ti/beagle/beagle.c > ./drivers/serial/serial_rockchip.c > Acked for omap3logic Tested-by: Adam Ford > Signed-off-by: Heiko Schocher > Signed-off-by: Ladislav Michl > --- > > Changes in v2: > - added now changes for possible boards/plattforms w

<    6   7   8   9   10   11   12   13   14   15   >