Re: [PATCH] board: add InnoComm i.MX8MM WB15EVK

2020-04-20 Thread Matt Porter
On Thu, Apr 16, 2020 at 02:33:17PM -0300, Fabio Estevam wrote: > Hi Matt, Hi Fabio, thanks for the review! > On Thu, Apr 9, 2020 at 6:51 PM Matt Porter wrote: > > Hopefully this dts will be sent upstream. Yes, this just made it out first. Updating both accor

[PATCH] board: add InnoComm i.MX8MM WB15EVK

2020-04-09 Thread Matt Porter
Add support for the InnoComm i.MX8MM WB15EVK board (https://www.innocomm.com/product_inner.aspx?num=2233). The following functionality is supported: - eMMC - MMC/SD - GPIO - I2C - Ethernet Signed-off-by: Matt Porter --- arch/arm/dts/Makefile |1

Re: [PATCH] imx: Fix imx8m FIT script issue

2020-04-09 Thread Matt Porter
, the u-boot > in loadable does not have fdt appended and fails to work. > So correct script by moving u-boot to firmware and ATF to loadable. > > Signed-off-by: Ye Li Hi Ye Li, Thanks, this patch does fix the issue. Tested-by: Matt Porter -Matt

Re: [PATCH] Revert "common: spl_fit: Default to IH_OS_U_BOOT if FIT_IMAGE_TINY enabled"

2020-04-07 Thread Matt Porter
On Tue, Mar 31, 2020 at 01:59:20AM -0700, Ye Li wrote: > The patch in commit cf8dcc5d02c32173b74bf1b7600dd2b990a90b13 is not correct, > it will append fdt to each loadable image. > Actually when using TINY FIT, the first loadable image is thought as u-boot > and already have fdt appended. > > Sign

Re: [U-Boot] Remove STM32F1 support ?

2017-08-07 Thread Matt Porter
On Sat, Aug 5, 2017 at 11:35 AM, Tom Rini wrote: > On Fri, Aug 04, 2017 at 04:05:58PM +, Patrice CHOTARD wrote: >> Hi Matt, Kamil >> >> I currently doing some work on STM32 SoCs on U-boot, more >> precisely code factorization between STYM32F4, STM32F7 and STM32H7 >> >> I noticed you added STM3

Re: [U-Boot] [PATCH] pci: Configure expansion ROM during auto config process

2015-06-19 Thread Matt Porter
th the behavior of the existing expansion ROM probe code that should be mentioned, see below. Otherwise, looks good. Reviewed-by: Matt Porter > Signed-off-by: Bin Meng > --- > > drivers/pci/pci_auto.c | 40 ++-- > drivers/pci/pci_ro

[U-Boot] [PATCH v3 5/6] serial: stm32: add stm32f1 support

2015-05-05 Thread Matt Porter
Add support for the STM32F1 famly to the STM32 serial driver. Signed-off-by: Matt Porter --- v3: - Update copyright notice v2: - Explicitly check for F4/F1 family and error if not set to a supported STM32 family. drivers/serial/serial_stm32.c | 10 ++ 1 file

[U-Boot] [PATCH v3 6/6] board: add stm3210e-eval board support

2015-05-05 Thread Matt Porter
Add support for the STM32F1-based stm3210e-eval boards from ST. UART, Flash, GPIO, and LEDs are supported. Signed-off-by: Matt Porter --- v3: - Update copyright notices arch/arm/Kconfig | 5 ++ board/st/stm3210e-eval/Kconfig | 19 ++ board/st

[U-Boot] [PATCH v3 4/6] gpio: stm32: add stm32f1 support

2015-05-05 Thread Matt Porter
Add support for the STM32F1 family to the STM32 gpio driver. Signed-off-by: Matt Porter --- v3: - Update copyright notice v2: - Explicitly check for F4/F1 family and error if not set to a supported STM32 family. drivers/gpio/stm32_gpio.c | 110

[U-Boot] [PATCH v3 3/6] ARMv7M: add STM32F1 support

2015-05-05 Thread Matt Porter
Add ARMv7M STM32F1 support including clocks, timer, gpio, and flash. Signed-off-by: Matt Porter --- v3: - Update copyright notices arch/arm/cpu/armv7m/Makefile | 1 + arch/arm/cpu/armv7m/stm32f1/Makefile | 14 +++ arch/arm/cpu/armv7m/stm32f1/clock.c | 196

[U-Boot] [PATCH v3 0/6] Add ARMv7M STM32F1 and STM3210E-EVAL board support

2015-05-05 Thread Matt Porter
ifferent in the gpio driver. The STM3210E-EVAL board is supported with 1MiB Flash and 96KiB of SRAM on the STM32F103ZGT6, USART1 for console, and four user LEDs. [1] http://lists.denx.de/pipermail/u-boot/2015-March/206640.html Matt Porter (6): image: fix build when CONFIG_NR_DRAM_BANKS is

[U-Boot] [PATCH v3 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()

2015-05-05 Thread Matt Porter
On ARM v7M, the processor will return to ARM mode when executing a blx instruction with bit 0 of the address == 0. Always set it to 1 to stay in thumb mode. Signed-off-by: Matt Porter --- v3: - Implement using an override of the weak do_go_exec() when building for ARMv7-M

[U-Boot] [PATCH v3 1/6] image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM

2015-05-05 Thread Matt Porter
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS when CONFIG_ARM is enabled. Make this requirement explicit. Signed-off-by: Matt Porter --- common/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image.c b/common/image.c index 162b682

Re: [U-Boot] [PATCH v2 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()

2015-04-21 Thread Matt Porter
On Tue, Apr 21, 2015 at 01:05:24PM -0500, Felipe Balbi wrote: > On Tue, Apr 21, 2015 at 02:01:31PM -0400, Matt Porter wrote: > > On Tue, Apr 21, 2015 at 12:47:24PM -0500, Felipe Balbi wrote: > > > On Tue, Apr 21, 2015 at 01:36:54PM -0400, Matt Porter wrote: > > > >

Re: [U-Boot] [PATCH v2 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()

2015-04-21 Thread Matt Porter
On Tue, Apr 21, 2015 at 12:57:09PM -0500, Felipe Balbi wrote: > On Tue, Apr 21, 2015 at 12:54:26PM -0500, Felipe Balbi wrote: > > On Tue, Apr 21, 2015 at 12:47:24PM -0500, Felipe Balbi wrote: > > > On Tue, Apr 21, 2015 at 01:36:54PM -0400, Matt Porter wrote: > > > >

Re: [U-Boot] [PATCH v2 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()

2015-04-21 Thread Matt Porter
On Tue, Apr 21, 2015 at 12:47:24PM -0500, Felipe Balbi wrote: > On Tue, Apr 21, 2015 at 01:36:54PM -0400, Matt Porter wrote: > > On ARM v7M, the processor will return to ARM mode when executing > > a blx instruction with bit 0 of the address == 0. Always set it > > but that&

[U-Boot] [PATCH v2 6/6] board: add stm3210e-eval board support

2015-04-21 Thread Matt Porter
Add support for the STM32F1-based stm3210e-eval boards from ST. UART, Flash, GPIO, and LEDs are supported. Signed-off-by: Matt Porter --- arch/arm/Kconfig | 5 ++ board/st/stm3210e-eval/Kconfig | 19 ++ board/st/stm3210e-eval/MAINTAINERS | 5 ++ board

[U-Boot] [PATCH v2 0/6] Add ARMv7M STM32F1 and STM3210E-EVAL board support

2015-04-21 Thread Matt Porter
ifferent in the gpio driver. The STM3210E-EVAL board is supported with 1MiB Flash and 96KiB of SRAM on the STM32F103ZGT6, USART1 for console, and four user LEDs. [1] http://lists.denx.de/pipermail/u-boot/2015-March/206640.html Matt Porter (6): image: fix build when CONFIG_NR_DRAM_BANKS is

[U-Boot] [PATCH v2 4/6] gpio: stm32: add stm32f1 support

2015-04-21 Thread Matt Porter
Add support for the STM32F1 family to the STM32 gpio driver. Signed-off-by: Matt Porter --- Since v1: - Explicitly check for F4/F1 family and error if not set to a supported STM32 family. drivers/gpio/stm32_gpio.c | 109 +- 1 file

[U-Boot] [PATCH v2 3/6] ARMv7M: add STM32F1 support

2015-04-21 Thread Matt Porter
Add ARMv7M STM32F1 support including clocks, timer, gpio, and flash. Signed-off-by: Matt Porter --- arch/arm/cpu/armv7m/Makefile | 1 + arch/arm/cpu/armv7m/stm32f1/Makefile | 13 ++ arch/arm/cpu/armv7m/stm32f1/clock.c | 195 ++ arch/arm/cpu

[U-Boot] [PATCH v2 5/6] serial: stm32: add stm32f1 support

2015-04-21 Thread Matt Porter
Add support for the STM32F1 famly to the STM32 serial driver. Signed-off-by: Matt Porter --- Since v1: - Explicitly check for F4/F1 family and error if not set to a supported STM32 family. drivers/serial/serial_stm32.c | 9 + 1 file changed, 9 insertions(+) diff

[U-Boot] [PATCH v2 1/6] image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM

2015-04-21 Thread Matt Porter
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS when CONFIG_ARM is enabled. Make this requirement explicit. Signed-off-by: Matt Porter --- common/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image.c b/common/image.c index 162b682

[U-Boot] [PATCH v2 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()

2015-04-21 Thread Matt Porter
On ARM v7M, the processor will return to ARM mode when executing a blx instruction with bit 0 of the address == 0. Always set it to 1 to stay in thumb mode. Signed-off-by: Matt Porter --- common/cmd_boot.c | 4 1 file changed, 4 insertions(+) diff --git a/common/cmd_boot.c b/common

Re: [U-Boot] [PATCH 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()

2015-04-15 Thread Matt Porter
On Wed, Apr 15, 2015 at 08:34:30AM -0400, Tom Rini wrote: > On Wed, Apr 15, 2015 at 12:33:43PM +0200, Kamil Lulko wrote: > > 2015-04-14 20:07 GMT+02:00 Matt Porter : > > > > > > On ARM v7M, the processor will return to ARM mode when executing > > > a blx instru

[U-Boot] [PATCH 6/6] board: add stm3210e-eval board support

2015-04-15 Thread Matt Porter
Add support for the STM32F1-based stm3210e-eval boards from ST. UART, Flash, GPIO, and LEDs are supported. Signed-off-by: Matt Porter --- arch/arm/Kconfig | 5 ++ board/st/stm3210e-eval/Kconfig | 19 ++ board/st/stm3210e-eval/MAINTAINERS | 5 ++ board

[U-Boot] [PATCH 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()

2015-04-15 Thread Matt Porter
On ARM v7M, the processor will return to ARM mode when executing a blx instruction with bit 0 of the address == 0. Always set it to 1 to stay in thumb mode. Signed-off-by: Matt Porter --- common/cmd_boot.c | 4 1 file changed, 4 insertions(+) diff --git a/common/cmd_boot.c b/common

[U-Boot] [PATCH 1/6] image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM

2015-04-15 Thread Matt Porter
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS when CONFIG_ARM is enabled. Make this requirement explicit. Signed-off-by: Matt Porter --- common/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image.c b/common/image.c index 162b682

[U-Boot] [PATCH 3/6] ARMv7M: add STM32F1 support

2015-04-15 Thread Matt Porter
Add ARMv7M STM32F1 support including clocks, timer, gpio, and flash. Signed-off-by: Matt Porter --- arch/arm/cpu/armv7m/Makefile | 1 + arch/arm/cpu/armv7m/stm32f1/Makefile | 13 ++ arch/arm/cpu/armv7m/stm32f1/clock.c | 195 ++ arch/arm/cpu

[U-Boot] [PATCH 5/6] serial: stm32: add stm32f1 support

2015-04-15 Thread Matt Porter
Add support for the STM32F1 famly to the STM32 serial driver. Signed-off-by: Matt Porter --- drivers/serial/serial_stm32.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c index 3c80096..a0397e1 100644 --- a/drivers/serial

[U-Boot] [PATCH 4/6] gpio: stm32: add stm32f1 support

2015-04-15 Thread Matt Porter
Add support for the STM32F1 family to the STM32 gpio driver. Signed-off-by: Matt Porter --- drivers/gpio/stm32_gpio.c | 103 +- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index

[U-Boot] [PATCH 0/6] Add ARMv7M STM32F1 and STM3210E-EVAL board support

2015-04-15 Thread Matt Porter
ifferent in the gpio driver. The STM3210E-EVAL board is supported with 1MiB Flash and 96KiB of SRAM on the STM32F103ZGT6, USART1 for console, and four user LEDs. [1] http://lists.denx.de/pipermail/u-boot/2015-March/206640.html Matt Porter (6): image: fix build when CONFIG_NR_DRAM_BANKS is

[U-Boot] [PATCH] image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM

2015-03-31 Thread Matt Porter
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS when CONFIG_ARM is enabled. Make this requirement explicit. Signed-off-by: Matt Porter --- common/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image.c b/common/image.c index a911aa9

Re: [U-Boot] [PATCH V6 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

2015-03-11 Thread Matt Porter
On Wed, Mar 11, 2015 at 12:00:59PM -0400, Tom Rini wrote: > On Wed, Mar 11, 2015 at 10:51:12AM -0500, Nishanth Menon wrote: > > On Wed, Mar 11, 2015 at 10:48 AM, Tom Rini wrote: > > > On Mon, Mar 09, 2015 at 05:11:58PM -0500, Nishanth Menon wrote: > > > > > >> The sixth revision should be proper,

Re: [U-Boot] [PATCH V5 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

2015-03-07 Thread Matt Porter
25559): > CPUID=0x413fc082 ACR=0x00e2 L2AUXCR=0x0042 > > I dont have access to other omap3 platforms to give a better coverage, > so, I welcome as much testing as possible. Also verified again here on my r1p2 Beagle. No more build issues on any of my toolchains, thank

Re: [U-Boot] [PATCH V4 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

2015-03-07 Thread Matt Porter
On Thu, Mar 05, 2015 at 11:56:54AM -0600, Nishanth Menon wrote: > On 03/05/2015 10:21 AM, Matt Porter wrote: > > On Tue, Mar 03, 2015 at 04:26:17PM -0600, Nishanth Menon wrote: > >> The fourth incarnation of this series to address review comments on V3 > >> > >>

Re: [U-Boot] [PATCH V4 05/11] ARM: OMAP: Change set_pl310_ctrl_reg to be generic

2015-03-05 Thread Matt Porter
On Thu, Mar 05, 2015 at 11:49:05AM -0600, Nishanth Menon wrote: > On 03/05/2015 08:00 AM, Matt Porter wrote: > > On Tue, Mar 03, 2015 at 04:26:22PM -0600, Nishanth Menon wrote: > >> set_pl310_ctrl_reg does use the Secure Monitor Call (SMC) to setup > >> PL310 control

Re: [U-Boot] [PATCH V4 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

2015-03-05 Thread Matt Porter
her omap3 platforms to give a better coverage Beagle Rev. C2 (OMAP3530): http://pastebin.com/f5JcvRf4 Before: CPUID=0x411fc083 ACR=0x00e2 L2AUXCR=0x0042 After: CPUID=0x411fc083 ACR=0x0042 L2AUXCR=0x0042 Tested-by: Matt Porter [With build workaround I noted elsewhere in t

Re: [U-Boot] [PATCH V4 05/11] ARM: OMAP: Change set_pl310_ctrl_reg to be generic

2015-03-05 Thread Matt Porter
On Tue, Mar 03, 2015 at 04:26:22PM -0600, Nishanth Menon wrote: > set_pl310_ctrl_reg does use the Secure Monitor Call (SMC) to setup > PL310 control register, however, that is something that is generic > enough to be used for OMAP5 generation of processors as well. The only > difference being the s

Re: [U-Boot] [PATCH][RFC v2] add pci 64 bit prefechable mem support

2014-02-25 Thread Matt Porter
On Fri, Feb 14, 2014 at 10:36:20AM +0800, FengHua wrote: > > > > > -Original Messages- > > From: "Wolfgang Denk" > > Sent Time: 2014-02-14 00:30:24 (Friday) > > To: feng...@phytium.com.cn > > Cc: u-boot@lists.denx.de, tr...@ti.com, albert.u.b...@aribaud.net > > Subject: Re: [PATCH][RFC

Re: [U-Boot] [PATCH 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-01-31 Thread Matt Porter
On Wed, Jan 29, 2014 at 05:32:30PM -0500, Tom Rini wrote: > On Mon, Jan 27, 2014 at 10:53:26AM -0800, Darwin Rambo wrote: > > > Add bcm281xx architecture support code including a clock framework and > > chip reset. Define register block base addresses for the bcm281xx > > architecture and create

Re: [U-Boot] Illegal use of FP ops in clock_ti814x.c

2014-01-28 Thread Matt Porter
are rounding various pll constants. I can't be 100% sure without some insight from TI folks. Given that it's working for our known users, I'd like to preserve that until we get somebody that can shed some light on that. As Tom guessed, I low-level cherry-picked a lot of pieces from long-lost authors in this area. I obviously missed this floating point math in the cleanup. I tested this patch on my TI8148 EVM and it works as expected. Acked-by: Matt Porter -Matt ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers

2013-11-15 Thread Matt Porter
M335x GP EVM and Beaglebone White. > > [1]: http://processors.wiki.ti.com/index.php/AM335x_EMIF_Configuration_tips > Cc: Enric Balletbo i Serra > Cc: Javier Martinez Canillas > Cc: Heiko Schocher > Cc: Matt Porter > Cc: Lars Poeschel > Signed-off-by: Tom Rini >

Re: [U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers

2013-11-07 Thread Matt Porter
On Thu, Nov 07, 2013 at 04:16:40PM -0500, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/07/2013 04:12 PM, Vaibhav Bedia wrote: > > Hi Tom, > > > > On Thu, Nov 7, 2013 at 11:42 AM, Tom Rini wrote: > >> Based on the definitive guide to EMIF configuration[1] certain re

[U-Boot] [PATCH] boards.cfg: update email address for ti814x_evm maintainer

2013-11-04 Thread Matt Porter
Update my email address as ti814x_evm maintainer to save people some frustrating bounces and non-response. Signed-off-by: Matt Porter --- boards.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards.cfg b/boards.cfg index 5e10125..cd6bec4 100644 --- a/boards.cfg +++ b

[U-Boot] [PATCH v2 4/4] ti814x_evm: enable CPSW support

2013-03-20 Thread Matt Porter
Adds CPSW support to the TI814X EVM configured with an ET1011C PHY in GMII mode. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v2: no changes --- board/ti/ti814x/evm.c| 72 ++ board/ti/ti814x/evm.h|1 + board/ti/ti814x/mux.c

[U-Boot] [PATCH v2 3/4] phy: add support for ET1011C phys

2013-03-20 Thread Matt Porter
TI814X EVM. Signed-off-by: Matt Porter Reviewed-by: Tom Rini -- v2: updated description with the kernel driver's tag --- drivers/net/phy/Makefile |1 + drivers/net/phy/et1011c.c | 110 + drivers/net/phy/phy.c |3 ++ include/

[U-Boot] [PATCH v2 2/4] cpsw: add support for TI814x slave_regs differences

2013-03-20 Thread Matt Porter
TI814x's version 1 CPSW has a different slave_regs layout. Add support for the differing registers. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v2: no changes --- drivers/net/cpsw.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/cpsw.c b/drivers/net/c

[U-Boot] [PATCH v2 1/4] am33xx: add pll and clock support for TI814x CPSW

2013-03-20 Thread Matt Porter
Enables required PLLs and clocks for CPSW on TI814x. Signed-off-by: Matt Porter --- v2: improved sata pll comment and added defines for magic values --- arch/arm/cpu/armv7/am33xx/clock_ti814x.c | 103 +++- arch/arm/include/asm/arch-am33xx/hardware_ti814x.h |1

[U-Boot] [PATCH v2 0/4] Enable CPSW on TI814x EVM

2013-03-20 Thread Matt Porter
/227804/ - Add TI814x EVM Support v4 http://www.mail-archive.com/u-boot@lists.denx.de/msg108356.html Changes since v1: - Improved sata pll config comment and defined magic clock values - Added the kernel tag that the et1011c.c driver is derived from Matt Porter (4

Re: [U-Boot] [PATCH 1/4] am33xx: add pll and clock support for TI814x CPSW

2013-03-20 Thread Matt Porter
On Fri, Mar 15, 2013 at 09:13:54PM +, Tom Rini wrote: > On Fri, Mar 15, 2013 at 04:58:17PM -0400, Matt Porter wrote: > > [snip] > > + /* Ethernet */ > > + writel(PRCM_MOD_EN, &cmalwon->l3slowclkstctrl); > > + while ((readl(&cmalwon

Re: [U-Boot] [PATCH 3/4] phy: add support for ET1011C phys

2013-03-20 Thread Matt Porter
On Fri, Mar 15, 2013 at 09:11:28PM +, Tom Rini wrote: > On Fri, Mar 15, 2013 at 04:58:19PM -0400, Matt Porter wrote: > > > Adds an ET1011C PHY driver which is derived from > > the current Linux kernel PHY driver. Note that an > > errata workaround config option is impl

[U-Boot] [PATCH 3/4] phy: add support for ET1011C phys

2013-03-15 Thread Matt Porter
Adds an ET1011C PHY driver which is derived from the current Linux kernel PHY driver. Note that an errata workaround config option is implemented to allow for TX_CLK to be enabled even when gigabit mode is negotiated. This workaround is used on the TI814x-EVM. Signed-off-by: Matt Porter

[U-Boot] [PATCH 4/4] ti814x_evm: enable CPSW support

2013-03-15 Thread Matt Porter
Adds CPSW support to the TI814X EVM configured with an ET1011C PHY in GMII mode. Signed-off-by: Matt Porter --- board/ti/ti814x/evm.c| 72 ++ board/ti/ti814x/evm.h|1 + board/ti/ti814x/mux.c| 35

[U-Boot] [PATCH 2/4] cpsw: add support for TI814x slave_regs differences

2013-03-15 Thread Matt Porter
TI814x's version 1 CPSW has a different slave_regs layout. Add support for the differing registers. Signed-off-by: Matt Porter --- drivers/net/cpsw.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index f5c5b9a..34c9fdd 100644 --- a/dr

[U-Boot] [PATCH 1/4] am33xx: add pll and clock support for TI814x CPSW

2013-03-15 Thread Matt Porter
Enables required PLLs and clocks for CPSW on TI814x. Signed-off-by: Matt Porter --- arch/arm/cpu/armv7/am33xx/clock_ti814x.c | 56 +++- arch/arm/include/asm/arch-am33xx/hardware_ti814x.h |1 + board/ti/ti814x/evm.c |3 ++ 3 files

[U-Boot] [PATCH 0/4] Enable CPSW on TI814x EVM

2013-03-15 Thread Matt Porter
/227804/ - Add TI814x EVM Support v4 http://www.mail-archive.com/u-boot@lists.denx.de/msg108356.html Matt Porter (4): am33xx: add pll and clock support for TI814x CPSW cpsw: add support for TI814x slave_regs differences phy: add support for ET1011C phys ti814x_evm: enable

[U-Boot] [PATCH] .checkpatch.conf: ignore udelay->usleep_range warnings

2013-03-15 Thread Matt Porter
usleep_range() is a Linux facility, ignore it when udelay() is encountered. Signed-off-by: Matt Porter --- .checkpatch.conf |3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index 38386b3..d88af57 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf

[U-Boot] [PATCH v4 9/9] ti814x_evm: add ti814x evm board support

2013-03-15 Thread Matt Porter
Add TI814X EVM board directory, config file, and MAINTAINERS entry. Enable build. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v4: * Removed unused include * Removed CONFIG_FS_* options to use fallbacks v3: no change v2: * squash MAINTAINERS and Makefile commits

[U-Boot] [PATCH v4 8/9] ns16550: enable quirks for ti814x

2013-03-15 Thread Matt Porter
TI814X requires the same quirks as AM33XX to be enabled. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v4: no changes v3: no changes v2: no changes --- drivers/serial/ns16550.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/serial/ns16550.c b

[U-Boot] [PATCH v4 6/9] am33xx: add dmm support to emif4 library

2013-03-15 Thread Matt Porter
Adds a config_dmm() routine to support TI814X DMM configuration. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v4: no changes v3: no changes v2: no changes --- arch/arm/cpu/armv7/am33xx/emif4.c | 17 + arch/arm/include/asm/arch-am33xx/ddr_defs.h |5

[U-Boot] [PATCH v4 7/9] am33xx: support ti814x mmc reference clock

2013-03-15 Thread Matt Porter
TI814x has a 192MHz hsmmc reference clock. Select that clock rate when building for TI814x. Signed-off-by: Matt Porter --- v4: no changes v3: no changes v2: no changes, new to the series --- arch/arm/include/asm/arch-am33xx/mmc_host_def.h |4 1 file changed, 4 insertions(+) diff

[U-Boot] [PATCH v4 5/9] am33xx: add ti814x specific register definitions

2013-03-15 Thread Matt Porter
Support the ti814x specific register definitions within arch-am33xx. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v4: Removed from omap.h v3: no changes v2: Update for hardware.h split --- arch/arm/cpu/armv7/am33xx/sys_info.c |3 +++ arch/arm/include/asm/arch-am33xx

[U-Boot] [PATCH v4 4/9] am33xx: refactor am33xx mux support and add ti814x support

2013-03-15 Thread Matt Porter
AM33XX and TI814X have a similar mux though the pinmux register layout and address space differ. Add a separate ti814x mux include to support the TI814X-specific differences. Signed-off-by: Matt Porter Reviewed-by: Tom Rini Acked-by: Peter Korsgaard --- v4: no changes v3: no changes

[U-Boot] [PATCH v4 3/9] am33xx: refactor am33xx clocks and add ti814x support

2013-03-15 Thread Matt Porter
Split clock.c for am335x and ti814x and add ti814x specific clock support. Signed-off-by: Matt Porter --- v4: no changes v3: * Fix EMIF/L3F clock enable ordering issue (Exposed on UART boot with hang at check for L3F enabled) v2: * remove unused dmtimer support

[U-Boot] [PATCH v4 2/9] am33xx: refactor emif4/ddr to support multiple EMIF instances

2013-03-15 Thread Matt Porter
The AM33xx emif4/ddr support closely matches what is need to support TI814x except that TI814x has two EMIF instances. Refactor all the emif4 helper calls and the config_ddr() init function to use an additional instance number argument. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v4

[U-Boot] [PATCH v4 1/9] am33xx: convert defines from am33xx-specific to generic names

2013-03-15 Thread Matt Porter
Eliminate AM33xx specific names to prepare for TI814x support within AM33xx-land. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v4: fix pcm051 build breakage v3: no changes v2: no changes --- arch/arm/cpu/armv7/am33xx/board.c |4 ++-- arch/arm/include/asm/arch-am33xx

[U-Boot] [PATCH v4 0/9] Add TI814x EVM Support

2013-03-15 Thread Matt Porter
ks_*.h and go back to clock.h - Rename mux includes for consistency - Correct mmc reference clock for ti814x - Squash MAINTAINERS and build bits to board support commit - Config fixes (copyright, mtest, findfdt, fs options, cleanups) - Fix wdtimer warning M

Re: [U-Boot] [PATCH v3 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-14 Thread Matt Porter
On Thu, Mar 14, 2013 at 11:55:19AM -0400, Tom Rini wrote: > From: Koen Kooi > > Cc: Matt Porter > Cc: Nishanth Menon > Signed-off-by: Koen Kooi > Signed-off-by: Tom Rini > --- > include/configs/am335x_evm.h |2 ++ > 1 file changed, 2 insertions(+) >

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-14 Thread Matt Porter
On Thu, Mar 14, 2013 at 07:53:07AM +0100, Koen Kooi wrote: > > Op 13 mrt. 2013, om 21:19 heeft Matt Porter het volgende > geschreven: > > > On Wed, Mar 13, 2013 at 08:02:26PM +0100, Koen Kooi wrote: > >> > >> Op 13 mrt. 2013, om 16:07 heeft Nishanth

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Matt Porter
On Wed, Mar 13, 2013 at 08:02:26PM +0100, Koen Kooi wrote: > > Op 13 mrt. 2013, om 16:07 heeft Nishanth Menon het volgende > geschreven: > > > On 16:05-20130313, Koen Kooi wrote: > >> > >> Op 13 mrt. 2013, om 16:02 heeft Nishanth Menon het volgende > >> geschreven: > >> > >>> On Wed, Mar 13

Re: [U-Boot] [PATCH v2 7/9] am33xx: support ti814x mmc reference clock

2013-03-04 Thread Matt Porter
On Sun, Mar 03, 2013 at 10:34:08PM +, Peter Korsgaard wrote: > >>>>> "Matt" == Matt Porter writes: > > Matt> TI814x has a 192MHz hsmmc reference clock. Select that clock rate > Matt> when building for TI814x. > > Matt> Signed-off-by: M

[U-Boot] [PATCH v3 3/9] am33xx: refactor am33xx clocks and add ti814x support

2013-03-02 Thread Matt Porter
Split clock.c for am335x and ti814x and add ti814x specific clock support. Signed-off-by: Matt Porter --- v3: * Fix EMIF/L3F clock enable ordering issue (Exposed on UART boot with hang at check for L3F enabled) v2: * remove unused dmtimer support * add register

[U-Boot] [PATCH v2 9/9] ti814x_evm: add ti814x evm board support

2013-02-28 Thread Matt Porter
Add TI814X EVM board directory, config file, and MAINTAINERS entry. Enable build. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v2: * squash MAINTAINERS and Makefile commits here * config file fixes (copyright, mtest, findfdt, fs options, cleanups) * move wdtimer

[U-Boot] [PATCH v2 8/9] ns16550: enable quirks for ti814x

2013-02-28 Thread Matt Porter
TI814X requires the same quirks as AM33XX to be enabled. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v2: no changes --- drivers/serial/ns16550.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index

[U-Boot] [PATCH v2 7/9] am33xx: support ti814x mmc reference clock

2013-02-28 Thread Matt Porter
TI814x has a 192MHz hsmmc reference clock. Select that clock rate when building for TI814x. Signed-off-by: Matt Porter --- v2: no changes, new to the series --- arch/arm/include/asm/arch-am33xx/mmc_host_def.h |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH v2 6/9] am33xx: add dmm support to emif4 library

2013-02-28 Thread Matt Porter
Adds a config_dmm() routine to support TI814X DMM configuration. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v2: no changes --- arch/arm/cpu/armv7/am33xx/emif4.c | 17 + arch/arm/include/asm/arch-am33xx/ddr_defs.h |5 + 2 files changed, 22

[U-Boot] [PATCH v2 5/9] am33xx: add ti814x specific register definitions

2013-02-28 Thread Matt Porter
Support the ti814x specific register definitions within arch-am33xx. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v2: Update for hardware.h split --- arch/arm/cpu/armv7/am33xx/sys_info.c |3 +++ arch/arm/include/asm/arch-am33xx/cpu.h | 11

[U-Boot] [PATCH v2 2/9] am33xx: refactor emif4/ddr to support multiple EMIF instances

2013-02-28 Thread Matt Porter
The AM33xx emif4/ddr support closely matches what is need to support TI814x except that TI814x has two EMIF instances. Refactor all the emif4 helper calls and the config_ddr() init function to use an additional instance number argument. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v2

[U-Boot] [PATCH v2 4/9] am33xx: refactor am33xx mux support and add ti814x support

2013-02-28 Thread Matt Porter
AM33XX and TI814X have a similar mux though the pinmux register layout and address space differ. Add a separate ti814x mux include to support the TI814X-specific differences. Signed-off-by: Matt Porter Reviewed-by: Tom Rini Acked-by: Peter Korsgaard --- v2: * fixed copyright date and

[U-Boot] [PATCH v2 3/9] am33xx: refactor am33xx clocks and add ti814x support

2013-02-28 Thread Matt Porter
Split clock.c for am335x and ti814x and add ti814x specific clock support. Signed-off-by: Matt Porter --- v2: * remove unused dmtimer support * add register structs bit definitions * rename soc-specific clock files for consistency * move ti814x specific defs to

[U-Boot] [PATCH v2 0/9] Add TI814x EVM Support

2013-02-28 Thread Matt Porter
fig fixes (copyright, mtest, findfdt, fs options, cleanups) - Fix wdtimer warning Matt Porter (9): am33xx: convert defines from am33xx-specific to generic names am33xx: refactor emif4/ddr to support multiple EMIF instances am33xx: refactor am33xx clocks and add ti814x support am3

[U-Boot] [PATCH v2 1/9] am33xx: convert defines from am33xx-specific to generic names

2013-02-28 Thread Matt Porter
Eliminate AM33xx specific names to prepare for TI814x support within AM33xx-land. Signed-off-by: Matt Porter Reviewed-by: Tom Rini --- v2: no changes --- arch/arm/cpu/armv7/am33xx/board.c |4 ++-- arch/arm/include/asm/arch-am33xx/hardware.h | 10 +- board/ti/am335x

Re: [U-Boot] [PATCH 05/10] am33xx: add ti814x specific register definitions

2013-02-25 Thread Matt Porter
On Mon, Feb 18, 2013 at 03:18:42PM +, Tom Rini wrote: > On Sun, Feb 17, 2013 at 09:28:33PM +0100, Peter Korsgaard wrote: > > >>>>> "Matt" == Matt Porter writes: > > > > Matt> Support the ti814x specific register definitions within > >

Re: [U-Boot] [PATCH 04/10] am33xx: refactor am33xx mux support and add ti814x support

2013-02-25 Thread Matt Porter
On Sun, Feb 17, 2013 at 08:18:57PM +, Peter Korsgaard wrote: > >>>>> "Matt" == Matt Porter writes: > > Matt> AM33XX and TI814X have a similar mux though the pinmux register > Matt> layout and address space differ. Add a separate ti814x mux incl

Re: [U-Boot] [PATCH 03/10] am33xx: refactor am33xx clocks and add ti814x support

2013-02-25 Thread Matt Porter
On Sun, Feb 17, 2013 at 09:17:01PM +0100, Peter Korsgaard wrote: > >>>>> "Matt" == Matt Porter writes: > > Matt> Split clock.c for am335x and ti814x and add the ti814x include file. > Matt> Signed-off-by: Matt Porter > Matt>

Re: [U-Boot] [PATCH 10/10] MAINTAINERS: add ti814x_evm maintainer

2013-02-15 Thread Matt Porter
On Fri, Feb 15, 2013 at 11:39:13AM -0500, Tom Rini wrote: > On Wed, Feb 13, 2013 at 09:44:04AM -0500, Matt Porter wrote: > > > Add a maintainer entry for the TI814x EVM. > > > > Signed-off-by: Matt Porter > > Please squash this into the patch which adds the EVM

Re: [U-Boot] [PATCH 09/10] ti814x_evm: enable ti814x evm build

2013-02-15 Thread Matt Porter
On Fri, Feb 15, 2013 at 11:39:01AM -0500, Tom Rini wrote: > On Wed, Feb 13, 2013 at 09:44:03AM -0500, Matt Porter wrote: > > > Enable TI814X EVM build via ti814x_evm target. > > > > Signed-off-by: Matt Porter > > This should just get squashed into the

Re: [U-Boot] [PATCH 07/10] ti814x_evm: add ti814x evm board support

2013-02-15 Thread Matt Porter
On Fri, Feb 15, 2013 at 04:38:22PM +, Tom Rini wrote: > On Wed, Feb 13, 2013 at 09:44:01AM -0500, Matt Porter wrote: > > > Add TI814X EVM board directory and config file. > > > > Signed-off-by: Matt Porter > [snip] > > +++ b/board/ti/ti814x/evm.h > &

Re: [U-Boot] [PATCH 03/10] am33xx: refactor am33xx clocks and add ti814x support

2013-02-15 Thread Matt Porter
On Fri, Feb 15, 2013 at 04:37:33PM +, Tom Rini wrote: > On Wed, Feb 13, 2013 at 09:43:57AM -0500, Matt Porter wrote: > > > Split clock.c for am335x and ti814x and add the ti814x include file. > > > > Signed-off-by: Matt Porter > > [snip] > > +++ b/arch

[U-Boot] [PATCH 08/10] ns16550: enable quirks for ti814x

2013-02-13 Thread Matt Porter
TI814X requires the same quirks as AM33XX to be enabled. Signed-off-by: Matt Porter --- drivers/serial/ns16550.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index 87a0917..02bc85b 100644 --- a/drivers/serial

[U-Boot] [PATCH 01/10] am33xx: convert defines from am33xx-specific to generic names

2013-02-13 Thread Matt Porter
Eliminate AM33xx specific names to prepare for TI814x support within AM33xx-land. Signed-off-by: Matt Porter --- arch/arm/cpu/armv7/am33xx/board.c |4 ++-- arch/arm/include/asm/arch-am33xx/hardware.h | 10 +- board/ti/am335x/board.c |6 +++--- 3

[U-Boot] [PATCH 07/10] ti814x_evm: add ti814x evm board support

2013-02-13 Thread Matt Porter
Add TI814X EVM board directory and config file. Signed-off-by: Matt Porter --- board/ti/ti814x/Makefile | 46 + board/ti/ti814x/evm.c| 198 +++ board/ti/ti814x/evm.h|7 ++ board/ti/ti814x/mux.c| 51

[U-Boot] [PATCH 03/10] am33xx: refactor am33xx clocks and add ti814x support

2013-02-13 Thread Matt Porter
Split clock.c for am335x and ti814x and add the ti814x include file. Signed-off-by: Matt Porter --- arch/arm/cpu/armv7/am33xx/Makefile |3 +- arch/arm/cpu/armv7/am33xx/clock-am335x.c | 374 ++ arch/arm/cpu/armv7/am33xx/clock-ti814x.c | 234

[U-Boot] [PATCH 02/10] am33xx: refactor emif4/ddr to support multiple EMIF instances

2013-02-13 Thread Matt Porter
The AM33xx emif4/ddr support closely matches what is need to support TI814x except that TI814x has two EMIF instances. Refactor all the emif4 helper calls and the config_ddr() init function to use an additional instance number argument. Signed-off-by: Matt Porter --- arch/arm/cpu/armv7/am33xx

[U-Boot] [PATCH 05/10] am33xx: add ti814x specific register definitions

2013-02-13 Thread Matt Porter
Support the ti814x specific register definitions within arch-am33xx. Signed-off-by: Matt Porter --- arch/arm/cpu/armv7/am33xx/sys_info.c|3 +++ arch/arm/include/asm/arch-am33xx/cpu.h | 11 + arch/arm/include/asm/arch-am33xx/hardware.h | 32

[U-Boot] [PATCH 06/10] am33xx: add dmm support to emif4 library

2013-02-13 Thread Matt Porter
Adds a config_dmm() routine to support TI814X DMM configuration. Signed-off-by: Matt Porter --- arch/arm/cpu/armv7/am33xx/emif4.c | 17 + arch/arm/include/asm/arch-am33xx/ddr_defs.h |5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/cpu/armv7

[U-Boot] [PATCH 10/10] MAINTAINERS: add ti814x_evm maintainer

2013-02-13 Thread Matt Porter
Add a maintainer entry for the TI814x EVM. Signed-off-by: Matt Porter --- MAINTAINERS |4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d3ed390..282dead 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -830,6 +830,10 @@ Stelian Pop at91sam9263ek

[U-Boot] [PATCH 09/10] ti814x_evm: enable ti814x evm build

2013-02-13 Thread Matt Porter
Enable TI814X EVM build via ti814x_evm target. Signed-off-by: Matt Porter --- Makefile|2 +- arch/arm/cpu/armv7/Makefile |2 +- arch/arm/cpu/armv7/omap-common/Makefile |2 +- boards.cfg |1 + spl/Makefile

[U-Boot] [PATCH 00/10] Add TI814x EVM Support

2013-02-13 Thread Matt Porter
This series adds support for the PG1.0 TI814x EVM board. TI814x fits into the existing AM33XX SoC support with some refactoring of the AM33XX-specific emif4, clock, and mux code. It has been tested booting up a Linux kernel and regression tested on BeagleBone and EVM-SK AM33XX boards. Matt

[U-Boot] [PATCH 04/10] am33xx: refactor am33xx mux support and add ti814x support

2013-02-13 Thread Matt Porter
AM33XX and TI814X have a similar mux though the pinmux register layout and address space differ. Add a separate ti814x mux include to support the TI814X-specific differences. Signed-off-by: Matt Porter --- arch/arm/include/asm/arch-am33xx/mux-am335x.h | 246 arch/arm

  1   2   >