[U-Boot] [PATCH 00/11] x86: Support TunnelCreek integrated graphics device

2015-07-01 Thread Bin Meng
This series is a joint effort of Jian Luo jian.l...@boschrexroth.de and Bin to support Intel TunnelCreek integrated graphics device (IGD). It turns out that the bios emulator does not run the vbios correctly as there are smsw/rdmsr/wrmsr instructions in the vbios which are not emulated. Thus we

[U-Boot] [PATCH 01/11] video: vesa_fb: Look up VGA device by class instead of id

2015-07-01 Thread Bin Meng
Per PCI spec, VGA device reports its class as standard 03h in its configuration space, so we can use it to determine if we need run option rom instead of testing the supported vendor/device ids. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/video/vesa_fb.c | 16 ++-- 1

[U-Boot] [PATCH 04/11] video: Add 32-bit color depth support for VBE

2015-07-01 Thread Bin Meng
From: Jian Luo jian.l...@boschrexroth.de The TunnelCreek IGD VBE reports 32-bit color depth regardless 24-bit color depth is configured. Since 24-bit mode already uses 4 bytes internally, it should be OK to just add this option in switch case. Signed-off-by: Jian Luo jian.l...@boschrexroth.de

[U-Boot] [PATCH 07/11] x86: cmd_mtrr: Improve MTRR list information

2015-07-01 Thread Bin Meng
Print the meaningful base address and mask of an MTRR range without showing the memory type encoding or valid bit. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/lib/cmd_mtrr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/cmd_mtrr.c

[U-Boot] [PATCH 08/11] x86: Move VGA option rom macros to Kconfig

2015-07-01 Thread Bin Meng
Move X86_OPTION_ROM_FILE X86_OPTION_ROM_ADDR to arch/x86/Kconfig and rename them to VGA_BIOS_FILE VGA_BIOS_ADDR which depend on HAVE_VGA_BIOS. The new names are consistent with other x86 binary blob options like HAVE_FSP/FSP_FILE/FSP_ADDR. Signed-off-by: Bin Meng bmeng...@gmail.com ---

[U-Boot] [PATCH 05/11] x86: Setup fixed range MTRRs for legacy regions

2015-07-01 Thread Bin Meng
We should setup fixed range MTRRs for some legacy regions like VGA RAM and PCI ROM areas as uncacheable. Note FSP may setup these to other cache settings, but we can override this in x86_cpu_init_f(). Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/cpu/cpu.c | 22

[U-Boot] [PATCH 06/11] x86: queensbay: Change CPU_ADDR_BITS to 32

2015-07-01 Thread Bin Meng
Per CPUID:8008h result, the maximum physical address bits of TunnelCreek processor is 32 instead of default 36. This will fix the incorrect decoding of MTRR range mask. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/cpu/queensbay/Kconfig | 4 1 file changed, 4 insertions(+)

[U-Boot] [PATCH 02/11] x86: bios: Synchronize stack between real and protected mode

2015-07-01 Thread Bin Meng
From: Jian Luo jian.l...@boschrexroth.de PCI option rom may use different SS during its execution, so it is not safe to assume esp pointed to the same location in the protected mode. Signed-off-by: Jian Luo jian.l...@boschrexroth.de Reviewed-by: Bin Meng bmeng...@gmail.com Tested-by: Bin Meng

[U-Boot] [PATCH 03/11] x86: bios: Allow pci config read/write to host bridge in int1a_handler

2015-07-01 Thread Bin Meng
From: Jian Luo jian.l...@boschrexroth.de We should allow pci config read/write to host bridge (b.d.f = 0.0.0) in the int1a_handler() which is a valid pci device. Signed-off-by: Jian Luo jian.l...@boschrexroth.de Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/lib/bios_interrupts.c | 10

[U-Boot] [PATCH 10/11] x86: crownbay: Enable graphics support

2015-07-01 Thread Bin Meng
Enable graphics support on Intel Crown Bay board With the help of vgabios for Intel TunnelCreek IGD. Tested with an external LVDS panel connected to X4 connector and SDVO adapter connected to X9 connector on the board. Signed-off-by: Jian Luo jian.l...@boschrexroth.de Signed-off-by: Bin Meng

[U-Boot] [PATCH 09/11] x86: Remove MARK_GRAPHICS_MEM_WRCOMB

2015-07-01 Thread Bin Meng
MARK_GRAPHICS_MEM_WRCOMB is not referenced anywhere in the code, hence remove it. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/Kconfig | 8 board/google/chromebook_link/Kconfig | 1 - board/google/chromebox_panther/Kconfig | 1 - 3 files changed, 10

[U-Boot] [PATCH 11/11] x86: Configure VESA parameters before loading Linux kernel

2015-07-01 Thread Bin Meng
Store VESA parameters to Linux setup header so that vesafb driver in the kernel could work. Signed-off-by: Bin Meng bmeng...@gmail.com Tested-by: Jian Luo jian.l...@boschrexroth.de --- arch/x86/include/asm/zimage.h | 1 + arch/x86/lib/zimage.c | 2 ++ drivers/pci/pci_rom.c |

[U-Boot] [PATCH V2 1/2] imx: mx6 remove duplicated enable_cspi_clock

