Re: [U-Boot] [PATCH v2 08/12] i2c: Drop use of CONFIG_I2C_HARD

2017-05-12 Thread Simon Glass
Hi Tom. On 12 May 2017 at 09:12, Simon Glass wrote: > Hi Tom, > > On 12 May 2017 at 08:47, Tom Rini wrote: >> On Fri, May 12, 2017 at 08:29:04AM -0600, Simon Glass wrote: >>> Hi Tom, >>> >>> On 12 May 2017 at 08:19, Tom Rini wrote: >>>

[U-Boot] [PATCH v3 11/12] Drop CONFIG_I2CFAST

2017-05-12 Thread Simon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None README | 6 -- common/board_r.c | 17 - scripts/config_whitelist.txt | 1 - 3 files changed, 24

[U-Boot] [PATCH v3 12/12] Drop use of CONFIG_I2C_SOFT

2017-05-12 Thread Simon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- Changes in v3: - Rebase to master Changes in v2: - Rebase to master README | 32 +--- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/README b/README index

[U-Boot] [PATCH v3 10/12] i2c: Drop CONFIG_SYS_I2C_BOARD_LATE_INIT

2017-05-12 Thread Simon Glass
This option is not used by any boards. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None README | 11 --- drivers/i2c/fsl_i2c.c| 9 - drivers/i2c/fti2c010.c | 9 - include/i2c.h

[U-Boot] [PATCH v3 09/12] i2c: README: Drop CONFIG_SYS_I2C_INIT_MPC5XXX

2017-05-12 Thread Simon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None README | 2 -- 1 file changed, 2 deletions(-) diff --git a/README b/README index 11fa84ccc4..9f9265dc6d 100644 --- a/README +++ b/README @@ -2228,8 +2228,6 @@

[U-Boot] [PATCH v3 08/12] i2c: Finish dropping use of CONFIG_I2C_HARD

2017-05-12 Thread Simon Glass
Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: - Update commit message so that it is unique in the series - Fix up #ifdef in cmd/eeprom.c - Drop changes to include/config headers Changes in v2: - Drop changes to omap board.c files

[U-Boot] [PATCH v3 06/12] i2c: mxc_i2c: Drop use of CONFIG_I2C_HARD

2017-05-12 Thread Simon Glass
Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/i2c/mxc_i2c.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 13ec0e63b1..b68e82770b 100644 ---

[U-Boot] [PATCH v3 07/12] i2c: omap: Modify code to work without CONFIG_I2C_HARD

2017-05-12 Thread Simon Glass
Drop use of this long-deprecated option. Signed-off-by: Simon Glass Suggested-by: Lokesh Vutla --- Changes in v3: None Changes in v2: - Add new patch to adjust omap boards to not need CONFIG_I2C_HARD board/ti/am335x/board.c | 3 ++-

[U-Boot] [PATCH v3 05/12] i2c: keymile: Drop use of CONFIG_I2C_HARD

2017-05-12 Thread Simon Glass
Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/keymile/km82xx/km82xx.c | 5 - board/keymile/km_arm/km_arm.c | 4 2 files changed, 9 deletions(-) diff --git a/board/keymile/km82xx/km82xx.c

[U-Boot] [PATCH v3 02/12] i2c: powerpc: Remove use of CONFIG_HARD_I2C

2017-05-12 Thread Simon Glass
Drop use of this long-deprecated option for powerpc. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/powerpc/cpu/mpc512x/Makefile | 1 - arch/powerpc/cpu/mpc512x/i2c.c | 386 --- arch/powerpc/cpu/mpc5xxx/Makefile | 1

[U-Boot] [PATCH v3 04/12] i2c: pdm360ng: Drop use of CONFIG_I2C_HARD

2017-05-12 Thread Simon Glass
Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/pdm360ng/pdm360ng.c | 30 -- 1 file changed, 30 deletions(-) diff --git a/board/pdm360ng/pdm360ng.c b/board/pdm360ng/pdm360ng.c

[U-Boot] [PATCH v3 01/12] i2c: Drop use of CONFIG_I2C_HARD

2017-05-12 Thread Simon Glass
This option is pretty old. It predates CONFIG_SYS_I2C which is itself deprecated in favour of driver model. Disable it for all boards. Also drop I2C options which depend on this. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None README

[U-Boot] [PATCH v3 03/12] i2c: cm5200: Drop use of CONFIG_I2C_HARD

2017-05-12 Thread Simon Glass
Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/cm5200/cm5200.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/cm5200/cm5200.c b/board/cm5200/cm5200.c index

[U-Boot] [PATCH v3 00/12] i2c: Remove old I2C support

