Re: [U-Boot] [PATCH] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-23 Thread Lukasz Majewski
Hi Stephen, > On 06/20/2014 01:35 AM, Lukasz Majewski wrote: > > > diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c > > > U_BOOT_CMD(thordown, CONFIG_SYS_MAXARGS, 1, do_thor_down, > >"TIZEN \"THOR\" downloader", > > - " \n" > > + " e.g. thor 0 mmc 0\n" > >

[U-Boot] [PATCH v2] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-23 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- common/cmd_thordown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 2dd7509..96f7d32 100644 --- a/common/cmd_thordown.c +++ b/common/cmd_thordown.c @@ -64,7 +64,7 @@ exit: U_BOOT_CMD(th

[U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-23 Thread Lukasz Majewski
Commit d4f5ef59cc7 "dfu: defer parsing of device string to IO backend" changed the function signature of dfu_init_env_entities(). Adjust cmd_thordown.c to match that change. Also, apply the same change as commit d6d37d737b58e "dfu: free entities when parsing fails" to cmd_thordown.c. Fixes: d4f5e

[U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-23 Thread Lukasz Majewski
Commit d4f5ef59cc7 "dfu: defer parsing of device string to IO backend" changed the function signature of dfu_init_env_entities(). Adjust cmd_thordown.c to match that change. Also, apply the same change as commit d6d37d737b58e "dfu: free entities when parsing fails" to cmd_thordown.c. Fixes: d4f5e

Re: [U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-23 Thread Marek Vasut
On Monday, June 23, 2014 at 09:39:16 AM, Lukasz Majewski wrote: > Commit d4f5ef59cc7 "dfu: defer parsing of device string to IO backend" > changed the function signature of dfu_init_env_entities(). Adjust > cmd_thordown.c to match that change. > > Also, apply the same change as commit d6d37d737b58

Re: [U-Boot] [PATCH v2] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-23 Thread Marek Vasut
On Monday, June 23, 2014 at 09:35:04 AM, Lukasz Majewski wrote: > Signed-off-by: Lukasz Majewski > --- > common/cmd_thordown.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c > index 2dd7509..96f7d32 100644 > --- a/common/cmd

Re: [U-Boot] [PATCH] PMIC: MAX77686: fix invalid bus check

2014-06-23 Thread Minkyu Kang
On 19/06/14 05:13, Jeroen Hofstee wrote: > Since p->bus is unsigned checking for negative values > is optimized away. Since bus is already used as an argument > use tmp. While at it, don't declare variables in the middle > of a function. > > cc: Rajeshwari Shinde > Signed-off-by: Jeroen Hofstee

Re: [U-Boot] [PATCH v4 0/6] Introduction of new board Peach-Pit

2014-06-23 Thread Minkyu Kang
On 18/06/14 21:23, Akshay Saraswat wrote: > This board is based on Exynos5420 and is similar to SMDK5420 board. > Adding new and refactoring existing DT and config files to support > both SMDK5420 and Peach-Pit. > This patch set also intends to place env at the end of flash, increase > SPL foot

Re: [U-Boot] [PATCH v4] Exynos: SPI: Fix reading data from SPI flash

2014-06-23 Thread Minkyu Kang
On 18/06/14 21:22, Akshay Saraswat wrote: > SPI recieve and transfer code in exynos_spi driver has a logical bug. > We read data in a variable which can hold an integer. Then we assign > this integer 32 bit value to another variable which has data type uchar. > Latter represents a unit of our recie

[U-Boot] [PATCH] integrator: switch to generic board

2014-06-23 Thread Linus Walleij
Turn on generic board for the integrators, as per the request in the startup message. Everything just works, tested on the Integrator/AP and Integrator/CP. Signed-off-by: Linus Walleij --- include/configs/integrator-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/int

[U-Boot] [PATCH v2] ARM: tegra: Disable VPR

2014-06-23 Thread Alexandre Courbot
From: Bryan Wu On Tegra114 and Tegra124 platforms, certain display-related registers cannot be accessed unless the VPR registers are programmed. For bootloader, we probably don't care about VPR, so we disable it (which counts as programming it, and allows those display-related registers to be ac

[U-Boot] [PATCH] mx6: gpio: read data register if direction is out

2014-06-23 Thread Klaus Goger
On i.MX6 GPIOx_PSR does not reflect the current output value if the direction is set to output. Instead we should read GPIOx_DR. Signed-off-by: Klaus Goger --- drivers/gpio/mxc_gpio.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/mxc_gpio.c b/drivers/

[U-Boot] Running ARMv8 on fast model

2014-06-23 Thread Youngmin Nam
Hello expert. I'm trying to run ARMv8 u-boot on fast model. Exactly on Coretex-A57×4 In FVP_VE When I run command "model_shell64 cadi_system_Linux64-Release-GCC-4.6.so u-boot.elf" There isn't any pop up xterm terminal. My fast model version is 8.3 and I used vexpress_aemv8a configuration on denx

Re: [U-Boot] [Patch v2 0/7] Add support for TQMa6 modules

2014-06-23 Thread Markus Niebel
Hello Stefano, Am 17.06.2014 19:58, schrieb Stefano Babic: Hi Markus, On 17/06/2014 19:40, Markus Niebel wrote: Is it not an attractive alternative for you ? Instead of having several entries in boards.cfg for each variation of your board, you could have maybe only one or a couple. Sure it

Re: [U-Boot] [PATCH v2] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-23 Thread Lukasz Majewski
Dear all, > Signed-off-by: Lukasz Majewski > --- > common/cmd_thordown.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c > index 2dd7509..96f7d32 100644 > --- a/common/cmd_thordown.c > +++ b/common/cmd_thordown.c > @@ -64,7

Re: [U-Boot] [Patch v2 0/7] Add support for TQMa6 modules

2014-06-23 Thread Stefano Babic
Hi Markus, On 23/06/2014 11:52, Markus Niebel wrote: > Hello Stefano, > > Am 17.06.2014 19:58, schrieb Stefano Babic: >> Hi Markus, >> >> On 17/06/2014 19:40, Markus Niebel wrote: >> Is it not an attractive alternative for you ? Instead of having several entries in boards.cfg for each v

Re: [U-Boot] [PATCH v2 04/11] drivers:dfu: new feature: separated bootloader alt setting

2014-06-23 Thread Przemyslaw Marczak
On 06/18/2014 05:46 PM, Stephen Warren wrote: On 06/18/2014 04:56 AM, Przemyslaw Marczak wrote: On 06/17/2014 06:36 PM, Stephen Warren wrote: ... I'd prefer that the dfu command didn't use any environment variables, but rather required the user to always pass the list on the command-line. Then

Re: [U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-23 Thread Lukasz Majewski
Hi Marek, > On Monday, June 23, 2014 at 09:39:16 AM, Lukasz Majewski wrote: > > Commit d4f5ef59cc7 "dfu: defer parsing of device string to IO > > backend" changed the function signature of dfu_init_env_entities(). > > Adjust cmd_thordown.c to match that change. > > > > Also, apply the same change

Re: [U-Boot] [PATCH] patman: Only apply patches when we know the original HEAD

2014-06-23 Thread Simon Glass
+Doug who may have some thoughts here. HI Masahiro, On 23 June 2014 00:28, Masahiro Yamada wrote: > Hi Simon, > > On Sun, 22 Jun 2014 22:54:43 -0600 > Simon Glass wrote: > > > Hi, > > > > On Jun 22, 2014 10:23 PM, "Fabio Estevam" wrote: > > > > > > On Mon, Jun 23, 2014 at 12:39 AM, Simon Glas

Re: [U-Boot] [PATCH v7 2/2] mpc8313: add CONFIG_SYS_GENERIC_BOARD to ids8313 board

2014-06-23 Thread Simon Glass
On 21 June 2014 22:33, Heiko Schocher wrote: > > - add CONFIG_SYS_GENERIC_BOARD > - remove CONFIG_OF_CONTROL to boot again > > Signed-off-by: Heiko Schocher > Acked-by: Kim Phillips > Cc: Simon Glass Acked-by: Simon Glass ___ U-Boot mailing list U-B

Re: [U-Boot] [PATCH 04/10] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-06-23 Thread Simon Glass
Hi Ajay, On 20 June 2014 00:42, Ajay kumar wrote: > Hi Simon, > > > On Fri, Jun 20, 2014 at 8:59 AM, Simon Glass wrote: >> On 17 June 2014 03:06, Ajay Kumar wrote: >>> On Exynos5420 and newer versions, the FIMD sysmmus are in >>> "on state" by default. >>> We have to disable them in order to ma

Re: [U-Boot] [PATCH 09/10] CONFIGS: peach-pit: Enable display for peach_pit board

2014-06-23 Thread Simon Glass
Hi Ajay, On 20 June 2014 00:12, Ajay kumar wrote: > Simon, > > On Fri, Jun 20, 2014 at 9:08 AM, Simon Glass wrote: >> Hi Ajay, >> >> On 17 June 2014 03:06, Ajay Kumar wrote: >>> Enable drivers for FIMD, DP and parade bridge chip. >>> >>> Signed-off-by: Ajay Kumar >>> --- >>> include/configs/p

[U-Boot] [PATCH v3 4/4] mx6sx: Add initial support for mx6sxsabresd board

2014-06-23 Thread Fabio Estevam
From: Fabio Estevam Signed-off-by: Fabio Estevam --- Changes since v2: - Adjust CONFIG_LOADADDR Changes since v1: - Previous commit log belonged to 1/4 patch, so moved it to the correct patch board/freescale/mx6sxsabresd/Makefile | 6 + board/freescale/mx6sxsabresd/imximage.cfg | 105

[U-Boot] [PATCH v3 3/4] mx6: clock: Do not enable sata and ipu clocks

2014-06-23 Thread Fabio Estevam
From: Fabio Estevam mx6sx does not have sata nor ipu blocks, so do not handle such clocks. Signed-off-by: Fabio Estevam --- Changes since v2: - None Changes since v1: - None arch/arm/cpu/armv7/mx6/clock.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv7/mx6/clock

[U-Boot] [PATCH v3 1/4] mx6: Add support for the mx6solox variant

2014-06-23 Thread Fabio Estevam
From: Fabio Estevam mx6solox is the newest member of the mx6 family. Some of the new features on this variants are: - Cortex M4 microcontroller (besides the CortexA9) - Dual Gigabit Ethernet Add the initial support for it. Signed-off-by: Fabio Estevam --- Changes since v2: - Improve commit lo

Re: [U-Boot] [RFC PATCH 0/3] Implement "fastboot flash" for eMMC

2014-06-23 Thread Lukasz Majewski
Hi Steve, > > > On 14-06-19 11:32 PM, Marek Vasut wrote: > > On Friday, June 20, 2014 at 08:18:42 AM, Lukasz Majewski wrote: > >> Hi Steve, > >> > >>> This series implements the "fastboot flash" command for eMMC > >>> devices. It supports both raw and sparse images. > >>> > >>> NOTES: > >>> - th

Re: [U-Boot] m68k: Build problems on some boards

2014-06-23 Thread Tom Rini
On Sun, Jun 22, 2014 at 12:19:21PM +0300, Vasili Galka wrote: > I'll really appreciate any help on this. > > On Sun, Jun 15, 2014 at 3:57 PM, Vasili Galka wrote: > > Hi, > > > > I've installed a m68k-elf toolchain (based on gcc 4.8.1) and tried > > building all m68k boards on latest u-boot/master

Re: [U-Boot] [PATCH v7 2/2] mpc8313: add CONFIG_SYS_GENERIC_BOARD to ids8313 board

2014-06-23 Thread Tom Rini
On Sun, Jun 22, 2014 at 06:33:30AM +0200, Heiko Schocher wrote: > - add CONFIG_SYS_GENERIC_BOARD > - remove CONFIG_OF_CONTROL to boot again > > Signed-off-by: Heiko Schocher > Acked-by: Kim Phillips > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description

Re: [U-Boot] [PATCH v7 1/2] lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c

2014-06-23 Thread Tom Rini
On Sun, Jun 22, 2014 at 06:33:29AM +0200, Heiko Schocher wrote: > move fdtdec_get_int() out of lib/fdtdec.c into lib/fdtdec_common.c > as this function is also used, if CONFIG_OF_CONTROL is not > used. Poped up on the ids8313 board using signed FIT images, > and activating CONFIG_SYS_GENERIC_BOARD

Re: [U-Boot] [PATCH v4 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-23 Thread Tom Rini
On Sun, Jun 22, 2014 at 09:36:43AM +0200, Wolfgang Denk wrote: > Dear Heiko, > > In message <53a67ed9.2090...@denx.de> you wrote: > > > > And I have no chance to detect this difference, when using > > "git am -3 ..." ... it just remains in the code ... > > > > I vote for copying the linux files,

Re: [U-Boot] [U-boot] [Patch v2 3/3] k2hk: change default nand ecc layout

2014-06-23 Thread Ivan Khoronzhuk
On 06/21/2014 02:40 AM, Scott Wood wrote: On Sat, 2014-06-21 at 02:28 +0300, Ivan Khoronzhuk wrote: For keystyone k2hk board the default nand layout is different from davinci. So swich ecc layout at init in board file. Signed-off-by: Ivan Khoronzhuk --- board/ti/k2hk_evm/board.c | 11 ++

[U-Boot] [Patch v3] Add TQ Systems TQMa6 board support

2014-06-23 Thread Markus Niebel
From: Markus Niebel This patch adds the changes to boards.cfg and the board directory under board/tqc. TQMa6 is a family of modules based on Freescale i.MX6. It consists of TQMa6Q (i.MX6 Quad), TQMa6D (i.MX6 Dual) featuring eMMC, and 1 GiB DDR3 TQMa6S (i.MX6 Solo) featuring eMMC and 512 MiB DDR

Re: [U-Boot] Running ARMv8 on fast model

2014-06-23 Thread Steve Rae
On 14-06-23 12:01 AM, Youngmin Nam wrote: Hello expert. I'm trying to run ARMv8 u-boot on fast model. Exactly on Coretex-A57×4 In FVP_VE When I run command "model_shell64 cadi_system_Linux64-Release-GCC-4.6.so u-boot.elf" There isn't any pop up xterm terminal. My fast model version is 8.3 an

Re: [U-Boot] [PATCH v3 1/4] mx6: Add support for the mx6solox variant

2014-06-23 Thread Otavio Salvador
On Mon, Jun 23, 2014 at 9:53 AM, Fabio Estevam wrote: > From: Fabio Estevam > > mx6solox is the newest member of the mx6 family. > > Some of the new features on this variants are: > - Cortex M4 microcontroller (besides the CortexA9) > - Dual Gigabit Ethernet > > Add the initial support for it. >

[U-Boot] [PATCH v4 1/4] mx6: Add support for the mx6solox variant

2014-06-23 Thread Fabio Estevam
From: Fabio Estevam mx6solox is the newest member of the mx6 family. Some of the new features on this variants are: - Cortex M4 microcontroller (besides the CortexA9) - Dual Gigabit Ethernet Add the initial support for it. Signed-off-by: Fabio Estevam --- Changes since v3: - Add missing is_cp

[U-Boot] [PATCH v4 3/4] mx6: clock: Do not enable sata and ipu clocks

2014-06-23 Thread Fabio Estevam
From: Fabio Estevam mx6sx does not have sata nor ipu blocks, so do not handle such clocks. Signed-off-by: Fabio Estevam --- Changes since v3: - None Changes since v2: - None Changes since v1: - None arch/arm/cpu/armv7/mx6/clock.c | 8 1 file changed, 8 insertions(+) diff --git a/arc

[U-Boot] [PATCH v4 4/4] mx6sx: Add initial support for mx6sxsabresd board

2014-06-23 Thread Fabio Estevam
From: Fabio Estevam Signed-off-by: Fabio Estevam --- Changes since v3: - None Changes since v2: - Adjust CONFIG_LOADADDR Changes since v1: - Previous commit log belonged to 1/4 patch, so moved it to the correct patch board/freescale/mx6sxsabresd/Makefile | 6 + board/freescale/mx6sxsab

[U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-23 Thread Stephen Warren
From: Stephen Warren ci_udc.c's usb_gadget_unregister_driver() doesn't call driver->unbind() unlike other USB gadget drivers. Fix it to do this. Without this, when ether.c's CDC Ethernet device is torn down, eth_unbind() is never called, so dev->gadget is never set to NULL. For some reason, usb_

[U-Boot] [PATCH] TI:omap3: enable CONFIG_CMD_DHCP for omap3_beagle

2014-06-23 Thread Tyler Baker
The following patch re-enables the dhcp functionality on omap3_beagle. It was removed with df4dbb5df6ab1c1d27b3fd4acbaad69b47095daf when omap3_beagle was converted to use ti_omap3_common.h. I have tested beagleboard and beagleboard-xm with this patch and confirmed dhcp is working. Signed-off-by: T

Re: [U-Boot] [RFC PATCH 0/3] Implement "fastboot flash" for eMMC

2014-06-23 Thread Steve Rae
Rob & Sebastian I would appreciate your comments on this issue; I suspect that you had some ideas regarding the implementation of the fastboot "flash" and "erase" commands Thanks in advance, Steve On 14-06-23 05:58 AM, Lukasz Majewski wrote: Hi Steve, On 14-06-19 11:32 PM, Marek Vas

Re: [U-Boot] [PATCH v2 2/2] README: document the CONFIG_ENV_IS_IN_FAT option

2014-06-23 Thread Stephen Warren
On 06/22/2014 08:41 PM, Josh Wu wrote: > Signed-off-by: Josh Wu A quick description might be nice. Otherwise, Reviewed-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] ARM: tegra: Disable VPR

2014-06-23 Thread Stephen Warren
On 06/23/2014 01:20 AM, Alexandre Courbot wrote: > From: Bryan Wu > > On Tegra114 and Tegra124 platforms, certain display-related registers cannot > be accessed unless the VPR registers are programmed. For bootloader, we > probably don't care about VPR, so we disable it (which counts as programm

Re: [U-Boot] [PATCH v2] thor: defer parsing of device string to IO backend

2014-06-23 Thread Stephen Warren
On 06/23/2014 01:39 AM, Lukasz Majewski wrote: > Commit d4f5ef59cc7 "dfu: defer parsing of device string to IO backend" changed > the function signature of dfu_init_env_entities(). Adjust cmd_thordown.c > to match that change. > > Also, apply the same change as commit d6d37d737b58e "dfu: free enti

Re: [U-Boot] [PATCH v2 2/2] README: document the CONFIG_ENV_IS_IN_FAT option

2014-06-23 Thread Jon Loeliger
On Mon, Jun 23, 2014 at 1:41 PM, Stephen Warren wrote: > On 06/22/2014 08:41 PM, Josh Wu wrote: >> Signed-off-by: Josh Wu > > A quick description might be nice. Otherwise, Josh, Any chance you want to patch the lack of CONFIG_ENV_IS_IN_SPI_FLASH documentation while you are in the area? :-) jdl

Re: [U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

2014-06-23 Thread Eric Nelson
Thanks Stephen, On 06/23/2014 11:02 AM, Stephen Warren wrote: > From: Stephen Warren > > ci_udc.c's usb_gadget_unregister_driver() doesn't call driver->unbind() > unlike other USB gadget drivers. Fix it to do this. > > Without this, when ether.c's CDC Ethernet device is torn down, > eth_unbind(

[U-Boot] [PATCH 2/2] tps65218/am43xx_evm: Add power framework support to TPS65218

2014-06-23 Thread Tom Rini
Add in an init function for the drivers/power framework so we can dump and read the registers via i2c. Cc: Łukasz Majewski Signed-off-by: Tom Rini --- This is as far as we can take the framework on this family as in order to make use of the pmic struct we need malloc. We need to talk with the

[U-Boot] [PATCH] ARM: cache_v7: use __weak

2014-06-23 Thread Jeroen Hofstee
This is not only more readable but also prevents a warning about a missing prototype. The prototypes which are actually missing are added. cc: Albert Aribaud Signed-off-by: Jeroen Hofstee --- arch/arm/cpu/armv7/cache_v7.c | 45 +++ arch/arm/include/asm/ca

[U-Boot] [PATCH 1/2] power/pmic.h: Add prototype for power_init_board.

2014-06-23 Thread Tom Rini
As this is a weak function that we may override, provide a prototype for it. Cc: Łukasz Majewski Signed-off-by: Tom Rini --- include/power/pmic.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/power/pmic.h b/include/power/pmic.h index a62e6c9..afbc5aa 100644 --- a/include/power/

Re: [U-Boot] [PATCH] ARM: cache_v7: use __weak

2014-06-23 Thread Tom Rini
On Mon, Jun 23, 2014 at 10:07:04PM +0200, Jeroen Hofstee wrote: > This is not only more readable but also prevents a warning > about a missing prototype. The prototypes which are actually > missing are added. > > cc: Albert Aribaud > Signed-off-by: Jeroen Hofstee Been on my TODO list for a lon

Re: [U-Boot] [Patch v8 4/5] armv8/fsl-lsch3: Add support to load and start MC Firmware

2014-06-23 Thread York Sun
In this case, I will have to send a new version to get rid of this check. York On 06/23/2014 01:50 PM, Rivera Jose-B46482 wrote: > The "uname == NULL" check can be removed. > > Thanks, > > German > > From: Sun York-R58495 > Sent: Friday, June 20, 2014 3

[U-Boot] [PATCH] common: board_f: cosmetic use __weak for leds

2014-06-23 Thread Jeroen Hofstee
First of all this looks a lot better, but it also prevents a gcc warning (W=1), that the weak function has no previous prototype. cc: Simon Glass Signed-off-by: Jeroen Hofstee --- This likely causes some merge issues, but is so uggly it deserves it. --- common/board_f.c | 29 ++

[U-Boot] [PATCH 2/2] usb: phy: omap_usb_phy: implement usb_phy_power() for AM437x

2014-06-23 Thread Felipe Balbi
Newer AM437x silicon requires us to explicitly power up the USB2 PHY. By implementing usb_phy_power() we can achieve that. Signed-off-by: Felipe Balbi --- drivers/usb/phy/omap_usb_phy.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/usb/phy/omap_usb

[U-Boot] [PATCH 1/2] usb: host: xhci: make sure to power up PHY

2014-06-23 Thread Felipe Balbi
some boards won't work if the PHY isn't explicitly powered up. Signed-off-by: Felipe Balbi --- drivers/usb/host/xhci-omap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c index e667810..912b2bd 100644 --- a/drivers/usb/host/xhci-om

Re: [U-Boot] [PATCH 2/2] usb: phy: omap_usb_phy: implement usb_phy_power() for AM437x

2014-06-23 Thread Michael Trimarchi
Hi Il 23/giu/2014 23:26 "Felipe Balbi" ha scritto: > > Newer AM437x silicon requires us to explicitly power up > the USB2 PHY. By implementing usb_phy_power() we can > achieve that. > > Signed-off-by: Felipe Balbi > --- > drivers/usb/phy/omap_usb_phy.c | 17 - > 1 file changed,

[U-Boot] Please pull u-boot-dm.git branch master

2014-06-23 Thread Simon Glass
[this didn't appear in patchwork I think, so trying again] Hi Tom, Here are two that were left behind. The following changes since commit 39b6d07fd7e692736cdb05a000b1c84ab43de4fb: Merge branch 'master' of git://git.denx.de/u-boot-dm (2014-06-20 20:03:51 -0400) are available in the git repos

Re: [U-Boot] [PATCH] integrator: switch to generic board

2014-06-23 Thread Simon Glass
On 23 June 2014 03:15, Linus Walleij wrote: > Turn on generic board for the integrators, as per the request in > the startup message. Everything just works, tested on the > Integrator/AP and Integrator/CP. > > Signed-off-by: Linus Walleij Thanks. Acked-by: Simon Glass _

Re: [U-Boot] [PATCH 2/2] usb: phy: omap_usb_phy: implement usb_phy_power() for AM437x

2014-06-23 Thread Felipe Balbi
Hi, On Mon, Jun 23, 2014 at 11:28:30PM +0200, Michael Trimarchi wrote: > > @@ -222,7 +222,22 @@ static void am437x_enable_usb2_phy2(struct omap_xhci > *omap) > > > > void usb_phy_power(int on) > > { > > - return; > > + u32 val; > > + > > + /* USB1_CTRL */ > > + val = read

Re: [U-Boot] [PATCH 2/2] usb: phy: omap_usb_phy: implement usb_phy_power() for AM437x

2014-06-23 Thread Michael Trimarchi
Hi Il 23/giu/2014 23:58 "Felipe Balbi" ha scritto: > > Hi, > > On Mon, Jun 23, 2014 at 11:28:30PM +0200, Michael Trimarchi wrote: > > > @@ -222,7 +222,22 @@ static void am437x_enable_usb2_phy2(struct omap_xhci > > *omap) > > > > > > void usb_phy_power(int on) > > > { > > > - return; > > >

[U-Boot] [Patch v9 2/5] ARMv8: Adjust MMU setup

2014-06-23 Thread York Sun
Make MMU function reusable. Platform code can setup its own MMU tables. Signed-off-by: York Sun CC: David Feng --- Change log v9: no change v8: no change v7: no change v6: Modified from v4. Add "dsb sy" before setting MMU registers and add "isb" after. v5: Drop the addition of inline funct

[U-Boot] [Patch v9 3/5] ARMv8/FSL_LSCH3: Add FSL_LSCH3 SoC

2014-06-23 Thread York Sun
Freescale LayerScape with Chassis Generation 3 is a set of SoCs with ARMv8 cores and 3rd generation of Chassis. We use different MMU setup to support memory map and cache attribute for these SoCs. MMU and cache are enabled very early to bootst performance, especially for early development on emulat

[U-Boot] [Patch v9 5/5] ARMv8/ls2085a_emu: Add LS2085A emulator and simulator board support

2014-06-23 Thread York Sun
LS2085A is an ARMv8 implementation. This adds board support for emulator and simulator: Two DDR controllers UART2 is used as the console IFC timing is tightened for speedy booting Support DDR3 and DDR4 as separated targets Management Complex (MC) is enabled Support for GIC 500 (based on

[U-Boot] [Patch v9 1/5] Added 64-bit MMIO accessors for ARMv8

2014-06-23 Thread York Sun
From: "J. German Rivera" This is needed for accessing peripherals with 64-bit MMIO registers, from ARMv8 processors. Signed-off-by: J. German Rivera --- Change log v9: no change v8: no change v7: no change v6: no change v5: no change v4: no change v3: no change arch/arm/include/asm/io.

[U-Boot] [Patch v9 4/5] armv8/fsl-lsch3: Add support to load and start MC Firmware

2014-06-23 Thread York Sun
From: "J. German Rivera" Adding support to load and start the Layerscape Management Complex (MC) firmware. First, the MC GCR register is set to 0 to reset all cores. MC firmware and DPL images are copied from their location in NOR flash to DDR. MC registers are updated with the location of these

[U-Boot] [PATCH v2 2/2] usb: phy: omap_usb_phy: implement usb_phy_power() for AM437x

2014-06-23 Thread Felipe Balbi
Newer AM437x silicon requires us to explicitly power up the USB2 PHY. By implementing usb_phy_power() we can achieve that. Signed-off-by: Felipe Balbi --- Changes since v1: - add macros for USB1_CTRL register and bits arch/arm/include/asm/arch-am33xx/hardware_am43xx.h | 5 + drive

[U-Boot] [Patch v2 1/1] driver/ddr: Fix DDR4 driver for ARM

2014-06-23 Thread York Sun
Previously the driver was only tested on Power SoCs. Different barrier instructions are needed for ARM SoCs. Signed-off-by: York Sun --- Change log v2: use mb() and isb() instead of #ifdef arch/arm/include/asm/arch-fsl-lsch3/config.h |4 arch/arm/include/asm/io.h|

Re: [U-Boot] [PATCH] sh: unify sh2/sh3/sh4 linker scripts

2014-06-23 Thread Nobuhiro Iwamatsu
Hi, Thanks for your patch. I applied to next branch of u-boot-sh. Best regards, Nobuhiro 2014-06-20 16:40 GMT+09:00 Masahiro Yamada : > The linker scripts of sh2/sh3/sh4 are almost the same. > The difference among them is essentially only one line. > > They can be consolidated into a single fi

Re: [U-Boot] [U-Boot, v2] boards.cfg: move many unmaintained boards to Orphan

2014-06-23 Thread Masahiro Yamada
Hi Sinan, > >> [...] > >> +Orphan powerpc mpc83xx- freescale > mpc837xerdb MPC837XERDB > >I have this board and I would very much like that it'll continue to > be maintained. I just tested the ToT and it seems other than some minor > warnings and request to u

[U-Boot] [PATCH v3 07/11] MAKEALL: adjust for Kconfig

2014-06-23 Thread Masahiro Yamada
Use "make _defconfig" instead of "make _config". FIXME! This fixup is bad because it still depends on boards.cfg to support options such as -a , -c etc. We want to delete it when switching to Kconfig. We have to invent another method without using boards.cfg. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH v3 08/11] buildman: adjust for Kconfig

2014-06-23 Thread Masahiro Yamada
Use "make _defconfig" instead of "make _config". FIXME! This fixup is bad because it still depends on boards.cfg to support options such as -a , -c etc. We want to delete it when switching to Kconfig. We have to invent another method without using boards.cfg. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH v3 06/11] kconfig: switch to Kconfig

2014-06-23 Thread Masahiro Yamada
This commit enables Kconfig. Going forward, we use Kconfig for board configuration. mkconfig will never be used. Nor will include/config.mk be generated. Kconfig must be adjusted for U-Boot because our situation is a little more complicated than Linux Kernel. We have to generate multiple binary im

[U-Boot] [PATCH v3 11/11] kconfig: remove old script

2014-06-23 Thread Masahiro Yamada
mkconfig is no longer used in Kconfig. Signed-off-by: Masahiro Yamada --- Changes in v3: None Changes in v2: None mkconfig | 187 --- 1 file changed, 187 deletions(-) delete mode 100755 mkconfig diff --git a/mkconfig b/mkconfig dele

[U-Boot] [PATCH v3 05/11] include: define CONFIG_SPL and CONFIG_TPL as 1

2014-06-23 Thread Masahiro Yamada
We are about to switch to Kconfig in the next commit. But there are something to get done beforehand. In Kconfig, include/generated/autoconf.h defines boolean CONFIG macros as 1. CONFIG_SPL and CONFIG_TPL, if defined, must be set to 1. Otherwise, when switching to Kconfig, the build log would be

[U-Boot] [PATCH v3 04/11] kconfig: add basic Kconfig files

2014-06-23 Thread Masahiro Yamada
This commit adds more Kconfig files, which were written by hand. Signed-off-by: Masahiro Yamada --- Changes in v3: - Add CONFIG_SUBIMAGES for generic sub-image framework. - Move CONFIG_SYS_EXTRA_OPTIONS to the top Kconfig. - Add more help messages to each config. Changes in v2: - Do not

[U-Boot] [PATCH v3 09/11] kconfig: delete redundant CONFIG_${ARCH} definition

2014-06-23 Thread Masahiro Yamada
CONFIG_${ARCH} is defined by Kconfig. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arc/config.mk | 2 +- arch/arm/config.mk | 2 +- arch/avr32/config.mk | 1 - arch/blackfin/config.

[U-Boot] [PATCH v3 10/11] kbuild: remove CONFIG_SPL/CONFIG_TPL definition in config headers

2014-06-23 Thread Masahiro Yamada
Now CONFIG_SPL and CONFIG_TPL are defined in Kconfig. Remove the redundant definition in config headers. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- Changes in v3: - Rebase on the current u-boot/master Changes in v2: - Rebase on the current u-boot/master include/configs/B

[U-Boot] [PATCH v3 02/11] Do not apply: tools: add genkconfig

2014-06-23 Thread Masahiro Yamada
Do not apply this patch to the main line What is this tool? -- This tool converts boards.cfg to defconfig and Kconfig files. It automatically generates - arch/${ARCH}/Kconfig - board/${VENDOR

Re: [U-Boot] [PATCH v2] ARM: tegra: Disable VPR

2014-06-23 Thread Alexandre Courbot
On 06/24/2014 03:44 AM, Stephen Warren wrote: On 06/23/2014 01:20 AM, Alexandre Courbot wrote: From: Bryan Wu On Tegra114 and Tegra124 platforms, certain display-related registers cannot be accessed unless the VPR registers are programmed. For bootloader, we probably don't care about VPR, so

[U-Boot] [PATCH v3] ARM: tegra: Disable VPR

2014-06-23 Thread Alexandre Courbot
From: Bryan Wu On Tegra114 and Tegra124 platforms, certain display-related registers cannot be accessed unless the VPR registers are programmed. For bootloader, we probably don't care about VPR, so we disable it (which counts as programming it, and allows those display-related registers to be ac

Re: [U-Boot] Running ARMv8 on fast model

2014-06-23 Thread Youngmin Nam
Thanks Steve. But when I run command like below, the parameters that I configured didn't work. It seems that there need to use some different parameter for "FVP_VE" model. Do you have any idea? youngmin@ubuntu:~/ARM/FastModelsPortfolio_8.3/examples/FVP_VE/Build_Cortex-A57x4/Linux64-Release-GCC-4

Re: [U-Boot] [Patch v8 4/5] armv8/fsl-lsch3: Add support to load and start MC Firmware

2014-06-23 Thread Jose Rivera
The "uname == NULL" check can be removed. Thanks, German From: Sun York-R58495 Sent: Friday, June 20, 2014 3:38 PM To: Jeroen Hofstee; Rivera Jose-B46482 Cc: albert.u.b...@aribaud.net; Kanetkar Shruti-B44454; u-boot@lists.denx.de Subject: Re: [U-Boot] [Pat

Re: [U-Boot] [PATCH v4 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-23 Thread Heiko Schocher
Hello Tom, Am 23.06.2014 17:05, schrieb Tom Rini: On Sun, Jun 22, 2014 at 09:36:43AM +0200, Wolfgang Denk wrote: Dear Heiko, In message<53a67ed9.2090...@denx.de> you wrote: And I have no chance to detect this difference, when using "git am -3 ..." ... it just remains in the code ... I vote

Re: [U-Boot] [RFC] Two sets of experimental Kconfig patches

2014-06-23 Thread Masahiro Yamada
Hi Simon, > > I have been thinking about this a lot, but it isn't 100% clear to me. > > While I agree that duplicating the CONFIGs is bad, in fact the > opposite of what I was getting at, I do feel that things like > CONFIG_TEGRA20 need to be set in one place. We don't want the SPL/TPL > config

Re: [U-Boot] [U-Boot, v2] boards.cfg: move many unmaintained boards to Orphan

2014-06-23 Thread Sinan Akman
Hi Masahiro Masahiro Yamada wrote: Hi Sinan, [...] +Orphan powerpc mpc83xx- freescale mpc837xerdb MPC837XERDB I have this board and I would very much like that it'll continue to be maintained. I just tested the ToT and it seems other than some minor wa