2015-07-01 Thread Peng Fan
enable_spi_clock does the same thing with enable_cspi_clock, so remove enable_cspi_clock. Remove enable_cspi_clock prototype in header file convert cm_fx6/spl.c to use enable_spi_clk Signed-off-by: Peng Fan peng@freescale.com Acked-by: Stefano Babic sba...@denx.de --- Changes v2: Add

[U-Boot] [PATCH V2 2/2] imx: mx6 add i2c4 clock support for i.MX6SX

2015-07-01 Thread Peng Fan
Add I2C4 clock support for i.MX6SX. Since we use runtime check, but not macro, we need to remove `#ifdef ..` in crm_regs.h, or gcc will fail to compile the code succesfully. Making the macros only for i.MX6SX open to other i.MX6x maybe not a good choice, but we have runtime check. Signed-off-by:

Re: [U-Boot] [PATCH v2] ARM: UniPhier: drop special CONFIG_AUTOBOOT_ settings

2015-07-01 Thread Masahiro Yamada
2015-07-02 1:12 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: 2015-06-30 17:10 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: There is no good reason to use a particular key to stop autobooting. The default allows us to stop the autoboot with any key input. Signed-off-by:

Re: [U-Boot] [PATCH 1/2] ARM: dts: UniPhier: sync device trees with the Linux kernel

2015-07-01 Thread Masahiro Yamada
2015-06-30 18:27 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: This makes code diff much easier. Device trees describe hardware attributes, which are independent of software architecture. It generally makes sense to synchronize them beyond software projects. Signed-off-by:

Re: [U-Boot] [PATCH 2/2] ARM: dts: UniPhier: re-license device tree files under GPLv2+/X11

2015-07-01 Thread Masahiro Yamada
2015-06-30 18:27 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: The current GPL only licensing on the device trees makes it very impractical for other software components licensed under another license. To make it easier to reuse them, the device trees for UniPhier SoCs and boards

Re: [U-Boot] [PATCH] ARM: UniPhier: add IDs for PH1-Pro5, ProXstream2, PH1-LD6b

2015-07-01 Thread Masahiro Yamada
2015-06-30 18:43 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: This prepares for new SoCs support. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Applied to u-boot-uniphier/master. -- Best Regards Masahiro Yamada ___

Re: [U-Boot] [PATCH 19/20] spi: Kconfig: Add TEGRA20_SFLASH entry

2015-07-01 Thread Jagan Teki
On 1 July 2015 at 01:18, Simon Glass s...@chromium.org wrote: On 27 June 2015 at 12:14, Jagan Teki jt...@openedev.com wrote: Added TEGRA20_SFLASH entry on Kconfig with help description. Signed-off-by: Jagan Teki jt...@openedev.com Cc: Tom Warren twar...@nvidia.com Cc: Stephen Warren

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

2015-07-01 Thread Jagan Teki
Hi Tom, Please pull these series for Kconfig/defconfig updates for spi/sf subsystems. thanks! Jagan. The following changes since commit 8ee81b7f9b675cb675119a998b04ca843d24ddcd: mtd, spi: Check if flash pointer is used (2015-06-30 00:40:11 +0530) are available in the git repository at:

[U-Boot] [PATCH v2 0/4] musb device model support series

2015-07-01 Thread Hans de Goede
Hi Simon, Marek, Here is a series with just the patches which needed work after my v1 posting of this series. I've a rebased version of the entire series (some patches needed adjustment after the recent Kconfig / defconfig changes) in my personal tree. Simon, AFAIK the plan is still for this to

[U-Boot] [PATCH v2 1/4] dm: Export device_remove_children / device_unbind_children

2015-07-01 Thread Hans de Goede
These functions are useful to remove all children from an usb bus before rescanning the bus. Give them a better name and export them. Signed-off-by: Hans de Goede hdego...@redhat.com --- Changes in v2: -Not only export but also rename the functions to device_remove_children /

[U-Boot] [PATCH v2 2/4] dm: usb: Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea

2015-07-01 Thread Hans de Goede
Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea, and also why this is a bad idea. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/core/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 2861b43..e40372d

[U-Boot] [PATCH v2 4/4] dm: usb: Rename usb_find_child to usb_find_emul_child

2015-07-01 Thread Hans de Goede
Now that we unbind usb devices from usb_stop() usb_find_child() is only necessary to deal with emulated usb devices. Rename it to make this clear and add a #ifdef to make it a nop in other cases. Note the #ifdef turns usb_find_emul_child() into a nop, rather then not building it and adding

[U-Boot] [PATCH v2 3/4] dm: usb: Use device_unbind_children to clean up usb devs on stop

2015-07-01 Thread Hans de Goede
On an usb stop instead of leaving orphan usb devices behind simply remove them. The result of this commit is best seen in the output of dm tree after plugging out an usb hub with 2 devices plugges in and plugging in a keyb. instead, before this commit the output would be: usb [ + ]

Re: [U-Boot] [PATCH 2/2] Revert break build if it would produce broken binary

2015-07-01 Thread Tom Rini
On Wed, Jul 01, 2015 at 03:37:15PM +0200, Albert ARIBAUD wrote: Hello Pavel, On Wed, 3 Jun 2015 09:18:12 +0200, Pavel Machek pa...@denx.de wrote: On Tue 2015-06-02 13:13:05, Tom Rini wrote: On Tue, Jun 02, 2015 at 11:08:21AM -0600, Simon Glass wrote: The root cause of this problem