2017-05-12 Thread Simon Glass
We have about 6600 CONFIG options to convert to Kconfig at the time of writing and our target is to complete work by the end of the year. We have no hope of doing this unless we adopt a somewhat more agressive approach to dropping old boards and options. There are a very large number of

[U-Boot] Machine ID

2017-05-12 Thread Vic
Hi All. I'm having difficulty with getting a board booting Linux from U-boot. This is an existing unit, so I don't get much choice over changing versions of kernel of U-boot. bdinfo gives me the machine ID I expect, but when I try to boot my newly-built kernel, I get an "unsupported machine

[U-Boot] [PATCH 15/17] Kconfig: USB: Migrate CONFIG_USB_EHCI_HCD users to Kconfig

2017-05-12 Thread Tom Rini
Migrate the rest of the users of CONFIG_USB_EHCI_HCD over to Kconfig. For a few SoCs, imply or default y this if USB is enabled. In some cases we had not already migrated to CONFIG_USB so do that as well. Cc: Marek Vasut Signed-off-by: Tom Rini ---

Re: [U-Boot] [PATCH v2 05/71] dm: Add a function to create a 'live' device tree

2017-05-12 Thread Lothar Waßmann
Hi, On Wed, 10 May 2017 08:20:44 -0600 Simon Glass wrote: > This function converts the flat device tree into a hierarchical one with > C structures and pointers. This is easier to access. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/of_live.h |

[U-Boot] [PATCH] board/freescale: Share qbman init between archs

2017-05-12 Thread Roy Pledge
From: Ahmed Mansour This patch adds changes necessary to move functionality present in PowerPC folders with ARM architectures that have DPAA1 QBMan hardware - Created new board/freescale/common/portals.c to house shared device tree fixups for DPAA1 devices with ARM and

Re: [U-Boot] [PATCH 3/5] x86: baytrail: secureboot: Add functions for verification of u-boot

2017-05-12 Thread Lothar Waßmann
Hi, On Thu, 11 May 2017 17:14:54 +0200 Anatolij Gustschin wrote: > From: Markus Valentin > > Introduce functions that check the integrity of u-boot by utilising the > hashes stored in the oem-data block. > > The verification functions get called in fsp_init() > > Signed-off-by:

[U-Boot] [PATCH 07/17] omap3: Drop unused CONFIG_OMAP3_xxx board defines

2017-05-12 Thread Tom Rini
We no longer have a need for a per-board CONFIG_OMAP3_xxx define (we have CONFIG_TARGET_xxx when this is required), so drop these unused references. Signed-off-by: Tom Rini --- include/configs/am3517_crane.h | 2 -- include/configs/devkit8000.h | 1 - include/configs/mcx.h

[U-Boot] [PATCH 05/17] omap3: Drop CONFIG_OMAP3_EVM, switch to CONFIG_TARGET_OMAP3_EVM when needed

2017-05-12 Thread Tom Rini
We make use of CONFIG_OMAP3_EVM today to know when to do a specific tweak in MUSB. This can be tested on via CONFIG_TARGET_OMAP3_EVM instead, so switch there so we can drop the now unused symbol CONFIG_OMAP3_EVM. In investigating what to do about the symbol usage we see that the cairo board

[U-Boot] [PATCH 14/17] Kconfig: USB: Migrate CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCD

2017-05-12 Thread Tom Rini
In order to be able to migrate the various SoC EHCI CONFIG options we first need to finish the switch from CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCD. Cc: Marek Vasut Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-mx7ulp/clock.h | 2 +-

[U-Boot] [PATCH 11/17] watchdog: Migrate OMAP_WATCHDOG to Kconfig

2017-05-12 Thread Tom Rini
Move this entry to Kconfig. As it is a hardware watchdog, select HW_WATCHDOG. While we could default to enabling this for all platforms, it is currently only enabled by default on AM33XX, so keep that logic today. Cc: Roger Meier Signed-off-by: Tom Rini

[U-Boot] [PATCH 17/17] Kconfig: OMAP: USB: Migrate CONFIG_USB_EHCI_OMAP to Kconfig

2017-05-12 Thread Tom Rini
Follow the exiting logic for the i.MX options when migrating this option. Cc: Marek Vasut Signed-off-by: Tom Rini --- configs/eco5pk_defconfig | 1 + drivers/usb/host/Kconfig | 8 include/configs/cm_t35.h | 1 -

[U-Boot] [PATCH 09/17] omap3: Migrate CONFIG_OMAP3_GPIO_X to Kconfig

2017-05-12 Thread Tom Rini
The symbols CONFIG_OMAP3_GPIO_X control if we enable the clocks for a given GPIO bank in U-Boot. select the required banks for each target. In some cases we need to also migrate from CONFIG_USB_EHCI (deprecated, in include/configs/) to CONFIG_USB_EHCI_HCD as we only require the GPIO bank to be

