Re: [U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-17 Thread Jagan Teki
On 18 June 2015 at 07:50, Wang Haikun wrote: > On 6/17/2015 8:30 PM, Simon Glass wrote: >> Hi, >> >> On 17 June 2015 at 03:36, Bin Meng wrote: >>> Hi Haikun, >>> >>> On Mon, May 18, 2015 at 9:25 PM, Haikun Wang >>> wrote: From: Haikun Wang Enable Driver Model SPI for ls1021atwr

Re: [U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-17 Thread Wang Haikun
On 6/17/2015 8:30 PM, Simon Glass wrote: > Hi, > > On 17 June 2015 at 03:36, Bin Meng wrote: >> Hi Haikun, >> >> On Mon, May 18, 2015 at 9:25 PM, Haikun Wang >> wrote: >>> From: Haikun Wang >>> >>> Enable Driver Model SPI for ls1021atwr board. >>> DSPI and QSPI only be enabled when boot from QS

Re: [U-Boot] [PATCH] Fix default env includes to fix sandbox build

2015-06-17 Thread Masahiro Yamada
Hi Peter, The subject "Fix default env includes to fix sandbox build" sounds confusing to me. I can currently build sandbox because tools/env is not built by default. We hit this problem when we do "make env" or "make tools-all". 2015-06-18 0:58 GMT+09:00 Peter Robinson : > defconfig and sa

Re: [U-Boot] [PATCH 3/4] ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver

2015-06-17 Thread Stephen Warren
On 06/17/2015 04:44 AM, Marek Vasut wrote: > On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote: >> On 05/04/2015 02:54 PM, Marek Vasut wrote: >>> The get_timer_us() function is something which is no longer >>> existing in case we use generic timer framework, so replace >>> it with get_

Re: [U-Boot] Very slow fatload on bcm2835

2015-06-17 Thread Stephen Warren
On 06/17/2015 04:43 AM, Marek Vasut wrote: > On Tuesday, June 16, 2015 at 11:19:11 AM, Michal Marek wrote: >> On 2015-06-16 06:01, Stephen Warren wrote: >>> On 06/11/2015 12:35 PM, Jakub Kicinski wrote: Hello! > > Hi/Ahoj :) > I'm using latest git source of U-Boot on Raspberry Pi Comput

Re: [U-Boot] [PATCH 0/4] Tegra210 support for P2571

2015-06-17 Thread Tom Warren
Yes, it's a 32-bit T210 U-Boot. T210 supports both AARCH32 and AARCH64. A 64-bit build will follow, but I haven't figured out how to meld the 32-bit AVP SPL portion/build with the 64-bit CPU portion/build in one clean build command, so I'm building them separately and then fusing them together

Re: [U-Boot] [PATCH 0/4] Tegra210 support for P2571

2015-06-17 Thread Stephen Warren
On 06/03/2015 02:35 PM, Tom Warren wrote: Adds support for Tegra210 SoC and P2571 NVIDIA board. Largely based on T124/Venice2. This is a baseline patchset - more will follow to make things more T210- specific as P2571 peripherals/devices are brought up. Does this add support for a 32-bit or a 6

[U-Boot] [PATCH 20/22] sunxi: musb: Use device-model for musb host mode

2015-06-17 Thread Hans de Goede
Modify the sunxi musb glue to use the device-model for musb host mode. This allows using musb in host mode together with other host drivers such as ehci / ohci, which is esp. useful on boards which use the musb controller in host-only mode, these boards have e.g. an usb-a receptacle or an usb to s

[U-Boot] [PATCH 22/22] sunxi: ga10h: Enable both otg and regular usb host controllers

2015-06-17 Thread Hans de Goede
This allows using devices plugged into both ports of the tablet. Signed-off-by: Hans de Goede --- arch/arm/dts/sun8i-a23-a33.dtsi | 18 ++ arch/arm/dts/sun8i-a33-ga10h-v1.1.dts | 8 configs/ga10h_v1_1_defconfig | 2 ++ 3 files changed, 28 insertions(+)

[U-Boot] [PATCH 19/22] sunxi: musb: Move musb config and platdata to the sunxi-musb glue

2015-06-17 Thread Hans de Goede
Move the musb config and platdata to the sunxi-musb glue, which is where it really belongs. This is preparation patch for adding device-model support for the sunxi-musb-host code. Signed-off-by: Hans de Goede --- arch/arm/include/asm/arch-sunxi/usb_phy.h | 7 +++ board/sunxi/board.c

[U-Boot] [PATCH 21/22] sunxi: Kconfig: Enable CONFIG_USB and friends by default on sunxi

2015-06-17 Thread Hans de Goede
Start using the new Kconfig options which are available for most of the USB settings now. This also allows us to use "CONFIG_USB_EHCI_HCD=y" in defconfig files for new boards instead of CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI". Signed-off-by: Hans de Goede --- board/sunxi/Kconfig| 9

[U-Boot] [PATCH 17/22] sunxi: musb: Move vbus check to sunxi_musb_enable

2015-06-17 Thread Hans de Goede
This way it can be re-checked on "usb reset". Signed-off-by: Hans de Goede --- drivers/usb/musb-new/sunxi.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c index c123d61..ee018c7 100644 --- a/dri

[U-Boot] [PATCH 16/22] sunxi: usb-phy: Add support for reading otg id pin value

2015-06-17 Thread Hans de Goede
Add support for reading the id pin value of the otg connector to the usb phy code. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/usb_phy.c| 34 +++ arch/arm/include/asm/arch-sunxi/usb_phy.h | 1 + board/sunxi/Kconfig | 7 +++

[U-Boot] [PATCH 15/22] musb: Add device-model support to the musb-host u-boot glue

2015-06-17 Thread Hans de Goede
Add device-model support to the musb-host u-boot glue, note this only adds device-model support to the musb-core glue code, it does not add support for device-model to any of the SoC specific musb glue code. Signed-off-by: Hans de Goede --- drivers/usb/musb-new/musb_uboot.c | 70

[U-Boot] [PATCH 18/22] sunxi: musb: Add id pin support

2015-06-17 Thread Hans de Goede
When in host mode check if there is a host cable inserted into the otg port by checking the id pin. If there is no host cable return an error to make usb_lowlevel_init() exit early, rather then waiting for 1 second for a device which will never show up. Signed-off-by: Hans de Goede --- configs/I

[U-Boot] [PATCH 14/22] musb: Add musb_host_data struct to hold global data

2015-06-17 Thread Hans de Goede
Add a musb_host_data struct to hold all the global data host related musb data. This is a preparation patch for adding device-model support. Signed-off-by: Hans de Goede --- drivers/usb/musb-new/musb_uboot.c | 107 +++--- drivers/usb/musb-new/musb_uboot.h | 24 ++

[U-Boot] [PATCH 09/22] dm: usb: Allow usb host drivers to implement usb_reset_root_port

2015-06-17 Thread Hans de Goede
Allow usb uclass host drivers to implement usb_reset_root_port, this is used by single port usb hosts which do not emulate a hub, such as otg controllers. Signed-off-by: Hans de Goede --- drivers/usb/host/usb-uclass.c | 16 +++- include/usb.h | 5 + 2 files chang

[U-Boot] [PATCH 13/22] musb: Rename and wrap public functions

2015-06-17 Thread Hans de Goede
Rename and wrap the usb host API public functions, this is a preparation patch for adding device-model support. Signed-off-by: Hans de Goede --- drivers/usb/musb-new/musb_uboot.c | 70 +-- 1 file changed, 59 insertions(+), 11 deletions(-) diff --git a/drivers

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

2015-06-17 Thread Hans de Goede
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 --- drivers/usb/musb-new/musb_host.c | 4 +++ drivers/usb/musb-new/musb_uboot.c | 2 +- drivers/usb/musb-new/usb-compa

[U-Boot] [PATCH 10/22] dm: usb: Do not assume that first child is always a hub

2015-06-17 Thread Hans de Goede
On some single port (otg) controllers there is no emulated root hub, so the first child (if any) may be one of: UCLASS_MASS_STORAGE, UCLASS_USB_DEV_GENERIC or UCLASS_USB_HUB. All three of these (and in the future others) are suitable for our purposes, remove the check for the device being a hub, a

[U-Boot] [PATCH 11/22] musb: Allow musb_platform_enable to return an error code

2015-06-17 Thread Hans de Goede
Allow musb_platform_enable to return an error code and propagate it up to usb_lowlevel_init(). This allows moving the checks for an external vbus being present to be moved from platform_init to platform_enable, so that the user can unplug a charger, plug in a host adapter with a usb-device, do a "

[U-Boot] [PATCH 08/22] dm: usb: Use device_chld_remove and _unbind to clean up usb devs on stop

2015-06-17 Thread Hans de Goede
On an usb stop instead of leaving orphan usb devices behind simply remove them. This requires CONFIG_DM_DEVICE_REMOVE to be set, so only build usb_stop() when that is set. 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

[U-Boot] [PATCH 07/22] dm: usb: Fix "usb tree" output

2015-06-17 Thread Hans de Goede
last_child was abused by the old usb code to first store 1 if the usb_device was not the root of the usb tree, and then later on re-used to store whether or not the usb_device is actually the last child. The dm-usb code was always setting it to actually reflect the last-child status which is wrong

[U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset

2015-06-17 Thread Hans de Goede
Pass the usb_device instead of the portnr to usb_legacy_port_reset and rename it to usb_hub_port_reset as there is nothing legacy about it. Signed-off-by: Hans de Goede --- common/usb.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/usb.c b/common/usb.c index

[U-Boot] [PATCH 05/22] usb: Add an usb_device parameter to usb_reset_root_port

2015-06-17 Thread Hans de Goede
Add an usb_device parameter to usb_reset_root_port so that it knows which root-port it is resetting. This is necessary for proper device-model support for usb_reset_root_port. Also remove a duplicate declaration of usb_reset_root_port() from usb.h . Signed-off-by: Hans de Goede --- common/usb.c

[U-Boot] [PATCH 06/22] dm: Export device_chld_remove / device_chld_unbind

2015-06-17 Thread Hans de Goede
These functions are useful to remove all children from an usb bus before rescanning the bus. Signed-off-by: Hans de Goede --- drivers/core/device-remove.c | 18 ++ include/dm/device-internal.h | 26 ++ 2 files changed, 28 insertions(+), 16 deletions(-) di

[U-Boot] [PATCH 00/22] Convert musb host mode code to the device-model

2015-06-17 Thread Hans de Goede
Hi Marek and Simon, This series started out with the idea that it would be a nice small project for the weekend, but it turned out to be a bit more work... The main purpose of this series is to convert the musb host mode code to the device-model this has also resulted in various usb fixes / clean

[U-Boot] [PATCH 03/22] usb: usb_setup_device: Drop unneeded portnr function argument

2015-06-17 Thread Hans de Goede
Drop the unneeded portnr function argument, the portnr is part of the usb_device struct which is passed via the dev argument. Signed-off-by: Hans de Goede --- common/usb.c | 10 +- drivers/usb/host/usb-uclass.c | 2 +- include/usb.h | 6 +++--- 3 files

[U-Boot] [PATCH 02/22] usb: Drop device-model specific copy of usb_legacy_port_reset

2015-06-17 Thread Hans de Goede
The device-model usb_legacy_port_reset function calls the device-model usb_port_reset function which is a 1 on 1 copy of the non dm usb_legacy_port_reset and this is the only use of usb_port_reset in all of u-boot. Drop both, and alway use the usb_legacy_port_reset() version in common/usb.c . Als

[U-Boot] [PATCH 01/22] usb: Always declare usb function prototypes

2015-06-17 Thread Hans de Goede
There is no harm in declaring the function prototypes even if nothing implements them, and when CONFIG_DM_USB=y the various usb functions are available regardless of any controller drivers being enabled. This fixes compile warnings due to missing prototypes on ARCHs where the ARCH Kconfig always e

Re: [U-Boot] [PATCH v2] Initial support for ACPI Tables for qemu-x86 target.

2015-06-17 Thread Saket Sinha
Hi Bin, On Wed, Jun 17, 2015 at 6:29 PM, Bin Meng wrote: > +Simon > > Hi Saket, > > Since you just sent the patch to U-Boot mailing list for the first > time, this is officially the v1 patch that is visible to the mailing > list, although we know you sent us the 'v1' patch offline before. > Plea

Re: [U-Boot] [PATCH] gpio: mxc_gpio: enable DM gpio before relocation

2015-06-17 Thread Simon Glass
Hi Markus, On 17 June 2015 at 11:12, Markus Niebel wrote: > Am 17.06.2015 um 17:04 schrieb Simon Glass: >> Hi Markus, >> >> On 17 June 2015 at 00:18, Markus Niebel wrote: >>> >>> Hello Simon, >>> >>> Am 16.06.2015 um 23:44 schrieb Simon Glass: Hi Markus, On 16 June 2015 at 01:08,

Re: [U-Boot] [PATCH] gpio: mxc_gpio: enable DM gpio before relocation

2015-06-17 Thread Markus Niebel
Am 17.06.2015 um 17:04 schrieb Simon Glass: > Hi Markus, > > On 17 June 2015 at 00:18, Markus Niebel wrote: >> >> Hello Simon, >> >> Am 16.06.2015 um 23:44 schrieb Simon Glass: >>> Hi Markus, >>> >>> On 16 June 2015 at 01:08, Markus Niebel wrote: From: Markus Niebel gpio often ar

Re: [U-Boot] [PATCH] keystone2: use detected ddr3a size

2015-06-17 Thread Vitaly Andrianov
On 06/15/2015 12:56 PM, York Sun wrote: On 06/15/2015 09:42 AM, Vitaly Andrianov wrote: On 06/15/2015 10:17 AM, Tom Rini wrote: On Mon, Jun 15, 2015 at 08:48:01AM -0400, Vitaly Andrianov wrote: KS2 u-boot detects the ddr3a size installed to EVM. The detected size can be used instead of

Re: [U-Boot] [PATCH 3/4] ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver

2015-06-17 Thread Jakub Kiciński
On Wed, 17 Jun 2015 12:44:15 +0200, Marek Vasut wrote: > On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote: > > On 05/04/2015 02:54 PM, Marek Vasut wrote: > > > The get_timer_us() function is something which is no longer > > > existing in case we use generic timer framework, so replace

Re: [U-Boot] [PATCH] If CONFIG_SANDBOX isn't defined the build fails in fw_env.c

2015-06-17 Thread Peter Robinson
Hi Simon, >>> On 15 June 2015 at 13:40, Peter Robinson wrote: In our Fedora builds we get the below errors if we build the following using a vanilla u-boot 2015.07rc2. I'm not sure if it's the best fix but it fixes the build for rc2. make HOSTCC="gcc $RPM_OPT_FLAGS"

[U-Boot] [PATCH] Fix default env includes to fix sandbox build

2015-06-17 Thread Peter Robinson
defconfig and sandbox fails to build due to a with with the following error: error: expected '}' before 'BOOT_TARGET_DEVICES_references_HOST_without_CONFIG_SANDBOX' CONFIG_EXTRA_ENV_SETTINGS Based on the responaes below to the thread add linux/kconfig.h higher in th includes and drop the now

Re: [U-Boot] [PATCH] If CONFIG_SANDBOX isn't defined the build fails in fw_env.c

2015-06-17 Thread Peter Robinson
Hi Simon, > On 17 June 2015 at 05:29, Masahiro Yamada > wrote: >> Hi. >> >> >> 2015-06-17 3:24 GMT+09:00 Simon Glass : >>> Hi Peter, >>> >>> On 15 June 2015 at 13:40, Peter Robinson wrote: In our Fedora builds we get the below errors if we build the following using a vanilla u-b

Re: [U-Boot] [PATCH v4 1/6] dm: cpu: Add a new get_count method to cpu uclass

2015-06-17 Thread Simon Glass
On 16 June 2015 at 21:15, Bin Meng wrote: > Introduce a new method 'get_count' in the UCLASS_CPU ops to get > the number of CPUs in the system. > > Signed-off-by: Bin Meng > > --- > > Changes in v4: > - Remove parameter 'count' from cpu_get_count() > > Changes in v3: > - Drop patches already appl

Re: [U-Boot] [PATCH] If CONFIG_SANDBOX isn't defined the build fails in fw_env.c

2015-06-17 Thread Simon Glass
Hi Peter, On 17 June 2015 at 05:29, Masahiro Yamada wrote: > Hi. > > > 2015-06-17 3:24 GMT+09:00 Simon Glass : >> Hi Peter, >> >> On 15 June 2015 at 13:40, Peter Robinson wrote: >>> In our Fedora builds we get the below errors if we build the following using >>> a vanilla u-boot 2015.07rc2. I'm

Re: [U-Boot] [PATCH] gpio: mxc_gpio: enable DM gpio before relocation

2015-06-17 Thread Simon Glass
Hi Markus, On 17 June 2015 at 00:18, Markus Niebel wrote: > > Hello Simon, > > Am 16.06.2015 um 23:44 schrieb Simon Glass: > > Hi Markus, > > > > On 16 June 2015 at 01:08, Markus Niebel wrote: > >> From: Markus Niebel > >> > >> gpio often are needed to detect revision and variants. > >> Therefo

Re: [U-Boot] Very slow fatload on bcm2835

2015-06-17 Thread Jeroen Hofstee
Hello Marek, -while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay) +while (timer_get_us() < bcm_host->last_write + bcm_host->twoticks_delay) ; Can this counter / the right side of the comparison not overflow? Regards, Jeroen ___

Re: [U-Boot] [PATCH 0/2] sunxi: musb: Fix "usb reset" handling

2015-06-17 Thread Hans de Goede
Hi, On 15-06-15 21:21, Paul Kocialkowski wrote: Le dimanche 14 juin 2015 à 12:40 +0200, Hans de Goede a écrit : Hi Ian, Paul, Here is a patch to fix the problems where most usb devices will no longer work after a "usb reset ", when connected to the otg controller in host mode + a related clean

Re: [U-Boot] [PATCH] MSI_Primo81_defconfig: enable USB OTG port and keyboard support

2015-06-17 Thread Hans de Goede
Hi, On 14-06-15 12:08, Karsten Merker wrote: The MSI Primo 81 is an Allwinner A31s-based tablet on which the OTG port is the only accessible USB interface. The existing defconfig had VGA console on the LCD enabled, but was missing keyboard support because the prerequisites for that (sunxi MUSB

Re: [U-Boot] [PATCH 08/10] x86: Add MultiProcessor (MP) table APIs

2015-06-17 Thread Bin Meng
Hi Simon, On Wed, Jun 17, 2015 at 9:15 PM, Simon Glass wrote: > Hi Bin, > > On 17 June 2015 at 01:42, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 15 June 2015 at 02:00, Bin Meng wrote: The MP table provides a way for the o

Re: [U-Boot] [PATCH 07/10] x86: Add I/O APIC register access inline routines

2015-06-17 Thread Bin Meng
Hi Simon, On Wed, Jun 17, 2015 at 9:15 PM, Simon Glass wrote: > Hi Bin, > > On 17 June 2015 at 01:35, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 15 June 2015 at 01:59, Bin Meng wrote: I/O APIC registers are addressed indi

Re: [U-Boot] [PATCH 08/10] x86: Add MultiProcessor (MP) table APIs

2015-06-17 Thread Simon Glass
Hi Bin, On 17 June 2015 at 01:42, Bin Meng wrote: > Hi Simon, > > On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: >> Hi Bin, >> >> On 15 June 2015 at 02:00, Bin Meng wrote: >>> The MP table provides a way for the operating system to support >>> for symmetric multiprocessing as well as symm

Re: [U-Boot] [PATCH 09/10] x86: Generate a valid MultiProcessor (MP) table

2015-06-17 Thread Simon Glass
Hi Bin, On 17 June 2015 at 01:49, Bin Meng wrote: > Hi Simon, > > On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: >> Hi Bin, >> >> On 15 June 2015 at 02:00, Bin Meng wrote: >>> Implement a weak write_mp_table() to create a minimal working MP >>> table. This includes an MP floating table, a

Re: [U-Boot] [PATCH 07/10] x86: Add I/O APIC register access inline routines

2015-06-17 Thread Simon Glass
Hi Bin, On 17 June 2015 at 01:35, Bin Meng wrote: > Hi Simon, > > On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: >> Hi Bin, >> >> On 15 June 2015 at 01:59, Bin Meng wrote: >>> I/O APIC registers are addressed indirectly. Add io_apic_read() and >>> io_apic_write() inline routines. Two macr

Re: [U-Boot] [PATCH v2] Initial support for ACPI Tables for qemu-x86 target.

2015-06-17 Thread Bin Meng
+Simon Hi Saket, Since you just sent the patch to U-Boot mailing list for the first time, this is officially the v1 patch that is visible to the mailing list, although we know you sent us the 'v1' patch offline before. Please check my initial review comments below. I will continue reviewing after

Re: [U-Boot] Very slow fatload on bcm2835

2015-06-17 Thread Marek Vasut
On Tuesday, June 16, 2015 at 11:19:11 AM, Michal Marek wrote: > On 2015-06-16 06:01, Stephen Warren wrote: > > On 06/11/2015 12:35 PM, Jakub Kicinski wrote: > >> Hello! Hi/Ahoj :) > >> I'm using latest git source of U-Boot on Raspberry Pi Compute Module > >> and performance of fatload is quite ba

Re: [U-Boot] [PATCH 3/4] ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver

2015-06-17 Thread Marek Vasut
On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote: > On 05/04/2015 02:54 PM, Marek Vasut wrote: > > The get_timer_us() function is something which is no longer > > existing in case we use generic timer framework, so replace > > it with get_timer(). > > Marek, > > This patch causes "s

Re: [U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-17 Thread Simon Glass
Hi, On 17 June 2015 at 03:36, Bin Meng wrote: > Hi Haikun, > > On Mon, May 18, 2015 at 9:25 PM, Haikun Wang > wrote: >> From: Haikun Wang >> >> Enable Driver Model SPI for ls1021atwr board. >> DSPI and QSPI only be enabled when boot from QSPI. >> DSPI and QSPI are compatible under Driver Model

Re: [U-Boot] [PATCH] If CONFIG_SANDBOX isn't defined the build fails in fw_env.c

2015-06-17 Thread Masahiro Yamada
Hi. 2015-06-17 3:24 GMT+09:00 Simon Glass : > Hi Peter, > > On 15 June 2015 at 13:40, Peter Robinson wrote: >> In our Fedora builds we get the below errors if we build the following using >> a vanilla u-boot 2015.07rc2. I'm not sure if it's the best fix but it fixes >> the build for rc2. >> >> m

[U-Boot] [PATCH] fix: samsung: common: autoboot.cmd: Correct itbcfg definition

2015-06-17 Thread Lukasz Majewski
This fix is necessary to avoid booting the default ITB configuration. Signed-off-by: Lukasz Majewski --- board/samsung/common/bootscripts/autoboot.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/samsung/common/bootscripts/autoboot.cmd b/board/samsung/common/bootscr

[U-Boot] [PATCH] ARM: at91: sama5d3xek: initialized a variable:ek_name in U-Boot

2015-06-17 Thread Josh Wu
Then we can use this ek_name variable to load corresponding dtb file in mmc boot. Also we change the mmc boot command to load zImage as this format is prefered. Signed-off-by: Josh Wu --- board/atmel/sama5d3xek/sama5d3xek.c | 21 + include/configs/sama5d3xek.h| 7 +

Re: [U-Boot] [PATCH] colibri_vf: Increase console IO buffer size to 1024

2015-06-17 Thread maitysanchayan
Hello, Ping. - Sanchayan. On 15-06-08 12:40:41, Sanchayan Maity wrote: > Increase console IO buffer size to 1024 from the previous value of 256. > The previous value was too short for editing environment variables like > ubiboot from the console. > > Signed-off-by: Sanchayan Maity > --- > inc

Re: [U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-17 Thread Bin Meng
Hi Haikun, On Mon, May 18, 2015 at 9:25 PM, Haikun Wang wrote: > From: Haikun Wang > > Enable Driver Model SPI for ls1021atwr board. > DSPI and QSPI only be enabled when boot from QSPI. > DSPI and QSPI are compatible under Driver Model SPI. > > Signed-off-by: Haikun Wang > Change-Id: I6342807da

Re: [U-Boot] [PATCH v3 4/4] arm: ls102xa: Enable Driver Model SPI for ls1021atwr

2015-06-17 Thread Wang Haikun
On 6/16/2015 4:55 PM, Jagan Teki wrote: > Pls- resend this series by adding Data Flash driver to it. In fact we only have Atmel Dataflash on ls1021aqds board. And I have add the "#define CONFIG_SF_DATAFLASH" in ls1021aqds.h. Please see below patch: [U-Boot,v3,3/4] arm: ls102xa: Enable Driver Model

Re: [U-Boot] Compilation of env error u-boot 2015.07-rc2

2015-06-17 Thread Thirumalesha N
Small correction On Wednesday, June 17, 2015, Thirumalesha N wrote: > Hi Franklin, > > Sorry for late response > > On Wednesday, June 10, 2015, Cooper Jr., Franklin > wrote: > >> >> >> > -Original Message- >> > From: Maxin B. John [mailto:maxin.j...@enea.com] >> > Sent: Wednesday, June

[U-Boot] [PATCH v2] board/t1023rdb: add support for T1023RDB RevC

2015-06-17 Thread Shengzhou Liu
Add support for NOR flash and GPIO/I2C switch control on RevC. - NOR support - bank0/bank4 switch - SD/eMMC switch - board version Signed-off-by: Shengzhou Liu --- v2: updated rcw. board/freescale/t102xrdb/README| 18 +++-- board/freescale/t102xrdb/t1023_rcw.cfg | 2 +- board/freesca

Re: [U-Boot] [PATCH 09/10] x86: Generate a valid MultiProcessor (MP) table

2015-06-17 Thread Bin Meng
Hi Simon, On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: > Hi Bin, > > On 15 June 2015 at 02:00, Bin Meng wrote: >> Implement a weak write_mp_table() to create a minimal working MP >> table. This includes an MP floating table, a configuration table >> header and all of the 5 base configura

Re: [U-Boot] [PATCH 08/10] x86: Add MultiProcessor (MP) table APIs

2015-06-17 Thread Bin Meng
Hi Simon, On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: > Hi Bin, > > On 15 June 2015 at 02:00, Bin Meng wrote: >> The MP table provides a way for the operating system to support >> for symmetric multiprocessing as well as symmetric I/O interrupt >> handling with the local APIC and I/O AP

Re: [U-Boot] [PATCH 07/10] x86: Add I/O APIC register access inline routines

2015-06-17 Thread Bin Meng
Hi Simon, On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: > Hi Bin, > > On 15 June 2015 at 01:59, Bin Meng wrote: >> I/O APIC registers are addressed indirectly. Add io_apic_read() and >> io_apic_write() inline routines. Two macros for I/O APIC ID and >> version register offset are also add

Re: [U-Boot] [PATCH 01/10] x86: queensbay: Do RTC initialization

2015-06-17 Thread Bin Meng
Hi Simon, On Tue, Jun 16, 2015 at 10:46 AM, Simon Glass wrote: > Hi Bin, > > On 15 June 2015 at 01:59, Bin Meng wrote: >> Enable RTC initialization in arch_misc_init(). >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/cpu/queensbay/tnc.c | 3 +++ >> 1 file changed, 3 insertions(+) > > Could