[U-Boot] [PATCH] net/designware: revert MAC-address setup on init

2015-07-01 Thread Alexey Brodkin
http://git.denx.de/?p=u-boot.git;a=patch;h=f566c9949fbdce2e09a900c5343ca9986e5ba360 broke DW GMAC operation if !DM_ETH because eth_write_hwaddr() doesn't exist if !DM_NET. As for DM_ETH case I'm still not sure if existing implementation will fly. The point is as it is said in the comment on soft

Re: [U-Boot] [PATCH] board: axs103 - add mainteiner information

2015-07-01 Thread Alexey Brodkin
On Wed, 2015-07-01 at 17:00 +0300, Alexey Brodkin wrote: Looks like I forgot to add myself as a maintainer for AXS103 defconfig. Fixing this now. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- board/synopsys/axs101/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] ARM status or maintainer info currently missing

2015-07-01 Thread Yegor Yefremov
On Wed, Jul 1, 2015 at 3:13 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello all, I get the following when building current u-boot-arm/master with current u-boot/master: * WARNING: no status info for 'am43xx_evm_ethboot' * WARNING: no maintainers for 'am43xx_evm_ethboot'

Re: [U-Boot] [PATCH 03/11 v2] drivers/net/vsc9953: Add default configuration for VSC9953 L2 Switch

2015-07-01 Thread Codrin Constantin Ciubotariu
Hi Joe, -Original Message- From: Joe Hershberger [mailto:joe.hershber...@gmail.com] Sent: Wednesday, July 01, 2015 1:26 AM To: Ciubotariu Codrin Constantin-B43658 Cc: u-boot; Joe Hershberger; Sun York-R58495 Subject: Re: [U-Boot] [PATCH 03/11 v2] drivers/net/vsc9953: Add default

Re: [U-Boot] [PATCH 1/2] arm: Add ENTRY/ENDPROC to private libgcc functions

2015-07-01 Thread Albert ARIBAUD
Hello Simon, On Tue, 2 Jun 2015 11:08:20 -0600, Simon Glass s...@chromium.org wrote: When CONFIG_SYS_THUMB_BUILD is defined these functions may be called from Thumb code. Add the required ENTRY and ENDPROC bracketing so that BLX is used to call these ARM functions, instead of plain BL, which

Re: [U-Boot] [PATCH 2/2] Revert break build if it would produce broken binary

2015-07-01 Thread Albert ARIBAUD
Hello Simon, On Tue, 2 Jun 2015 11:08:21 -0600, Simon Glass s...@chromium.org wrote: The root cause of this problem should now be fixed. This reverts commit a6a4c542d316b3401f0840ac5378743191bca851. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/include/asm/u-boot.h | 4

[U-Boot] Please pull changes for ARC

2015-07-01 Thread Alexey Brodkin
Hi Tom, The following changes since commit 9c6b05cb724e18d1db3f9e1a75b2272572f06fbd: Prepare v2015.07-rc3 (2015-06-29 17:22:01 -0400) are available in the git repository at: git://git.denx.de/u-boot-arc.git for you to fetch changes up to af6da69f47314e0e8efa3711ffadbfda8d2334aa:

Re: [U-Boot] [PATCH 2/2] Revert break build if it would produce broken binary

2015-07-01 Thread Albert ARIBAUD
Hello Pavel, On Wed, 3 Jun 2015 09:18:12 +0200, Pavel Machek pa...@denx.de wrote: On Tue 2015-06-02 13:13:05, Tom Rini wrote: On Tue, Jun 02, 2015 at 11:08:21AM -0600, Simon Glass wrote: The root cause of this problem should now be fixed. This reverts commit

Re: [U-Boot] [PATCH 2/2] Revert break build if it would produce broken binary

2015-07-01 Thread Pavel Machek
On Wed 2015-07-01 15:37:15, Albert ARIBAUD wrote: Hello Pavel, On Wed, 3 Jun 2015 09:18:12 +0200, Pavel Machek pa...@denx.de wrote: On Tue 2015-06-02 13:13:05, Tom Rini wrote: On Tue, Jun 02, 2015 at 11:08:21AM -0600, Simon Glass wrote: The root cause of this problem should now be

[U-Boot] [PATCH] arc: implement slave cores kick-start for Linux kernel

2015-07-01 Thread Alexey Brodkin
With new SMP-enabled CPUs with ARC HS38 cores and corresponding support in Linux kernel it's required to add basic SMP support in U-Boot. Currently we assume the one and only core starts execution after power-on. So most of things in U-Boot is handled in UP mode. But when U-Boot is used for

Re: [U-Boot] [PATCH] net/designware: revert MAC-address setup on init

2015-07-01 Thread Bin Meng
Hi Alexey, On Wed, Jul 1, 2015 at 9:59 PM, Alexey Brodkin alexey.brod...@synopsys.com wrote: http://git.denx.de/?p=u-boot.git;a=patch;h=f566c9949fbdce2e09a900c5343ca9986e5ba360 broke DW GMAC operation if !DM_ETH because eth_write_hwaddr() doesn't exist if !DM_NET. As for DM_ETH case I'm