[U-Boot] [PATCH 08/17] gpio: Move OMAP_GPIO to Kconfig

2017-05-12 Thread Tom Rini
This driver is used often enough such that we want to have this enabled by default on any ARCH_OMAP2PLUS board, and this only compiles on ARCH_OMAP2PLUS due to required defines, so mark that as the depends. Signed-off-by: Tom Rini --- drivers/gpio/Kconfig |

[U-Boot] [PATCH 16/17] Kconfig: USB: Migrate existing USB_EHCI_xxx options

2017-05-12 Thread Tom Rini
The following options are migrated over fully now: - USB_EHCI_ATMEL - USB_EHCI_MARVELL - USB_EHCI_MX6 - USB_EHCI_MX7 - USB_EHCI_MSM - USB_EHCI_ZYNQ - USB_EHCI_GENERIC This also requires fixing the depends on USB_EHCI_MARVELL as it's used by Orion5X and Kirkwood as well. Cc: Marek Vasut

[U-Boot] [PATCH 06/17] omap4: Drop redundant CONFIG_OMAP4430 symbol

2017-05-12 Thread Tom Rini
While there are a few different OMAP4 SoCs, today we always set CONFIG_OMAP4430 and CONFIG_OMAP44XX. Convert the few test of CONFIG_OMAP4430 to CONFIG_OMAP44XX. Cc: Marek Vasut Cc: Paul Kocialkowski Signed-off-by: Tom Rini ---

[U-Boot] [PATCH 13/17] whitelist: Drop more unused OMAP symbols

2017-05-12 Thread Tom Rini
The symbol CONFIG_OMAP3_LOGIC_USE_NEW_PRODUCT_ID was recently dropped from usage and CONFIG_OMAP3_MICRON_DDR is unused in code. Signed-off-by: Tom Rini --- include/configs/tam3517-common.h | 1 - scripts/config_whitelist.txt | 2 -- 2 files changed, 3 deletions(-) diff

[U-Boot] [PATCH 10/17] omap: spi: Drop CONFIG_OMAP3_SPI_D0_D1_SWAPPED support

2017-05-12 Thread Tom Rini
This particular quirk is not enabled in any config files today. It does however exist and is handled correctly in device trees and via CONFIG_DM_SPI. So we drop the symbol now and add a comment to indicate that any (new) boards that require this quirk need to enable DM_SPI instead.

[U-Boot] [PATCH 03/17] TI: Drop 'CONFIG_OMAP'

2017-05-12 Thread Tom Rini
In the two cases in the code where we use CONFIG_OMAP as a useful test currently we can make use of CONFIG_ARCH_OMAP2PLUS instead. With that changed we can drop all defines of CONFIG_OMAP. While in here, CONFIG_OMAP3430 is only defined and then never used, so drop. Signed-off-by: Tom Rini

[U-Boot] [PATCH 12/17] omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE

2017-05-12 Thread Tom Rini
The symbol CONFIG_OMAP_VC_I2C_HS_MCODE always uses the default value. Restructure the comment and code such that if a need arises later to use another value we can address this then. Signed-off-by: Tom Rini --- arch/arm/mach-omap2/vc.c | 14 --

[U-Boot] [PATCH 04/17] omap5: Migrate CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC to Kconfig

2017-05-12 Thread Tom Rini
While in theory this value could be used in places outside of "omap5" (such as OMAP4), we only make use of it today in OMAP5, so place the Kconfig entry there. Given that Kconfig lets us provide a default, we drop CONFIG_DEFAULT_OMAP_RESET_TIME_MAX_USEC entirely. The contents of

[U-Boot] [PATCH 01/17] arch/arm/cpu/arm926ejs/omap: Remove

2017-05-12 Thread Tom Rini
This code has been unused since the removal of the "omap2" platforms, remove. Signed-off-by: Tom Rini --- arch/arm/cpu/arm926ejs/omap/Makefile | 10 -- arch/arm/cpu/arm926ejs/omap/cpuinfo.c | 242 -- arch/arm/cpu/arm926ejs/omap/reset.S |

[U-Boot] [PATCH 02/17] omap24xx_i2c.c: Drop references to CONFIG_OMAP243X

2017-05-12 Thread Tom Rini
We have nothing defining CONFIG_OMAP243X since we dropped the omap243x platforms, drop these tests. Signed-off-by: Tom Rini --- drivers/i2c/omap24xx_i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/omap24xx_i2c.c

Re: [U-Boot] [PATCH v2 8/9] dm: core: Add ofnode to represent device tree nodes

2017-05-12 Thread Simon Glass
Hi Masahiro, On 10 May 2017 at 20:33, Masahiro Yamada wrote: > 2017-05-02 0:18 GMT+09:00 Simon Glass : > >> diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h >> new file mode 100644 >> index 00..f952c989d2 >> --- /dev/null >> +++

