Re: [U-Boot] [PATCH 15/17] sunxi: Ippo_q8h defconfigs: Enable the LCD panel found on these tablets.

2015-01-01 Thread Hans de Goede
Hi, On 01-01-15 03:35, Chen-Yu Tsai wrote: Hi Hans, On Wed, Dec 31, 2014 at 7:22 PM, Hans de Goede wrote: I also compared the config settings from your patches with the automatically generated records and noticed some inconsistencies. For example, Ippo_q8h_v1_2_defconfig : === A part of

Re: [U-Boot] please pull u-boot-samsung master

2015-01-01 Thread Tom Rini
On Tue, Dec 30, 2014 at 06:19:43PM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit d8bec60c1b0de7770f9b56ad092ab9be801d99af: > > ARM: UniPhier: enable CONFIG_CMD_DM (2014-12-18 23:34:30 +0900) > > are available in the git repository at: > > http://git.denx.de/u

Re: [U-Boot] Pull request: u-boot-uniphier

2015-01-01 Thread Tom Rini
On Tue, Dec 30, 2014 at 09:20:43PM +0900, Masahiro YAMADA wrote: > The following changes since commit 125738e819a3b9d15210794b3dcef9f4d9bcf866: > > Prepare v2015.01-rc4 (2014-12-29 21:22:38 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-uniphier.git master >

Re: [U-Boot] [PULL] Please pull u-boot-imx

2015-01-01 Thread Tom Rini
On Tue, Dec 30, 2014 at 05:55:37PM +0100, Stefano Babic wrote: > Hi Tom, > > some minor fixes from i.MX side - please pull from u-boot-imx, thanks ! > > The following changes since commit 125738e819a3b9d15210794b3dcef9f4d9bcf866: > > Prepare v2015.01-rc4 (2014-12-29 21:22:38 -0500) > > are a

Re: [U-Boot] [PULL] u-boot-socfpga/master

2015-01-01 Thread Tom Rini
On Tue, Dec 30, 2014 at 10:32:44PM +0100, Marek Vasut wrote: > The following changes since commit d8bec60c1b0de7770f9b56ad092ab9be801d99af: > > ARM: UniPhier: enable CONFIG_CMD_DM (2014-12-18 23:34:30 +0900) > > are available in the git repository at: > > git://git.denx.de/u-boot-socfpga.gi

Re: [U-Boot] [PULL] u-boot-usb/master

2015-01-01 Thread Tom Rini
On Wed, Dec 31, 2014 at 08:01:50PM +0100, Marek Vasut wrote: > Looks like there're still two dangling patches, so let's make Rene happy > and apply them please. > > Thanks! > > The following changes since commit 125738e819a3b9d15210794b3dcef9f4d9bcf866: > > Prepare v2015.01-rc4 (2014-12-29 21

[U-Boot] (resending) Please pull u-boot-tegra.git/master

2015-01-01 Thread Simon Glass
Hi, This one got lost in another thread and the pull request did not appear in patchwork, so I'm resending it copied from Tom's email...it should be applied to mainline. http://patchwork.ozlabs.org/patch/419415/ Please pull u-boot-tegra.git/master into ARM master. ./MAKEALL -s tegra is clean.

Re: [U-Boot] [PATCH 15/17] sunxi: Ippo_q8h defconfigs: Enable the LCD panel found on these tablets.

2015-01-01 Thread Siarhei Siamashka
On Wed, 31 Dec 2014 12:22:17 +0100 Hans de Goede wrote: > On 30-12-14 13:17, Siarhei Siamashka wrote: > > On Tue, 30 Dec 2014 11:26:51 +0100 > > Hans de Goede wrote: > > > >> Currently basically only lcd_if = 0 and lcd_frm = 1 are supported, it > >> should be possible to add support for other lc

Re: [U-Boot] [PATCH 15/17] sunxi: Ippo_q8h defconfigs: Enable the LCD panel found on these tablets.

2015-01-01 Thread Hans de Goede
Hi, On 01-01-15 21:03, Siarhei Siamashka wrote: On Wed, 31 Dec 2014 12:22:17 +0100 Hans de Goede wrote: On 30-12-14 13:17, Siarhei Siamashka wrote: On Tue, 30 Dec 2014 11:26:51 +0100 Hans de Goede wrote: Currently basically only lcd_if = 0 and lcd_frm = 1 are supported, it should be possi

Re: [U-Boot] [PATCH v2 1/2] sunxi: video: Add lcd output support

2015-01-01 Thread Siarhei Siamashka
On Wed, 31 Dec 2014 13:07:20 +0100 Hans de Goede wrote: > Add lcd output support, see the new Kconfig entries and doc/README.video for > how to enable / configure this. > > Signed-off-by: Hans de Goede > --- > Changes in v2: > -Do not request backlight gpio twices > -Fix some spelling errors in

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

2015-01-01 Thread Jagannadha Sutradharudu Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit babe6994ca28e5a354ee32b33b7a54b0276d9df1: sf: sf_params: Add S25FL164K flash identifier info (2014-12-18 18:48:30 +0530) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you

Re: [U-Boot] [PATCH 15/17] sunxi: Ippo_q8h defconfigs: Enable the LCD panel found on these tablets.

2015-01-01 Thread Siarhei Siamashka
On Thu, 01 Jan 2015 21:15:58 +0100 Hans de Goede wrote: > Hi, > > On 01-01-15 21:03, Siarhei Siamashka wrote: > > On Wed, 31 Dec 2014 12:22:17 +0100 > > Hans de Goede wrote: > > > >> On 30-12-14 13:17, Siarhei Siamashka wrote: > >>> On Tue, 30 Dec 2014 11:26:51 +0100 > >>> Hans de Goede wrote:

Re: [U-Boot] [PATCH 16/22] x86: board_f: Adjust x86 boot order for performance

2015-01-01 Thread Simon Glass
Hi Bin, On 30 December 2014 at 22:51, Bin Meng wrote: > > Hi Simon, > > On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: > > For bare platforms we turn off ROM-caching before calling board_init_f_r() > > It is then very slow to copy U-Boot from ROM to RAM. So adjust the order so > > that the

Re: [U-Boot] [PATCH 20/22] x86: Disable CAR before relocation on platforms that need it

2015-01-01 Thread Simon Glass
Hi Bin, On 30 December 2014 at 23:21, Bin Meng wrote: > Hi Simon, > > On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: >> For platforms with CAR we should disable it before relocation. Check if >> this function is available and call it if so. >> >> Signed-off-by: Simon Glass >> --- >> >> a

Re: [U-Boot] [PATCH 21/22] x86: ivybridge: Update microcode early in boot

2015-01-01 Thread Simon Glass
Hi Bin, On 30 December 2014 at 23:45, Bin Meng wrote: > Hi Simon, > > On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: >> At present the normal update (which happens much later) does not work. This >> seems to have something to do with the 'no eviction' mode in the CAR, or at >> least movin

[U-Boot] [PATCH v2 0/22] x86: Add support for MTRRs

2015-01-01 Thread Simon Glass
One of the four items left to fix up for bare ivybridge support in U-Boot is MTRRs. These are an important part of the x86 platform since they provide a means to control the cache behaviour for areas of memory. Memory areas can be marked as uncacheable or cacheable. For cacheable the write behavio

[U-Boot] [PATCH v2 01/22] x86: Correct XIP_ROM_SIZE

2015-01-01 Thread Simon Glass
This should default to the size of the ROM for faster execution before relocation. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ebf72b3..7d007bb 100644 --- a/arc

[U-Boot] [PATCH v2 10/22] x86: Use cache, don't clear the display in video BIOS

2015-01-01 Thread Simon Glass
There is no need to run with the cache disabled, and there is no point in clearing the display frame buffer since U-Boot does it later. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/lib/bios.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/lib/b

[U-Boot] [PATCH v2 03/22] x86: Correct ifdtool microcode calculation

2015-01-01 Thread Simon Glass
This currently assumes that U-Boot resides at the start of ROM. Update it to remove this assumption. Signed-off-by: Simon Glass Tested-by: Bin Meng --- Changes in v2: None tools/ifdtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ifdtool.c b/tools/ifdtool.c

[U-Boot] [PATCH v2 02/22] x86: Drop RAMTOP Kconfig

2015-01-01 Thread Simon Glass
We don't need this in U-Boot since we calculate it based on available memory. Signed-off-by: Simon Glass --- Changes in v2: - Remove CONFIG_RAMTOP from mtrr.h in this patch arch/x86/Kconfig| 4 arch/x86/include/asm/mtrr.h | 8 2 files changed, 12 deletions(-) diff --

[U-Boot] [PATCH v2 09/22] x86: ivybridge: Only run the Video BIOS when video is enabled

2015-01-01 Thread Simon Glass
This takes about about 700ms on link when running natively and 900ms when running using the emulator. It is a waste of time if video is not enabled, so don't bother running the video BIOS in that case. We could add a command to run the video BIOS later when needed, but this is not considered at pr

[U-Boot] [PATCH v2 12/22] x86: pci: Display vesa modes in hex

2015-01-01 Thread Simon Glass
The hex value is more commonly understood, so use that instead of decimal. Add a 0x prefix to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/pci/pci_rom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci

[U-Boot] [PATCH v2 18/22] x86: Commit the current MTRRs before relocation

2015-01-01 Thread Simon Glass
Once we stop running from ROM we should set up the MTTRs to speed up execution. This is only needed for platforms that don't have an FSP. Also in the Coreboot case, the MTRRs are set up for us. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/lib/init_helpers.c | 8 1 file

[U-Boot] [PATCH v2 20/22] x86: Disable CAR before relocation on platforms that need it

2015-01-01 Thread Simon Glass
For platforms with CAR we should disable it before relocation. Check if this function is available and call it if so. Signed-off-by: Simon Glass --- Changes in v2: - Use a simple call instruction to call car_uninit arch/x86/cpu/start.S | 9 + 1 file changed, 9 insertions(+) diff --git

[U-Boot] [PATCH v2 16/22] x86: board_f: Adjust x86 boot order for performance

2015-01-01 Thread Simon Glass
For bare platforms we turn off ROM-caching before calling board_init_f_r() It is then very slow to copy U-Boot from ROM to RAM. So adjust the order so that the copying happens before we turn off ROM-caching. Signed-off-by: Simon Glass --- Changes in v2: None common/board_f.c | 8 +--- 1 fi

[U-Boot] [PATCH v2 06/22] x86: video: Add a debug() to display the frame buffer address

2015-01-01 Thread Simon Glass
Provide a way to display this address when booting. Signed-off-by: Simon Glass --- Changes in v2: None drivers/video/x86_fb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/x86_fb.c b/drivers/video/x86_fb.c index 8743a8c..6641033 100644 --- a/drivers/video/x86_fb.c +++ b/dri

[U-Boot] [PATCH v2 19/22] x86: ivybridge: Add a way to turn off the CAR

2015-01-01 Thread Simon Glass
Cache-as-RAM should be turned off when we relocate since we want to run from RAM. Add a function to perform this task. Signed-off-by: Simon Glass --- Changes in v2: - Remove unused Lhlt code - Use a simple 'ret' instruction to return arch/x86/cpu/ivybridge/car.S | 46 ++

[U-Boot] [PATCH v2 11/22] x86: Tidy up VESA mode numbers

2015-01-01 Thread Simon Glass
There are some bits which should be ignored when displaying the mode number. Make sure that they are not included in the mode that is displayed. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/lib/bios.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH v2 17/22] x86: ivybridge: Request MTRRs for DRAM regions

2015-01-01 Thread Simon Glass
We should use MTRRs to speed up execution. Add a list of MTRR requests which will dealt with when we relocate and run from RAM. We set RAM as cacheable (with write-back) and registers as non-cacheable. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/cpu/ivybridge/sdram.c | 10

[U-Boot] [PATCH v2 05/22] x86: config: Always scroll the display by 5 lines, for speed

2015-01-01 Thread Simon Glass
Scrolling a line at a time is very slow for reasons that I don't understand. It seems to take about 100ms to copy 4MB of RAM in the frame buffer. To cope with this, scroll 5 lines each time. Signed-off-by: Simon Glass --- Changes in v2: None include/configs/x86-common.h | 1 + 1 file changed,

[U-Boot] [PATCH v2 08/22] x86: video: Add debug option to time the BIOS copy

2015-01-01 Thread Simon Glass
This can be very slow - typically 80ms even on a fast machine since it uses the SPI flash to read the data. Add an option to display the time taken. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/pci/pci_rom.c | 3 +++ 1 file changed, 3 insertions(+) diff --

[U-Boot] [PATCH v2 04/22] x86: video: Add support for CONFIG_CONSOLE_SCROLL_LINES

2015-01-01 Thread Simon Glass
Some machines are very slow to scroll their displays. To cope with this, support the CONFIG_CONSOLE_SCROLL_LINES option. Setting this to 5 allows the display to operate at an acceptable speed by scrolling 5 lines at a time. This same option is available for LCDs so when these systems are unified t

[U-Boot] [PATCH v2 21/22] x86: ivybridge: Update microcode early in boot

2015-01-01 Thread Simon Glass
At present the normal update (which happens much later) does not work. This seems to have something to do with the 'no eviction' mode in the CAR, or at least moving the microcode update after that causes it not to work. For now, do an update early on so that it definitely works. Also refuse to con

[U-Boot] [PATCH v2 13/22] x86: ivybridge: Drop support for ROM caching

2015-01-01 Thread Simon Glass
This is set up along with CAR (Cache-as-RAM) anyway. When we relocate we don't really need ROM caching (we read the VGA BIOS from ROM but that is about it) Drop it. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/cpu/ivybridge/cpu.c | 25 - 1 file changed,

[U-Boot] [PATCH v2 22/22] x86: Add an 'mtrr' command to list and adjust MTRRs

2015-01-01 Thread Simon Glass
It is useful to be able to see the MTRR setup in U-Boot. Add a command to list the state of the variable MTRR registers and allow them to be changed. Update the documentation to list some of the available commands. This does not support fixed MTRRs as yet. Signed-off-by: Simon Glass --- Change

[U-Boot] [PATCH v2 07/22] x86: pci: Don't return a vesa mode when there is not video

2015-01-01 Thread Simon Glass
If the video has not been set up, we should not return a success code. This can be detected by seeing if any of the variables are non-zero. Signed-off-by: Simon Glass --- Changes in v2: None drivers/pci/pci_rom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/p

[U-Boot] [PATCH v2 14/22] x86: Add support for MTRRs

2015-01-01 Thread Simon Glass
Memory Type Range Registers are used to tell the CPU whether memory is cacheable and if so the cache write mode to use. Clean up the existing header file to follow style, and remove the unneeded code. These can speed up booting so should be supported. Add these to global_data so they can be reque

[U-Boot] [PATCH v2 15/22] x86: ivybridge: Set up an MTRR for the video frame buffer

2015-01-01 Thread Simon Glass
Set the frame buffer to write-combining. This makes it faster, although for scrolling write-through is even faster for U-Boot. Signed-off-by: Simon Glass --- Changes in v2: - Remove definition of 'ulong start' from this patch arch/x86/cpu/ivybridge/gma.c | 7 +++ 1 file changed, 7 insertio

[U-Boot] [PATCH 0/2] Make devkit8000 inherit ti_omap3_common config

2015-01-01 Thread Anthoine Bourgeois
This serie switch incrementally from a standalone devkit8000.h configuration file to an updated one that inherit armv7 and omap3 commons configurations. The second patch that switch to omap3 benefits from driver model update. Anthoine Bourgeois (2): arm: omap3: devkit8000: inherit from ti_armv7_

[U-Boot] [PATCH 2/2] arm: omap3: devkit8000: inherit from ti_omap3_common.h

2015-01-01 Thread Anthoine Bourgeois
Signed-off-by: Anthoine Bourgeois --- board/timll/devkit8000/devkit8000.c | 13 +++ include/configs/devkit8000.h| 45 +++-- 2 files changed, 16 insertions(+), 42 deletions(-) diff --git a/board/timll/devkit8000/devkit8000.c b/board/timll/devkit800

[U-Boot] [PATCH 1/2] arm: omap3: devkit8000: inherit from ti_armv7_common.h

2015-01-01 Thread Anthoine Bourgeois
--- include/configs/devkit8000.h | 133 --- 1 file changed, 36 insertions(+), 97 deletions(-) diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index 930b08e..182a137 100644 --- a/include/configs/devkit8000.h +++ b/include/configs/dev

Re: [U-Boot] [PATCH 01/12] arm: socfpga: Minor coding style fix

2015-01-01 Thread Pavel Machek
On Wed 2014-12-31 20:14:49, Marek Vasut wrote: > Replace multiple spaces with a single tab. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen Acked-by: Pavel Machek > +#define CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH (764) > +#define CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH (1719

Re: [U-Boot] [PATCH 02/12] arm: socfpga: Sync Cyclone V DK pinmux configuration

2015-01-01 Thread Pavel Machek
On Wed 2014-12-31 20:14:50, Marek Vasut wrote: > Sync SoCFPGA Cyclone V development kit pinmux configuration with > Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Pavel Machek > Cc: Stefan Roese >

Re: [U-Boot] [PATCH v4] sun6i: Add basic axp221 driver

2015-01-01 Thread Siarhei Siamashka
On Mon, 10 Nov 2014 14:11:51 +0100 Hans de Goede wrote: > From: Oliver Schinagl > > The A31 uses the AXP221 pmic for various voltages. > > Signed-off-by: Oliver Schinagl > Signed-off-by: Hans de Goede > -- > Changes in v2: > -Rebase > Changes in v3: > -Add support for all dldo and aldo-s > -

Re: [U-Boot] [PATCH 04/12] arm: socfpga: Add USB and UDC support for Cyclone V DK

2015-01-01 Thread Pavel Machek
On Wed 2014-12-31 20:14:52, Marek Vasut wrote: > Add support for USB host mode and USB device mode for the > Cyclone V development kit and enable support for UMS (to > export SD card as USB mass storage). The UMS is activated > via 'ums 0 mmc 0' command, the system must be connected to > a host PC

Re: [U-Boot] [PATCH 03/12] arm: socfpga: Sync Cyclone V DK PLL configuration

2015-01-01 Thread Pavel Machek
On Wed 2014-12-31 20:14:51, Marek Vasut wrote: > Sync SoCFPGA Cyclone V development kit pinmux configuration with > Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). > > NOTE: This change is useless until we get proper SPL support, at > which point this will likely need fur

Re: [U-Boot] [PATCH 05/12] arm: socfpga: Drop cyclone5 suffix from board file name

2015-01-01 Thread Pavel Machek
On Wed 2014-12-31 20:14:53, Marek Vasut wrote: > Drop the _cyclone5 suffix from socfpga_cyclone5.c since this file > will contain Arria 5 support as well. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pa