Re: [U-Boot] ARM status or maintainer info currently missing

2015-07-01 Thread Alexey Brodkin
Hi Albert, On Wed, 2015-07-01 at 15:13 +0200, Albert ARIBAUD wrote: Hello all, I get the following when building current u-boot-arm/master with current u-boot/master: * WARNING: no status info for 'am43xx_evm_ethboot' * WARNING: no maintainers for 'am43xx_evm_ethboot' WARNING: no

[U-Boot] [PATCH] board: axs103 - add mainteiner information

2015-07-01 Thread Alexey Brodkin
Looks like I forgot to add myself as a maintainer for AXS103 defconfig. Fixing this now. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- board/synopsys/axs101/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/synopsys/axs101/MAINTAINERS

Re: [U-Boot] [PATCH v2] arc: significant cache rework

2015-07-01 Thread Alexey Brodkin
On Wed, 2015-07-01 at 17:15 +0300, Alexey Brodkin wrote: From: Alexey Brodkin alexey.brod...@synopsys.com [1] Align cache management functions to those in Linux kernel. I.e.: a) Use the same functions for all cache ops (D$ Inv/Flush) b) Split cache ops in 3 sub-functions: before,

Re: [U-Boot] [PATCH] arc: implement slave cores kick-start for Linux kernel

2015-07-01 Thread Alexey Brodkin
On Wed, 2015-07-01 at 17:03 +0300, Alexey Brodkin wrote: With new SMP-enabled CPUs with ARC HS38 cores and corresponding support in Linux kernel it's required to add basic SMP support in U-Boot. Currently we assume the one and only core starts execution after power-on. So most of things in

[U-Boot] ARM status or maintainer info currently missing

2015-07-01 Thread Albert ARIBAUD
Hello all, I get the following when building current u-boot-arm/master with current u-boot/master: * WARNING: no status info for 'am43xx_evm_ethboot' * WARNING: no maintainers for 'am43xx_evm_ethboot' WARNING: no status info for 'cairo' WARNING: no maintainers for 'cairo' WARNING: no

[U-Boot] [PATCH] cairo: add missing MAINTAINERS file

2015-07-01 Thread Albert ARIBAUD (3ADEV)
This removes the following two warnings from buildman: WARNING: no status info for 'cairo' WARNING: no maintainers for 'cairo' Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- board/quipos/cairo/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create

Re: [U-Boot] Marvell Armada XP SATA support

2015-07-01 Thread Anton Schubert
Hi Stefan, 2015-07-01 12:39 GMT+02:00 Stefan Roese s...@denx.de: Hi Anton, On 01.07.2015 12:20, Anton Schubert wrote: I figured out my problem was just ATA security. After unlocking the code above works fine for MV78260. Great. Then please send a patch to the list to add support for

Re: [U-Boot] [PATCH] net/designware: revert MAC-address setup on init

2015-07-01 Thread Alexey Brodkin
Hi Tom, Joe, On Wed, 2015-07-01 at 22:22 +0800, Bin Meng wrote: Hi Alexey, On Wed, Jul 1, 2015 at 9:59 PM, Alexey Brodkin alexey.brod...@synopsys.com wrote: http://git.denx.de/?p=u -boot.git;a=patch;h=f566c9949fbdce2e09a900c5343ca9986e5ba360 broke DW GMAC operation if !DM_ETH because

Re: [U-Boot] ARM status or maintainer info currently missing

2015-07-01 Thread Pavel Machek
Hi! WARNING: no status info for 'socfpga_arria5' WARNING: no maintainers for 'socfpga_arria5' I guess Marek or Dinh would be willing to mainain Arria 5. Pavel -- (english) http://www.livejournal.com/~pavelmachek

[U-Boot] [PATCH v2] arc: significant cache rework

2015-07-01 Thread Alexey Brodkin
From: Alexey Brodkin alexey.brod...@synopsys.com [1] Align cache management functions to those in Linux kernel. I.e.: a) Use the same functions for all cache ops (D$ Inv/Flush) b) Split cache ops in 3 sub-functions: before, lineloop and after. That way we may re-use before and after

Re: [U-Boot] [PATCH v3 54/54] power: pmic: Use trailing_strtol() instead of a local function

2015-07-01 Thread Przemyslaw Marczak
Hello Simon, On 06/23/2015 11:39 PM, Simon Glass wrote: Use the common function to obtain the number from the end of the string, instead of a local function. Also tweak the position of a debug() statement. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Split this series

Re: [U-Boot] Marvell Armada XP SATA support

2015-07-01 Thread Stefan Roese
Hi Anton, On 01.07.2015 12:20, Anton Schubert wrote: I figured out my problem was just ATA security. After unlocking the code above works fine for MV78260. Great. Then please send a patch to the list to add support for SATA on AXP. Thanks, Stefan

Re: [U-Boot] [PATCH] siemens,am33x: adjust mtd partition

2015-07-01 Thread Heiko Schocher denx
Hallo Samuel, Am 01.07.2015 um 11:04 schrieb Samuel Egli: Use one mtd partition for rootfs and configuration by means of ubi volumes and get rid of configuration partition. We can use partition layout for both 256MB and 512MB flash. Signed-off-by: Samuel Egli samuel.e...@siemens.com Cc: Heiko