Re: [U-Boot] [PATCH v2 5/9] Fix up inclusion of common.h

2017-05-12 Thread Simon Glass
Hi Masahiro, On 10 May 2017 at 20:21, Masahiro Yamada wrote: > Hi Simon > > 2017-05-11 6:43 GMT+09:00 Tom Rini : >> On Mon, May 01, 2017 at 09:18:48AM -0600, Simon Glass wrote: >> >>> It is good practice to include common.h as the first header.

Re: [U-Boot] [PATCH v2 1/9] dm: Use dm.h header when driver mode is used

2017-05-12 Thread Simon Glass
Hi Masahiro, On 10 May 2017 at 20:12, Masahiro Yamada wrote: > Hi Simon, > > > 2017-05-11 6:43 GMT+09:00 Tom Rini : >> On Mon, May 01, 2017 at 09:18:44AM -0600, Simon Glass wrote: >> >>> This header includes things that are needed to make driver

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-05-12 Thread Simon Glass
Hi Bin, On 8 May 2017 at 01:05, Bin Meng wrote: > Hi Simon, > > On Mon, Apr 10, 2017 at 8:38 AM, Simon Glass wrote: >> This is not to be applied. It is needed to test using CONFIG_DM_MMC on x86 >> since SCSI is broken with this setup. >> >> Signed-off-by:

Re: [U-Boot] Xpedite boards

2017-05-12 Thread Simon Glass
Hi Peter, On 11 May 2017 at 17:27, Peter Tyser wrote: > > Hi Simon, > > > > > I am trying to help with the U-Boot conversion of CONFIG options to > > Kconfig. I notice that the Xpedite boards use a ds4510 driver which > > defines quite a few of these options. I could

[U-Boot] [PATCH 3/6] dm: ram: bmips: split bcm6358_get_ram_size

2017-05-12 Thread Álvaro Fernández Rojas
This is done in order to reuse ram size calculation for BCM6338/BCM6348 Signed-off-by: Álvaro Fernández Rojas --- drivers/ram/bmips_ram.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/ram/bmips_ram.c

[U-Boot] [PATCH 0/6] mips: bmips: add BCM6348 SoC support

2017-05-12 Thread Álvaro Fernández Rojas
BCM6348 is one of the first BCM63xx SoCs and prior to BCM6358, which means that it also needs ioremap "hacks". Appart from that, rev a1 BCM6348 SoCs have a HW bug and it's pll_conf register can't be used to perform reboots. Álvaro Fernández Rojas (6): dm: cpu: bmips: rename cpu_desc specific

[U-Boot] [PATCH 2/6] dm: cpu: bmips: add BCM6348 support

2017-05-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/cpu/bmips_cpu.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/cpu/bmips_cpu.c b/drivers/cpu/bmips_cpu.c index 6087163..03b503a 100644 --- a/drivers/cpu/bmips_cpu.c +++

[U-Boot] [PATCH 5/6] MIPS: add support for Broadcom MIPS BCM6348 SoC family

2017-05-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6348.dtsi | 127 ++ arch/mips/mach-bmips/Kconfig | 18 + arch/mips/mach-bmips/include/ioremap.h| 3 +- include/configs/bmips_bcm6348.h | 30

[U-Boot] [PATCH 4/6] dm: cpu: bmips: add BCM6338/BCM6348 support

2017-05-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/ram/bmips_ram.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c index 382e231..ac35fbe 100644 --- a/drivers/ram/bmips_ram.c +++

[U-Boot] [PATCH 1/6] dm: cpu: bmips: rename cpu_desc specific functions

2017-05-12 Thread Álvaro Fernández Rojas
Use a generic name for cpu_desc functions instead of using a specific SoC one. Signed-off-by: Álvaro Fernández Rojas --- drivers/cpu/bmips_cpu.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/cpu/bmips_cpu.c b/drivers/cpu/bmips_cpu.c

[U-Boot] [PATCH 6/8] mips: bmips: add wdt-reboot driver support for BCM6358

2017-05-12 Thread Álvaro Fernández Rojas
This driver allows rebooting the SoC by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6358.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi index

[U-Boot] [PATCH 6/6] MIPS: add BMIPS Comtrend CT-5361 board

2017-05-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/Makefile| 1 + arch/mips/dts/comtrend,ct-5361.dts| 49 ++ board/comtrend/ct5361/Kconfig | 12 board/comtrend/ct5361/MAINTAINERS | 6

[U-Boot] [PATCH 2/8] mips: bmips: add bcm6345-wdt driver support for BCM6358