Re: [U-Boot] [PATCH] siemens,am33x: adjust mtd partition

2015-07-01 Thread Meier, Roger
Thanks Sam! -Original Message- From: Samuel Egli [mailto:samuel.e...@siemens.com] Sent: Mittwoch, 1. Juli 2015 11:05 To: u-boot@lists.denx.de Cc: tr...@konsulko.com; Egli, Samuel; Heiko Schocher; Meier, Roger Subject: [PATCH] siemens,am33x: adjust mtd partition Use one mtd

[U-Boot] [PATCH] siemens,am33x: adjust mtd partition

2015-07-01 Thread Samuel Egli
Use one mtd partition for rootfs and configuration by means of ubi volumes and get rid of configuration partition. We can use partition layout for both 256MB and 512MB flash. Signed-off-by: Samuel Egli samuel.e...@siemens.com Cc: Heiko Schocher h...@denx.de Cc: Roger Meier r.me...@siemens.com ---

Re: [U-Boot] [PATCH v3 36/54] dm: pmic: Split output from function

2015-07-01 Thread Przemyslaw Marczak
Hello Simon, On 06/23/2015 11:38 PM, Simon Glass wrote: The regulator_autoset() function mixes printf() output and PMIC adjustment code. It provides a boolean to control the output. It is better to avoid missing logic and output, and this permits a smaller SPL code size. So split the output

Re: [U-Boot] [PATCH] x86: baytrail: Configure FSP UPD from device tree

2015-07-01 Thread Bin Meng
Hi Andrew, On Mon, Jun 29, 2015 at 11:10 PM, and...@bradfordembedded.com wrote: From: Andrew Bradford andrew.bradf...@kodakalaris.com Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built with itself if the device tree settings

Re: [U-Boot] [PATCH v3 39/54] dm: pmic: Add functions to adjust PMIC registers

2015-07-01 Thread Przemyslaw Marczak
Hello Simon, On 06/23/2015 11:39 PM, Simon Glass wrote: It is a common requirement to update some PMIC registers. Provide some simple convenience functions to do this. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/power/pmic/pmic-uclass.c

Re: [U-Boot] [PATCH v3 38/54] dm: power: Use debug() for errors in regulator uclass

2015-07-01 Thread Przemyslaw Marczak
Hello Simon, On 06/23/2015 11:39 PM, Simon Glass wrote: To reduce unnecessary code size in an uncommon code path, use debug() where possible(). The driver returns an error which indicates failure. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH v3 34/54] dm: power: Avoid case-insensitve match for child names

2015-07-01 Thread Przemyslaw Marczak
Hello, On 06/23/2015 11:38 PM, Simon Glass wrote: This is not user input (i.e. from the command line). It should be possible to get the case correct and avoid the case-insensitive match. This will help avoid sloppy device tree setups. Signed-off-by: Simon Glass s...@chromium.org --- Changes

Re: [U-Boot] [PATCH v3 35/54] dm: power: Add regulator flags to centralise auto-set logic

2015-07-01 Thread Przemyslaw Marczak
Hello Simon, On 06/23/2015 11:38 PM, Simon Glass wrote: Decide when the regulator is set up whether we want to auto-set the voltage or current. This avoids the complex logic spilling into the processing code. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2:

Re: [U-Boot] [PATCH v3 37/54] dm: power: Add a function to set up all regulators

2015-07-01 Thread Przemyslaw Marczak
Hello Simon, On 06/23/2015 11:38 PM, Simon Glass wrote: The device tree provides information about which regulators should be on at boot, or always on. Use this to set them up automatically. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None

[U-Boot] [PATCH] board/ls2085a: Increase kernel_size value in env variable

2015-07-01 Thread Prabhakar Kushwaha
Linux itb image size has been increased from 30MB. So updating kernel_size to 40MB in env variable. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- include/configs/ls2085a_common.h | 2 +- include/configs/ls2085aqds.h | 2 +- include/configs/ls2085ardb.h | 2 +- 3 files

Re: [U-Boot] [PATCH v6 1/5] dm: sf: Add Atmel DataFlash spi flash driver

2015-07-01 Thread Wang Haikun
On 7/1/2015 4:00 PM, Jagan Teki wrote: On 1 July 2015 at 07:27, Wang Haikun haikun.w...@freescale.com wrote: On 6/30/2015 7:24 PM, Jagan Teki wrote: Hi Haikun, On 30 June 2015 at 04:48, Simon Glass s...@chromium.org wrote: Hi, On 26 June 2015 at 05:30, Haikun Wang haikun.w...@freescale.com

Re: [U-Boot] Marvell Armada XP SATA support

2015-07-01 Thread Anton Schubert
Hi, I figured out my problem was just ATA security. After unlocking the code above works fine for MV78260. Thanks, Anton 2015-06-30 11:28 GMT+02:00 Anton Schubert anton.schub...@gmx.de: That should be it. Although it's probably a good idea to do this in cpu.c as you did with your a38x ahci

Re: [U-Boot] [PATCH] siemens,am33x: adjust mtd partition

2015-07-01 Thread Egli, Samuel
Hi Heiko, -Original Message- From: Heiko Schocher denx [mailto:h...@denx.de] Sent: Mittwoch, 1. Juli 2015 13:14 To: Egli, Samuel Cc: u-boot@lists.denx.de; tr...@konsulko.com; Meier, Roger Subject: Re: [PATCH] siemens,am33x: adjust mtd partition Hallo Samuel, Am 01.07.2015 um 11:04

[U-Boot] [PATCH] mtd: fix false positive Offset exceeds device limit error

2015-07-01 Thread Masahiro Yamada
Since commit 09c3280754f8 (mtd, nand: Move common functions from cmd_nand.c to common place), NAND commands would not work at all on large devices. = nand read 8000 1 1 NAND read: Offset exceeds device limit = nand erase 10 10 NAND erase: Offset exceeds

Re: [U-Boot] [PATCH 05/11] x86: Setup fixed range MTRRs for legacy regions

2015-07-01 Thread Simon Glass
Hi Bin, On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: We should setup fixed range MTRRs for some legacy regions like VGA nit: fixed-range RAM and PCI ROM areas as uncacheable. Note FSP may setup these to other cache settings, but we can override this in x86_cpu_init_f().

Re: [U-Boot] [PATCH 11/11] x86: Configure VESA parameters before loading Linux kernel

2015-07-01 Thread Simon Glass
On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: Store VESA parameters to Linux setup header so that vesafb driver in the kernel could work. Signed-off-by: Bin Meng bmeng...@gmail.com Tested-by: Jian Luo jian.l...@boschrexroth.de --- arch/x86/include/asm/zimage.h | 1 +

[U-Boot] [PATCH v2] siemens,am33x: adjust mtd partition

2015-07-01 Thread Samuel Egli
Use one mtd partition for rootfs and configuration by means of ubi volumes and get rid of configuration partition. We can use partition layout for both 256MB and 512MB flash. Signed-off-by: Samuel Egli samuel.e...@siemens.com Cc: Heiko Schocher h...@denx.de Cc: Roger Meier r.me...@siemens.com ---

Re: [U-Boot] [PATCH 12/22] musb: Update usb-compat to work with struct usb_device without a parent ptr

2015-07-01 Thread Hans de Goede
Hi, On 29-06-15 05:45, Simon Glass wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: When building with CONFIG_DM_USB=y struct usb_device does not have a parent pointer. This commit adds support to the musb code to deal with this. Signed-off-by: Hans de Goede

Re: [U-Boot] Marvell Armada XP SATA support

2015-07-01 Thread Anton Schubert
Hi Stefan, 2015-07-01 16:55 GMT+02:00 Stefan Roese s...@denx.de: Hi Anton, On 01.07.2015 15:41, Anton Schubert wrote: 2015-07-01 12:39 GMT+02:00 Stefan Roese s...@denx.de mailto:s...@denx.de: Hi Anton, On 01.07.2015 12:20, Anton Schubert wrote: I figured out my problem

[U-Boot] [PATCH v2 07/20] sf: Kconfig: Add SPI_FLASH_DATAFLASH entry

2015-07-01 Thread Jagan Teki
Added SPI_FLASH_DATAFLASH entry on Kconfig with help description. data flash driver comes with good decription, hence moved the same on to kconfig help decription. Signed-off-by: Jagan Teki jt...@openedev.com Reviewed-by: Simon Glass s...@chromium.org Cc: Haikun Wang haikun.w...@freescale.com

[U-Boot] [PATCH] MIPS: change 'extern inline' to 'static inline'

2015-07-01 Thread Daniel Schwierzeck
The kernel changed it a long time ago. Also this is now broken on gcc-5.x. Reported-by: Andy Kennedy andy.kenn...@adtran.com Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/include/asm/io.h | 12 ++-- arch/mips/include/asm/system.h | 6 +++--- 2 files

Re: [U-Boot] Marvell Armada XP SATA support

2015-07-01 Thread Stefan Roese
Hi Anton, On 01.07.2015 15:41, Anton Schubert wrote: 2015-07-01 12:39 GMT+02:00 Stefan Roese s...@denx.de mailto:s...@denx.de: Hi Anton, On 01.07.2015 12:20, Anton Schubert wrote: I figured out my problem was just ATA security. After unlocking the code above

Re: [U-Boot] [PATCH 06/11] x86: queensbay: Change CPU_ADDR_BITS to 32

2015-07-01 Thread Simon Glass
On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: Per CPUID:8008h result, the maximum physical address bits of TunnelCreek processor is 32 instead of default 36. This will fix the incorrect decoding of MTRR range mask. Signed-off-by: Bin Meng bmeng...@gmail.com ---

Re: [U-Boot] [PATCH 10/11] x86: crownbay: Enable graphics support

2015-07-01 Thread Simon Glass
Hi, On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: Enable graphics support on Intel Crown Bay board With the help of vgabios for Intel TunnelCreek IGD. Tested with an external LVDS panel connected to X4 connector and SDVO adapter connected to X9 connector on the board.

Re: [U-Boot] [PATCH 09/11] x86: Remove MARK_GRAPHICS_MEM_WRCOMB

2015-07-01 Thread Simon Glass
On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: MARK_GRAPHICS_MEM_WRCOMB is not referenced anywhere in the code, hence remove it. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/Kconfig | 8 board/google/chromebook_link/Kconfig | 1 -

Re: [U-Boot] [PATCH 07/11] x86: cmd_mtrr: Improve MTRR list information