2017-05-12 Thread Álvaro Fernández Rojas
This driver controls the watchdog present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6358.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi index 0dad998..5d8399c

[U-Boot] [PATCH 3/8] mips: bmips: add bcm6345-wdt driver support for BCM6328

2017-05-12 Thread Álvaro Fernández Rojas
This driver controls the watchdog present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6328.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi index 3926885..36dd8bc

[U-Boot] [PATCH 7/8] mips: bmips: add wdt-reboot driver support for BCM6328

2017-05-12 Thread Álvaro Fernández Rojas
This driver allows rebooting the SoC by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6328.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi index

[U-Boot] [PATCH 4/8] mips: bmips: add bcm6345-wdt driver support for BCM63268

2017-05-12 Thread Álvaro Fernández Rojas
This driver controls the watchdog present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm63268.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm,bcm63268.dtsi index

[U-Boot] [PATCH 5/8] dm: sysreset: add watchdog-reboot driver

2017-05-12 Thread Álvaro Fernández Rojas
Add a new sysreset driver that uses the recently added watchdog support. It performs a full SoC reset by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas --- drivers/sysreset/Kconfig | 6 drivers/sysreset/Makefile| 1 +

[U-Boot] [PATCH 8/8] mips: bmips: add wdt-reboot driver support for BCM63268

2017-05-12 Thread Álvaro Fernández Rojas
This driver allows rebooting the SoC by calling wdt_expire_now op. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm63268.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm,bcm63268.dtsi index

[U-Boot] [PATCH 1/8] dm: watchdog: add BCM6345 watchdog driver

2017-05-12 Thread Álvaro Fernández Rojas
This driver is a simplified version of linux/drivers/watchdog/bcm63xx_wdt.c Signed-off-by: Álvaro Fernández Rojas --- drivers/watchdog/Kconfig | 8 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/bcm6345_wdt.c | 109

[U-Boot] [PATCH 0/8] mips: bmips: add bcm6345 watchdog support

2017-05-12 Thread Álvaro Fernández Rojas
Adds support for Broadcom MIPS BCM6345 watchdog controller. Also adds a generic watchdog sysreset driver to allow rebooting by expiring the SoC watchdog. This is needed for some specific Broadcom MIPS SoCs where pll_conf if bugged and it can't be used to perform SoC reboots, like in BCM6348 (a1

Re: [U-Boot] [PATCH v5 00/33] ARM: i.MX6: SabreSD: Add dts support

2017-05-12 Thread Fabio Estevam
Hi Jagan, On Thu, May 4, 2017 at 12:11 PM, Jagan Teki wrote: > From: Jagan Teki > > Compared to previous series, this series > - remove DCD addition on SPL for duallite, since it's not working I fixed SPL support on mx6dl and sent the patches

[U-Boot] Pull request: u-boot-mips/master

2017-05-12 Thread Daniel Schwierzeck
Hi Tom, please pull some follow-up fixes for Broadcom MIPS and some minor updates for MIPS Boston board. Travis CI: https://travis-ci.org/danielschwierzeck/u-boot/builds/231519583 The following changes since commit 1f5541c8818d3ecd243f9bbf58db9ea5f55a3195: Merge

Re: [U-Boot] [RESEND PATCH v2 5/6] boston: Bump CONFIG_SYS_BOOTM_LEN to 64MiB

2017-05-12 Thread Daniel Schwierzeck
Am 30.04.2017 um 21:22 schrieb Daniel Schwierzeck: > From: Paul Burton > > The default value of CONFIG_SYS_BOOTM_LEN is too small for typical > boston Linux kernels. Increase the limit to 64MB, which covers current > kernels with plenty of breathing room. > >

Re: [U-Boot] [RESEND PATCH v2 6/6] boston: Enable CONFIG_DISTRO_DEFAULTS in defconfigs

2017-05-12 Thread Daniel Schwierzeck
Am 30.04.2017 um 21:22 schrieb Daniel Schwierzeck: > From: Paul Burton > > CONFIG_DISTRO_DEFAULTS selects a number of things we want for Boston > defconfigs & generally describes what we want - to be able to boot an > arbitrary Linux distribution. Enable it in order to

Re: [U-Boot] [RESEND PATCH v2 3/6] boston: Move CM GCRs away from flash

2017-05-12 Thread Daniel Schwierzeck
Am 30.04.2017 um 21:22 schrieb Daniel Schwierzeck: > From: Paul Burton > > Move the MIPS Coherence Manager (CM) Global Configuration Registers > (GCRs) away from the region of the physical address space which the > Boston board's parallel flash is found in, such that we

Re: [U-Boot] [RESEND PATCH v2 4/6] boston: Setup memory ranges in FDT provided to Linux

2017-05-12 Thread Daniel Schwierzeck
Am 30.04.2017 um 21:22 schrieb Daniel Schwierzeck: > From: Paul Burton > > The boston memory map isn't suited to the simple "all memory starting > from 0" approach that the MIPS arch_fixup_fdt() implementation takes. > Instead we need to indicate the first 256MiB of DDR

Re: [U-Boot] [RESEND PATCH v3 1/5] MIPS: Make CM GCR base configurable

2017-05-12 Thread Daniel Schwierzeck
Am 12.05.2017 um 13:26 schrieb Daniel Schwierzeck: > From: Paul Burton > > Without adding a prompt for CONFIG_MIPS_CM_BASE, Kconfig doesn't allow > defconfigs to set it. Provide the prompt in order to allow for that. > > Signed-off-by: Paul Burton

Re: [U-Boot] [PATCH 5/5] mips: bmips: add missing SFR NeufBox 4 config

2017-05-12 Thread Daniel Schwierzeck
Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas: > Fixes commit a186d26, which missed including SFR NeufBox config from bmips > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/mach-bmips/Kconfig | 6 ++ > 1 file changed, 6 insertions(+) > applied to

Re: [U-Boot] [PATCH 4/5] dm: ram: remove unneeded brcm, bcm63268-mc id

2017-05-12 Thread Daniel Schwierzeck
Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas: > brcm,bcm63268.dtsi uses brcm,bcm6328-mc instead of brcm,bcm63268-mc > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/ram/bmips_ram.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > applied to

Re: [U-Boot] [PATCH 3/5] mips: bmips: bcm63268: fix brcm, bcm6328-mc size

2017-05-12 Thread Daniel Schwierzeck
Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas: > Shrink brcm,bcm6328-mc size to avoid overlapping with other controllers > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm63268.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [U-Boot] [PATCH 2/5] mips: bmips: bcm6328: fix brcm, bcm6328-mc size

2017-05-12 Thread Daniel Schwierzeck
Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas: > Shrink brcm,bcm6328-mc size to avoid overlapping with other controllers > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm6328.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [U-Boot] [PATCH 1/5] mips: bmips: bcm6358: fix brcm, bcm6358-mc size

2017-05-12 Thread Daniel Schwierzeck
Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas: > Shrink brcm,bcm6358-mc size to avoid overlapping with other controllers > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm6358.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [U-Boot] [PATCH v2 4/5] usb: host: replace printf() by error() in ehci-generic

2017-05-12 Thread Marek Vasut
On 05/12/2017 07:27 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard Commit message does not explain WHY this change is needed. In fact ... commit message is missing altogether ... > Signed-off-by: Patrice Chotard > --- > > v2: _

Re: [U-Boot] [PATCH v2 3/5] usb: host: extend generic EHCI driver with PHY

2017-05-12 Thread Marek Vasut
On 05/12/2017 07:27 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add support of generic PHY framework > > Signed-off-by: Patrice Chotard > --- > > v2: _ split previous path 1, add generic PHY framework > >

Re: [U-Boot] [PATCH v2 2/5] usb: host: add error path and remove callback in ehci-generic

2017-05-12 Thread Marek Vasut
On 05/12/2017 07:27 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add error path to disable enabled clocks and to assert > deasserted resets > Populate the remove callback > > Signed-off-by: Patrice Chotard > --- > v2: _ split

Re: [U-Boot] drivers: pci: imx: add imx_pcie_remove function

2017-05-12 Thread Soeren Moch
> There is no dedicated reset signal wired up for the MX6QDL thus if the > bootloader enables the link we need some special handling to get the core > back into a state where it is safe to touch it for configuration. > > While there has been some special handling in the Linux kernel to do this, >

Re: [U-Boot] [U-Boot, 1/2] armv7m: cache: add flush & invalidate all dcache

2017-05-12 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Friday, May 12, 2017 10:18 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot,1/2] armv7m: cache: add flush & invalidate all dcache > > On Wed, May 03, 2017 at

Re: [U-Boot] [PATCH 2/3] sunxi: Add clock support for TV encoder

2017-05-12 Thread Maxime Ripard
On Fri, May 12, 2017 at 06:55:56PM +0200, Jernej Škrabec wrote: > Hi Maxime, > > Dne petek, 12. maj 2017 ob 17:47:17 CEST je Maxime Ripard napisal(a): > > Hi Jernej, > > > > On Wed, May 10, 2017 at 06:46:29PM +0200, Jernej Skrabec wrote: > > > This patch adds support for TV encoder clocks which

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-05-12 Thread Fabio Estevam
Hi Tim, On Fri, May 12, 2017 at 4:58 PM, Tim Harvey wrote: > There is no dedicated reset signal wired up for the MX6QDL thus if the > bootloader enables the link we need some special handling to get the core > back into a state where it is safe to touch it for