2015-07-01 Thread Simon Glass
On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: Print the meaningful base address and mask of an MTRR range without showing the memory type encoding or valid bit. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/lib/cmd_mtrr.c | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [U-Boot] [PATCH 08/11] x86: Move VGA option rom macros to Kconfig

2015-07-01 Thread Simon Glass
Hi Bin, On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: Move X86_OPTION_ROM_FILE X86_OPTION_ROM_ADDR to arch/x86/Kconfig and rename them to VGA_BIOS_FILE VGA_BIOS_ADDR which depend on HAVE_VGA_BIOS. The new names are consistent with other x86 binary blob options like

Re: [U-Boot] [PATCH 03/11 v2] drivers/net/vsc9953: Add default configuration for VSC9953 L2 Switch

2015-07-01 Thread Joe Hershberger
Hi Codrin, On Wed, Jul 1, 2015 at 9:31 AM, Codrin Constantin Ciubotariu codrin.ciubota...@freescale.com wrote: Hi Joe, -Original Message- From: Joe Hershberger [mailto:joe.hershber...@gmail.com] Sent: Wednesday, July 01, 2015 1:26 AM To: Ciubotariu Codrin Constantin-B43658 Cc:

[U-Boot] [PATCH] stm32f4: fix gpio description in comment

2015-07-01 Thread Antonio Borneo
On STM32F429 gpio PC6/PC7 can be allocated for USART6, as reported in the comment. But current code in drivers/serial/serial_stm32.c uses a different gpio mapping (PG14/PG9) for USART6. Fix the comment to match current code in the driver. Signed-off-by: Antonio Borneo

Re: [U-Boot] Marvell Armada XP SATA support

2015-07-01 Thread Stefan Roese
Hi Anton, On 01.07.2015 17:09, Anton Schubert wrote: Additionally, what would you recommend for the MVEBU_SATA_BASE define as it would be ambiguous after the a38x patch. Why not just use the same name/macro? I think it would be a bit confusing with

Re: [U-Boot] [PATCH 04/11] video: Add 32-bit color depth support for VBE

2015-07-01 Thread Simon Glass
On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: From: Jian Luo jian.l...@boschrexroth.de The TunnelCreek IGD VBE reports 32-bit color depth regardless 24-bit color depth is configured. Since 24-bit mode already uses 4 bytes internally, it should be OK to just add this option in

Re: [U-Boot] [PATCH 01/11] video: vesa_fb: Look up VGA device by class instead of id

2015-07-01 Thread Simon Glass
On 1 July 2015 at 02:27, Bin Meng bmeng...@gmail.com wrote: Per PCI spec, VGA device reports its class as standard 03h in its configuration space, so we can use it to determine if we need run option rom instead of testing the supported vendor/device ids. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 02/11] x86: bios: Synchronize stack between real and protected mode

2015-07-01 Thread Simon Glass
Hi, On 1 July 2015 at 02:27, Bin Meng bmeng...@gmail.com wrote: From: Jian Luo jian.l...@boschrexroth.de PCI option rom may use different SS during its execution, so it is not safe to assume esp pointed to the same location in the protected mode. Signed-off-by: Jian Luo

Re: [U-Boot] [PATCH 03/11] x86: bios: Allow pci config read/write to host bridge in int1a_handler

2015-07-01 Thread Simon Glass
On 1 July 2015 at 02:28, Bin Meng bmeng...@gmail.com wrote: From: Jian Luo jian.l...@boschrexroth.de We should allow pci config read/write to host bridge (b.d.f = 0.0.0) in the int1a_handler() which is a valid pci device. Signed-off-by: Jian Luo jian.l...@boschrexroth.de Signed-off-by: Bin

Re: [U-Boot] [PATCH] net/designware: revert MAC-address setup on init

2015-07-01 Thread Joe Hershberger
Hi Alexey, On Wed, Jul 1, 2015 at 9:25 AM, Alexey Brodkin alexey.brod...@synopsys.com wrote: Hi Tom, Joe, On Wed, 2015-07-01 at 22:22 +0800, Bin Meng wrote: Hi Alexey, On Wed, Jul 1, 2015 at 9:59 PM, Alexey Brodkin alexey.brod...@synopsys.com wrote: http://git.denx.de/?p=u

Re: [U-Boot] GCC 5.x compile errors

2015-07-01 Thread Daniel Schwierzeck
Am 01.07.2015 um 07:53 schrieb Albert ARIBAUD: Hello ANDY, On Tue, 30 Jun 2015 22:02:38 +, ANDY KENNEDY andy.kenn...@adtran.com wrote: Attempted to build u-boot with gcc 5.x for mipsel 32. Result was that I get brokenness around arch/mips/include/asm/io.h and

Re: [U-Boot] [PATCH 00/11] x86: Support TunnelCreek integrated graphics device

2015-07-01 Thread Simon Glass
Hi, On 1 July 2015 at 02:27, Bin Meng bmeng...@gmail.com wrote: This series is a joint effort of Jian Luo jian.l...@boschrexroth.de and Bin to support Intel TunnelCreek integrated graphics device (IGD). It turns out that the bios emulator does not run the vbios correctly as there are

Re: [U-Boot] [PATCH] siemens,am33x: adjust mtd partition