Re: [U-Boot] [PATCH 1/5] usb: dwc3: Add helper functions to enable snooping and burst settings

2017-05-12 Thread York Sun
On 05/03/2017 04:15 AM, yinbo.zhu wrote: From: Rajat Srivastava Adds helper functions to enable snooping and outstanding burst beat settings. Signed-off-by: Rajat Srivastava Signed-off-by: Rajesh Bhagat ---

[U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-05-12 Thread Tim Harvey
There is no dedicated reset signal wired up for the MX6QDL thus if the bootloader enables the link we need some special handling to get the core back into a state where it is safe to touch it for configuration. While there has been some special handling in the Linux kernel to do this, it was

Re: [U-Boot] [RFC] drivers: pci: imx: add imx_pcie_remove function

2017-05-12 Thread Tim Harvey
On Fri, May 12, 2017 at 12:27 PM, Soeren Moch wrote: >> Date: Thu, 11 May 2017 07:02:52 -0700 >> From: Tim Harvey >> To: Stefano Babic >> Cc: Marek Vasut , U-Boot-Denx , >> Peter Senna Tschudin

Re: [U-Boot] [RFC] drivers: pci: imx: add imx_pcie_remove function

2017-05-12 Thread Soeren Moch
> Date: Thu, 11 May 2017 07:02:52 -0700 > From: Tim Harvey > To: Stefano Babic > Cc: Marek Vasut , U-Boot-Denx , > Peter Senna Tschudin , Lucas Stach > >

[U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

2017-05-12 Thread Ruchika Gupta
kASLR support in kernel requires a random number to be passed via chosen/kaslr-seed propert. sec_firmware generates this random seed which can then be passed in the device tree node sec_firmware reserves JR3 for it's own usage. Node for JR3 is removed from device-tree. Signed-off-by: Ruchika

[U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-12 Thread Jean-Jacques Hiblot
From: Vignesh R With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that MMC_CMD_ALL_SEND_CID cmd fails on first attempt, but succeeds subsequently. Therefore, retry MMC_CMD_ALL_SEND_CID cmd at least thrice as done in Linux kernel. Similarly, it is seen that

[U-Boot] [PATCH 14/22] mmc: add power cyle support in mmc core

2017-05-12 Thread Jean-Jacques Hiblot
mmc/sd specification requires vdd to be disabled for 1 ms and then enabled again during power cycle. Add a function in mmc core to perform power cycle and set the io signal to it's initial state. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Jean-Jacques Hiblot

[U-Boot] [PATCH 08/22] cmd: mmc: display the mode name and current bus speed in the mmc info

2017-05-12 Thread Jean-Jacques Hiblot
Display the mode name when the user execute 'mmc info'. Also instead of displaying tran_speed, display the actual bus speed. Signed-off-by: Jean-Jacques Hiblot --- cmd/mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/mmc.c b/cmd/mmc.c index

[U-Boot] [PATCH 15/22] mmc: add a new mmc parameter to disable mmc clock

2017-05-12 Thread Jean-Jacques Hiblot
mmc clock has to be disabled in certain cases like during the voltage switch sequence. Modify mmc_set_clock function to take disable as an argument that signifies if the clock has to be enabled or disabled. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Jean-Jacques Hiblot

[U-Boot] [PATCH 20/22] mmc: Add support for UHS modes

2017-05-12 Thread Jean-Jacques Hiblot
Add UHS modes to the list of supported modes, get the UHS capabilites of the SDcard and implement the procedure to switch the voltage (UHS modes use 1v8 IO lines) During the voltage switch procedure, DAT0 is used by the card to signal when it's ready. The optional card_busy() callback can be used

[U-Boot] [PATCH 18/22] mmc: add HS200 support in MMC core

2017-05-12 Thread Jean-Jacques Hiblot
Add HS200 to the list of supported modes and introduce tuning in the MMC startup process. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Jean-Jacques Hiblot --- drivers/mmc/mmc.c | 22 -- include/mmc.h | 17 + 2

[U-Boot] [PATCH 06/22] mmc: Add a fonction to dump the mmc capabilities

2017-05-12 Thread Jean-Jacques Hiblot
This adds a simple helper function to display information (bus width and mode) based on a capability mask. Useful for debug. Signed-off-by: Jean-Jacques Hiblot --- drivers/mmc/mmc.c | 17 + include/mmc.h | 1 + 2 files changed, 18 insertions(+) diff --git

[U-Boot] [PATCH 10/22] mmc: refactor MMC startup to make it easier to support new modes

2017-05-12 Thread Jean-Jacques Hiblot
The MMC startup process currently handles 4 modes. To make it easier to add support for more modes, let's make the process more generic and use a list of the modes to try. The major functional change is that when a mode fails we try the next one. Not all modes are tried, only those supported by

[U-Boot] [PATCH 07/22] mmc: use mmc modes to select the correct bus speed

2017-05-12 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot --- drivers/mmc/mmc.c | 40 +--- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 5d418c5..dc7985f 100644 --- a/drivers/mmc/mmc.c +++

[U-Boot] [PATCH 21/22] mmc: Change mode when switching to a boot partition

2017-05-12 Thread Jean-Jacques Hiblot
Boot partitions do not support HS200. Changing to a lower performance mode is required to access them. mmc_select_mode_and_width() and sd_select_mode_and_width() are modified to make it easier to call them outside of the initialization context. Signed-off-by: Jean-Jacques Hiblot

[U-Boot] [PATCH 19/22] mmc: Add a new callback function to check if the card is busy

2017-05-12 Thread Jean-Jacques Hiblot
Add a new callback function *card_busy* which can be used to check if the card is busy. This is useful during UHS voltage switching to check if the switch was successful. Not all controllers may support this, so it's optional and when not provided the card is deemed ready. Signed-off-by:

[U-Boot] [PATCH 02/22] mmc: move the MMC startup for version above v4.0 in a separate function

2017-05-12 Thread Jean-Jacques Hiblot
no functionnal change. This is only to further reduce the size o mmc_startup(). Signed-off-by: Jean-Jacques Hiblot --- drivers/mmc/mmc.c | 316 -- 1 file changed, 165 insertions(+), 151 deletions(-) diff --git

[U-Boot] [PATCH 17/22] mmc: Add a execute_tuning() callback to the mmc operations.

2017-05-12 Thread Jean-Jacques Hiblot
Tuning is a mandatory step in the initialization of SDR104 and HS200 modes. This callback execute the tuning process. Signed-off-by: Jean-Jacques Hiblot --- drivers/mmc/mmc-uclass.c | 14 ++ drivers/mmc/mmc.c| 5 + include/mmc.h| 12

[U-Boot] [PATCH 11/22] mmc: make mmc_set_ios() return status

2017-05-12 Thread Jean-Jacques Hiblot
set_ios callback has a return value of 'int' but the mmc_set_ios() function ignore this. Modify mmc_set_ios() and the callers of mmc_set_ios() to to return the error status. Signed-off-by: Jean-Jacques Hiblot --- drivers/mmc/mmc.c | 16 ++-- include/mmc.h | 2

[U-Boot] [PATCH 12/22] mmc: Enable signal voltage to be selected from mmc core

2017-05-12 Thread Jean-Jacques Hiblot
From: Kishon Vijay Abraham I Add a new function *mmc_set_signal_voltage* in mmc core which can be used during mmc initialization to select the signal voltage. Platform driver should use the set_ios callback function to select the signal voltage. Signed-off-by: Kishon Vijay

[U-Boot] [PATCH 00/22] mmc: Add support for HS200 and UHS modes

2017-05-12 Thread Jean-Jacques Hiblot
This series brings support for HS200 and UHS modes to the mmc core. It has been tested with the hsmmc driver on several platforms (DRA7, AM57x, AM437x, beaglebone black). Some modifications are required in the host driver to take advantage of this (voltage switching, tuning). The changes to the

[U-Boot] [PATCH 09/22] mmc: refactor SD startup to make it easier to support new modes

2017-05-12 Thread Jean-Jacques Hiblot
The SDcard startup process currently handles only 2 modes. To make it easier to add support for more modes, let's make the process more generic and use a list of the modes to try. The major functional change is that when a mode fails we try the next one. Not all modes are tried, only those

[U-Boot] [PATCH 13/22] mmc: Add a new callback function to enable/disable vdd

2017-05-12 Thread Jean-Jacques Hiblot
From: Kishon Vijay Abraham I Add a new callback function *set_vdd* which can be used by the platform mmc driver to enable or disable vdd. The mmc core can use *mmc_set_vdd* in order to invoke the callback function. This will be used during power cycle where the specification

[U-Boot] [PATCH 05/22] mmc: introduces mmc modes.

2017-05-12 Thread Jean-Jacques Hiblot
no functionnal changes. In order to add the support for the high speed SD and MMC modes, it is useful to track this information. Signed-off-by: Jean-Jacques Hiblot --- drivers/mmc/mmc.c | 53 ++--- include/mmc.h | 34

[U-Boot] [PATCH 16/22] mmc: disable the mmc clock during power off

2017-05-12 Thread Jean-Jacques Hiblot
From: Kishon Vijay Abraham I There is no point in having the mmc clock enabled during power off. Disable the mmc clock. This is similar to how it's programmed in Linux Kernel. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Vignesh R

  1   2   3   >