2015-07-01 Thread Tom Rini
On Wed, Jul 01, 2015 at 11:04:38AM +0200, Samuel Egli wrote: Use one mtd partition for rootfs and configuration by means of ubi volumes and get rid of configuration partition. We can use partition layout for both 256MB and 512MB flash. Signed-off-by: Samuel Egli samuel.e...@siemens.com Cc:

[U-Boot] [PATCH] arm: mvebu: db-88f6820-gp: Add MAINTAINERS file

2015-07-01 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Luka Perkov luka.per...@sartura.hr Cc: Albert Aribaud albert.u.b...@aribaud.net --- board/Marvell/db-88f6820-gp/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 board/Marvell/db-88f6820-gp/MAINTAINERS diff --git

Re: [U-Boot] [PATCH] sunxi: Select a bunch of CONFIG_foo options from ARCH_SUNXI

2015-07-01 Thread Hans de Goede
Hi, On 30-06-15 22:46, Tom Rini wrote: On Tue, Jun 30, 2015 at 10:33:17PM +0200, Hans de Goede wrote: Select a bunch of CONFIG_foo options from ARCH_SUNXI, instead of having them set to y in every single sunxi defconfig. Signed-off-by: Hans de Goede hdego...@redhat.com Ug, sorry, I was

Re: [U-Boot] [PATCH v2] siemens,am33x: adjust mtd partition

2015-07-01 Thread Tom Rini
On Wed, Jul 01, 2015 at 05:57:39PM +0200, Samuel Egli wrote: Use one mtd partition for rootfs and configuration by means of ubi volumes and get rid of configuration partition. We can use partition layout for both 256MB and 512MB flash. Signed-off-by: Samuel Egli samuel.e...@siemens.com Cc:

Re: [U-Boot] [PATCH v2 0/4] musb device model support series

2015-07-01 Thread Simon Glass
Hi Hans, On 1 July 2015 at 12:52, Hans de Goede hdego...@redhat.com wrote: Hi Simon, Marek, Here is a series with just the patches which needed work after my v1 posting of this series. I've a rebased version of the entire series (some patches needed adjustment after the recent Kconfig /

[U-Boot] [PATCH] keystone2: switch to zImage boot on K2 devices

2015-07-01 Thread Vitaly Andrianov
This patch switch default boot mode to use bootz command instead of bootm as in OMAP devices. Also fix the address for fdt and kernel to a higher address to support this boot. Also fix the image name to remove the uImage/zImage prefix and evm.bin suffix. Fix name of skern image to skern-k2g.bin

[U-Boot] [PATCH] keystone2: Add support for bootz

2015-07-01 Thread Vitaly Andrianov
From: Lokesh Vutla lokeshvu...@ti.com Adding support for zImage loading. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Vitaly Andrianov vita...@ti.com --- include/configs/ks2_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ks2_evm.h

[U-Boot] [PATCH] board: baltos - add mainteiner information

2015-07-01 Thread Yegor Yefremov
Signed-off-by: Yegor Yefremov yegorsli...@googlemail.com --- board/vscom/baltos/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 board/vscom/baltos/MAINTAINERS diff --git a/board/vscom/baltos/MAINTAINERS b/board/vscom/baltos/MAINTAINERS new file mode 100644 index

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-01 Thread Albert ARIBAUD
On Thu, 16 Apr 2015 11:21:44 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Masahiro, Your patch clashes with Pavel's already committed break-if-private-libgcc-and-thumb, causing many boards to fail building. I am putting your patch in 'under review' state until I can have a

Re: [U-Boot] [PATCH] keystone2: switch to zImage boot on K2 devices

2015-07-01 Thread Tom Rini
On Wed, Jul 01, 2015 at 04:03:45PM -0400, Vitaly Andrianov wrote: This patch switch default boot mode to use bootz command instead of bootm as in OMAP devices. Also fix the address for fdt and kernel to a higher address to support this boot. Also fix the image name to remove the uImage/zImage

Re: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address)

2015-07-01 Thread Wolfgang Denk
Dear Albert, In message 20150701234229.705fe4ce@lilith you wrote: On Thu, 16 Apr 2015 11:21:44 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Masahiro, Your patch clashes with Pavel's already committed break-if-private-libgcc-and-thumb, causing many boards to fail

Re: [U-Boot] [PATCH] net/designware: revert MAC-address setup on init

2015-07-01 Thread Tom Rini
On Wed, Jul 01, 2015 at 10:26:21AM -0500, Joe Hershberger wrote: Hi Alexey, On Wed, Jul 1, 2015 at 9:25 AM, Alexey Brodkin alexey.brod...@synopsys.com wrote: Hi Tom, Joe, On Wed, 2015-07-01 at 22:22 +0800, Bin Meng wrote: Hi Alexey, On Wed, Jul 1, 2015 at 9:59 PM, Alexey Brodkin

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

2015-07-01 Thread Tom Rini
On Wed, Jul 01, 2015 at 11:03:26PM +0530, Jagan Teki wrote: Hi Tom, Please pull these series for Kconfig/defconfig updates for spi/sf subsystems. thanks! Jagan. The following changes since commit 8ee81b7f9b675cb675119a998b04ca843d24ddcd: mtd, spi: Check if flash pointer is used

  1   2   >