[U-Boot] [PATCH 3/7] sunxi: Ainol AW1 mmc0 card-detect pin

2015-03-29 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- configs/Ainol_AW1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Ainol_AW1_defconfig b/configs/Ainol_AW1_defconfig index 5cb8fc1..e5c2e21 100644 --- a/configs/Ainol_AW1_defconfig +++ b/configs/Ainol_AW1_defconfig @@ -6,6 +6,7 @@ CONFIG_

[U-Boot] [PATCH 2/7] sunxi: Ampe A76 mmc0 card-detect pin

2015-03-29 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- configs/Ampe_A76_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/Ampe_A76_defconfig b/configs/Ampe_A76_defconfig index af8aefa..af7638d 100644 --- a/configs/Ampe_A76_defconfig +++ b/configs/Ampe_A76_defconfig @@ -1,9 +1,

[U-Boot] [PATCH 1/7] sunxi: TZX-Q8-713B7 mmc0 card-detect pin

2015-03-29 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- configs/TZX-Q8-713B7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/TZX-Q8-713B7_defconfig b/configs/TZX-Q8-713B7_defconfig index 4ff4542..0953554 100644 --- a/configs/TZX-Q8-713B7_defconfig +++ b/configs/TZX-Q8-713B7_defconfig @@ -1,6 +

[U-Boot] [PATCH 4/7] sunxi: Yones Toptech BD1078 mmc0 and mmc1 card-detect pins

2015-03-29 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- configs/Yones_Toptech_BD1078_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/Yones_Toptech_BD1078_defconfig b/configs/Yones_Toptech_BD1078_defconfig index 99cc0a7..00ede67 100644 --- a/configs/Yones_Toptech_BD1078_defconfig +++ b/confi

[U-Boot] [PATCH 5/7] sunxi: A20-OLinuXino-Lime2 mmc0 card-detect pin

2015-03-29 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- configs/A20-OLinuXino-Lime2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig index 8c76360..1f4fa12 100644 --- a/configs/A20-OLinuXino-Lime2_defconfig +++ b/configs/A20

[U-Boot] [PATCH 7/7] sunxi: A20-OLinuXino-Lime2 USB0 VBUS detect and enable pins

2015-03-29 Thread Paul Kocialkowski
This allows enabling MUSB (on the OTG port). Signed-off-by: Paul Kocialkowski --- configs/A20-OLinuXino-Lime2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig index 1f4fa12..4fcff92 100644 --- a/configs

[U-Boot] [PATCH 6/7] sunxi: Cubieboard2 mmc0 card-detect pin

2015-03-29 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- configs/Cubieboard2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Cubieboard2_defconfig b/configs/Cubieboard2_defconfig index 05b11a0..d866ad1 100644 --- a/configs/Cubieboard2_defconfig +++ b/configs/Cubieboard2_defconfig @@ -1,6 +1,7 @

[U-Boot] [PATCH v2 1/3] usb: usb_new_device return codes consistency

2015-03-29 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- common/usb.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/usb.c b/common/usb.c index 32e15cd..ea5b406 100644 --- a/common/usb.c +++ b/common/usb.c @@ -915,7 +915,7 @@ int usb_new_device(struct usb_device *dev) if (

[U-Boot] [PATCH v2 2/3] usb: Check usb_new_device for failure

2015-03-29 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- common/usb.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/common/usb.c b/common/usb.c index ea5b406..67e2350 100644 --- a/common/usb.c +++ b/common/usb.c @@ -95,18 +95,24 @@ int usb_init(void) start_index

[U-Boot] [PATCH v2 3/3] usb: Early failure when the first descriptor read fails or is invalid

2015-03-29 Thread Paul Kocialkowski
This may happen when using an USB1 device on a controller that only supports USB2 (e.g. EHCI). Reading the first descriptor will fail (read 0 byte), so we can abort the process at this point instead of failing later and wasting time. Signed-off-by: Paul Kocialkowski --- common/usb.c | 7 +--

Re: [U-Boot] [PATCH] usb: Early failure when the first descriptor read fails, one way or another

2015-03-29 Thread Paul Kocialkowski
> > > @@ -990,6 +990,9 @@ int usb_new_device(struct usb_device *dev) > > > case 64: > > > dev->maxpacketsize = PACKET_SIZE_64; > > > break; > > > + default: > > > + debug("usb_new_device: invalid max packet size\n"); > > > > Hi, > > > > since this is an error, this s

Re: [U-Boot] [PATCH 6/6] arc: re-generate defconfigs

2015-03-29 Thread Masahiro Yamada
Hi Alexey, 2015-03-17 21:13 GMT+09:00 Alexey Brodkin : > Before that moment our defconfigs were manually modified with addition > of new options. That means once anybody wants to addd another option and I just noticed a typo. s/addd/add/ You need not to submit v2 for such a minor error. Please

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-03-29 Thread Hans de Goede
Hi, On 28-03-15 18:26, Paul Kocialkowski wrote: musb might be used in gadget mode on sunxi, so we don't want to assume anything related to host mode, especially USB keyboard support. Thus, there is no reason to keep USB_KEYBOARD always enabled and in Kconfig: it is much better fit to enable it i

Re: [U-Boot] [U-Boot, v3, 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on

2015-03-29 Thread Tom Rini
On Thu, Mar 19, 2015 at 07:42:55PM +0900, Masahiro Yamada wrote: > This option has a bool type, not hex. > Fix it and enable it if CONFIG_DM is on because Driver Model always > requires malloc memory. Devices are scanned twice, before/after > relocation. CONFIG_SYS_MALLOC_F should be enabled to

[U-Boot] allow LED initialization without STATUS_LED_BOOT

2015-03-29 Thread Bernhard Nortmann
For current U-Boot to initialize status LEDs via status_led_init(), it is required to have both CONFIG_STATUS_LED and STATUS_LED_BOOT defined. This may be a particular concern with GPIO LEDs, where __led_init() is required to correctly set up the GPIO (gpio_request and gpio_direction_output). W

[U-Boot] Generic stubs for GPIO LEDs

2015-03-29 Thread Bernhard Nortmann
For boards that support LEDs driven via GPIO (CONFIG_GPIO_LED), it may be useful to have some generic stubs (wrapper functions) for the "colored" LEDs. This allows definitions like: #define GREEN_LED_GPIO 248 /* = PH24 */ #define STATUS_LED_BIT GREEN_LED_GPIO #define STATUS_L

Re: [U-Boot] [PATCH v2] sunxi: Avoid any assumption between musb gadget and host but fallback to host

2015-03-29 Thread Paul Kocialkowski
Le dimanche 29 mars 2015 à 13:18 +0200, Hans de Goede a écrit : > Hi, > > On 28-03-15 18:26, Paul Kocialkowski wrote: > > musb might be used in gadget mode on sunxi, so we don't want to assume > > anything > > related to host mode, especially USB keyboard support. Thus, there is no > > reason >

Re: [U-Boot] [PATCH v2 1/3] sunxi: sun4i: improve cpu clock selection method

2015-03-29 Thread Hans de Goede
Hi, On 28-03-15 11:25, Iain Paton wrote: clock_set_pll1 would pick the next highest available cpu clock speed if a value not in the pre defined table was selected. this potentially results in overclocking the soc. reverse the selection method so that we select the next lowest speed and add the

[U-Boot] Please pull u-boot-sunxi master

2015-03-29 Thread Hans de Goede
Hi Tom, Please pull u-boot-sunxi/master into master for another round of bugfixes for v2015.04: The following changes since commit 5db752353b6a19c50db4a30692efb7e845fb8a6e: powerpc: ppc4xx: convert AMCC boards to generic board (2015-03-28 12:09:46 -0400) are available in the git repository

Re: [U-Boot] [PATCH v4 1/2] sunxi: Serial number support, obtained from SID bits

2015-03-29 Thread Hans de Goede
Hi, On 28-03-15 18:35, Paul Kocialkowski wrote: Signed-off-by: Paul Kocialkowski Thanks, I'm currently busy merging some more patches, once that is done this patch should show up in u-boot-sunxi/next, and it will be included in u-boot/master once the merge window for v2015.07 opens. Regards,

Re: [U-Boot] [PATCH v4 2/2] sunxi: Pass serial number through ATAG

2015-03-29 Thread Hans de Goede
Hi, On 28-03-15 18:35, Paul Kocialkowski wrote: Signed-off-by: Paul Kocialkowski Thanks, I've added this to my personal git repo, sunxi-wip branch. I'll move it over to u-boot-sunxi/next once it is clear that the kernel patch to show the devicetree serial-number string /proc/cpuinfo is going

[U-Boot] Please pull u-boot-sunxi master (v2)

2015-03-29 Thread Hans de Goede
Hi Tom, This pull-req superceeds my previous pull-req from about 10 minutes ago, as I found that one board was missing a MAINTAINERS entry, so I've included a fix for that in this new pull-req. Please pull u-boot-sunxi/master into master for another round of bugfixes for v2015.04: The following

Re: [U-Boot] [PATCH 04/20] tegra: Provide more accurate microsecond time

2015-03-29 Thread Simon Glass
Hi Stephen, On 25 February 2015 at 16:10, Stephen Warren wrote: > On 02/17/2015 03:29 PM, Simon Glass wrote: >> >> Add an implementation of the timer functions for tegra, so that timing >> is more accurate. Tegra has a 1 microsecond timer for this purpose. > > > I'm a bit confused about this: > >

Re: [U-Boot] [PATCH 07/20] dm: tegra: cros_ec: Enable Chrome OS EC on Nyan-big

2015-03-29 Thread Simon Glass
Hi Stephen, On 25 February 2015 at 16:15, Stephen Warren wrote: > On 02/17/2015 03:29 PM, Simon Glass wrote: >> >> Enable the EC and keyboard, using the SPI bus. >> >> The EC driver requires a particular format and a deactivation delay. Also >> U-Boot does not support interrupts. >> >> For now, a

Re: [U-Boot] [PATCH 17/20] tegra: nyan-big: Add additional clock and kernel init

2015-03-29 Thread Simon Glass
Hi Stephen, On 25 February 2015 at 16:23, Stephen Warren wrote: > On 02/17/2015 03:29 PM, Simon Glass wrote: >> >> We need to turn on all audio-related clocks for the kernel to boot. >> Otherwise it will hang when trying to enable audio. > > > This certainly isn't true for the upstream kernel; is

Re: [U-Boot] [PATCH v3 00/17] Power(full) framework based on Driver Model

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > Hello, > Here is the third RFC version of the new PMIC framework.Big thanks to > Simon Glass, your comments were really helpful, and I think, that this > version is much more better to discuss, than the previous. The changes >

Re: [U-Boot] [PATCH] arm: imx: Switch Wandboard to use config_distro_bootcmd.h.

2015-03-29 Thread Tom Rini
On Sat, Mar 28, 2015 at 02:15:38PM +0100, Karsten Merker wrote: > On Fri, Mar 27, 2015 at 06:24:43PM -0700, Vagrant Cascadian wrote: > > > This allows for more flexible and standardized boot across multiple > > platforms. Remove most redundant legacy boot environment. > > > > Cc: Otavio Salvador

Re: [U-Boot] [PATCH v3 01/17] exynos5: fix build break by adding CONFIG_POWER

2015-03-29 Thread Simon Glass
On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > Move the configs listed below from exynos5-dt-common.h to exynos5-common.h: > - CONFIG_POWER > - CONFIG_POWER_I2C > fixes build break for Arndale and Smdk5250 boards. > > Signed-off-by: Przemyslaw Marczak > --- > include/configs/exynos5-comm

Re: [U-Boot] [PATCH v3 04/17] lib: Kconfig: add entry for errno_str() function

2015-03-29 Thread Simon Glass
On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > Signed-off-by: Przemyslaw Marczak > --- > lib/Kconfig | 8 > 1 file changed, 8 insertions(+) Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailm

Re: [U-Boot] [PATCH v3 03/17] dm: core: lists.c: add new function lists_bind_fdt_by_prop()

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This change adds new function: lists_bind_fdt_by_prop(), which can be used > for bind the devices by custom property name for the compatible string. > > The function lists_bind_fdt() works the same as previous. > > Signed-off-b

Re: [U-Boot] [PATCH v3 02/17] fdt_ro.c: add new function: fdt_node_check_prop_compatible()

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This commit: > - moves fdt_node_check_compatible() code to fdt_node_check_prop_compatible() > - adds call to fdt_node_check_prop_compatible() in fdt_node_check_compatible() > with 'compatible' as the name of compatible proper

Re: [U-Boot] [PATCH v3 05/17] dm: pmic: add implementation of driver model pmic uclass

2015-03-29 Thread Simon Glass
Hi Prazemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This is an introduction to driver-model multi uclass PMIC support. > It starts with UCLASS_PMIC - a common PMIC devices uclass type > to provide device read/write operations only. Your Kconfig docs are a model to others! It d

Re: [U-Boot] [PATCH v3 06/17] dm: regulator: add implementation of driver model regulator uclass

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This is the implementation of driver model regulator uclass api. > To use it, the CONFIG_DM_PMIC is required with driver implementation, > since it provides pmic devices basic I/O API. > > To get the regulator device: > - regul

Re: [U-Boot] [PATCH v3 08/17] dm: regulator: add regulator command

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This command is based on driver model regulator api. > User interface features: > - list - list UCLASS regulator devices > - regulator dev [id] - show or [set] operating regulator device > - regulator [inf

Re: [U-Boot] [PATCH v3 07/17] dm: pmic: add pmic command

2015-03-29 Thread Simon Glass
Hi Prazemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This is new command for the pmic devices based on driver model pmic api. > Command features are unchanged: > - list - list UCLASS pmic devices > - pmic dev [id] - show or [set] operating pmic device (NEW) > - pmi

Re: [U-Boot] [PATCH v3 10/17] dm: pmic: add max77686 pmic driver

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This is the implementation of driver model uclass pmic driver. > The max77686 pmic driver implements read/write operations and driver > bind method - to bind other pmic uclass devices as a parent pmic device. > This driver prov

Re: [U-Boot] [PATCH v3 11/17] dm: regulator: add max77686 regulator driver

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This commit adds support to max77686 regulator driver > based on a uclass regulator driver-model api, which > provides implementation of all uclass regulator api > function calls. > > New file: drivers/power/regulator/max77686.

Re: [U-Boot] [PATCH v3 09/17] pmic: max77686 set the same compatible as in the kernel

2015-03-29 Thread Simon Glass
On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This commit also updates the proper dts files. > > Signed-off-by: Przemyslaw Marczak > --- > arch/arm/dts/exynos4412-odroid.dts | 2 +- > arch/arm/dts/exynos4412-trats2.dts | 2 +- > arch/arm/dts/exynos5250-smdk5250.dts | 2 +- > arch/ar

Re: [U-Boot] [PATCH v3 12/17] dm: regulator: add fixed voltage regulator driver

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This driver implements regulator uclass features for fixed value regulators. > For getting the basic regulator device-tree node constraints, this driver > calls > function 'regulator_ofdata_to_platdata()'. The typical fixed re

Re: [U-Boot] [PATCH v3 13/17] doc: driver-model: pmic and regulator uclass documentation

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > Signed-off-by: Przemyslaw Marczak > --- > Changes v2, V3: > - update documentation with the framework api changes > - remove doc file name 'dm' prefix > --- > doc/driver-model/pmic-framework.txt | 350 > +

Re: [U-Boot] [PATCH 1/7] sunxi: TZX-Q8-713B7 mmc0 card-detect pin

2015-03-29 Thread Hans de Goede
Hi, On 29-03-15 11:19, Paul Kocialkowski wrote: Signed-off-by: Paul Kocialkowski Thanks, I've merged the entire set in u-boot-sunxi/next, and it will be included in u-boot/master once the merge window for v2015.07 opens. Regards, Hans --- configs/TZX-Q8-713B7_defconfig | 1 + 1 file c

Re: [U-Boot] [PATCH v3 15/17] odroid: board: add support to dm pmic api

2015-03-29 Thread Simon Glass
Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This commit change the old pmic framework calls with the new ones. > > Signed-off-by: Przemyslaw Marczak > --- > Changes v2: > - remove board_init_i2c() call > - update regulator calls > - update headers > - samsung/misc.c: i

Re: [U-Boot] [PATCH 1/2] tegra: seaboard: Remove unused CONFIG_UART_DISABLE_GPIO

2015-03-29 Thread Simon Glass
Hi Tom, On 9 March 2015 at 20:49, Stephen Warren wrote: > On 03/09/2015 07:12 PM, Simon Glass wrote: >> This CONFIG is not used, so drop it. > > The series, > Tested-by: Stephen Warren > Acked-by: Stephen Warren Can you please apply this fix? Regards, Simon ___

Re: [U-Boot] [PATCH 2/2] tegra: seaboard: Correct the gpio_request() call

2015-03-29 Thread Simon Glass
Hi Tom, On 9 March 2015 at 19:16, Simon Glass wrote: > Let's try this: > > Reported-by: Stephen Warren > > > On 9 March 2015 at 19:12, Simon Glass wrote: >> Requesting a GPIO without a name is not supposed anymore. This causes the >> request to fail. Add a name so that the serial console works

Re: [U-Boot] [PATCH 06/20] tegra: spi: Drop the claim_bus() method to correct delays

2015-03-29 Thread Simon Glass
Hi Stephen, On 25 February 2015 at 16:14, Stephen Warren wrote: > On 02/17/2015 03:29 PM, Simon Glass wrote: >> >> At present the driver does not properly honour the requested SPI CS >> deactivation delay since the SPI bus is changed in the claim_bus() method. >> >> Everything the claim_bus() met

Re: [U-Boot] [PATCH v3 16/17] odroid: dts: add 'voltage-regulators' description to max77686 node

2015-03-29 Thread Simon Glass
On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > Adding regulators subnode to fdt max77686 node, allows properly init > regulators by the max77686 regulator driver. This enables the complete > functionality of the regulator command. > > Signed-off-by: Przemyslaw Marczak > --- > Changes V2:

Re: [U-Boot] [PATCH v3 14/17] dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC

2015-03-29 Thread Simon Glass
On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > In the power_init_board function call, regulator driver init is called, > so before compile, make sure that any power framework is defined. > > Signed-off-by: Przemyslaw Marczak > --- > board/samsung/common/board.c | 4 ++-- > 1 file changed

Re: [U-Boot] [PATCH v3 17/17] odroid: config: enable dm pmic, dm regulator and max77686 driver

2015-03-29 Thread Simon Glass
On 24 March 2015 at 14:30, Przemyslaw Marczak wrote: > This change enables the configs required to init and setup max77686 > regulator driver, using the new driver model pmic and regulator API. > > This commits enables: > - CONFIG_ERRNO_STR > - CONFIG_DM_PMIC > - CONFIG_DM_PMIC_CMD > - CONFIG_DM_P

Re: [U-Boot] Please pull u-boot-sunxi master (v2)

2015-03-29 Thread Tom Rini
On Sun, Mar 29, 2015 at 02:59:39PM +0200, Hans de Goede wrote: > Hi Tom, > > This pull-req superceeds my previous pull-req from about 10 minutes ago, > as I found that one board was missing a MAINTAINERS entry, so I've included > a fix for that in this new pull-req. > > Please pull u-boot-sunxi/

[U-Boot] [PATCH] Document the format of the console environment variable

2015-03-29 Thread Karsten Merker
config_distro_bootcmd.h defines a common boot environment for multiple platforms. Document the format of the console environment variable to allow the use of generic boot scripts on all supported platforms. Signed-off-by: Karsten Merker --- doc/README.distro |9 + 1 file changed, 9

Re: [U-Boot] U-boot and UBI problem with vexpress board.

2015-03-29 Thread mar.krzeminski
Hi, It seem that I have found the root cause of the problem. This board in qemu is set in this way, that device width is set to 2 and interface to 4. That is why CFI driver in u-boot calculates wrongly sector size ( because size ratio variable was wrong ), so in the end every odd sector (count

Re: [U-Boot] [PATCH 1/2] spi: cf_spi: Use to_cf_spi_slave to resolve cfslave from slave

2015-03-29 Thread Jagan Teki
On 20 February 2015 at 21:47, Axel Lin wrote: > Don't assume slave is always the first member of struct cf_spi_slave. > Use container_of instead of casting first structure member. > > Signed-off-by: Axel Lin > --- > drivers/spi/cf_spi.c | 11 +-- > 1 file changed, 9 insertions(+), 2 dele

Re: [U-Boot] [PATCH 2/2] spi: cf_spi: Staticize local functions

2015-03-29 Thread Jagan Teki
On 20 February 2015 at 21:49, Axel Lin wrote: > Make local functions static and remove unneeded forward declarations. > > Signed-off-by: Axel Lin > --- > drivers/spi/cf_spi.c | 20 +++- > 1 file changed, 7 insertions(+), 13 deletions(-) > > diff --git a/drivers/spi/cf_spi.c b/dri

Re: [U-Boot] [PATCH] spi: designware_spi: revisit FIFO size detection again

2015-03-29 Thread Jagan Teki
On 28 February 2015 at 00:49, Pavel Machek wrote: > On Thu 2015-02-26 10:45:22, Axel Lin wrote: >> By specification the FIFO size would be in a range 2-256 bytes. From TX Level >> prospective it means we can set threshold in the range 0-(FIFO size - 1) >> bytes. >> Hence there are currently two i

Re: [U-Boot] [PATCH 2/6] ARM: at91: sama5: move the common part of configurations to at91-sama5_common.h

2015-03-29 Thread Andreas Bießmann
Hi Josh, sorry for beeing late. I'd like to apply this one but it does not cleanly. Could you please rebase on current master? Andreas On 19.11.14 12:03, Josh Wu wrote: > Create a new configuration file: at91-sama5_common.h. Which include the > configurations that reused by all SAMA5 chips. > >

[U-Boot] [PATCH] m68k: add architecture-specific u-boot.lds

2015-03-29 Thread Angelo Dureghello
Add architecture-specific u-boot.lds and remove all board-specific u-boot.lds. All the .text customization that was board-specific have been moved inside the related include/configs, inside a LDS_BOARD_TEXT define. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/u-boot.lds | 91 +

Re: [U-Boot] [PATCH 1/2] spl_atmel.c: Switch s_init to board_init_f

2015-03-29 Thread Andreas Bießmann
Hi Tom, rebased and tried to apply, but unfortuantely this breaks SPL for at91 armv7 boards: 05: spl_atmel.c: Switch s_init to board_init_f arm: + sama5d3xek_mmc sama5d3xek_nandflash sama5d3xek_spiflash sama5d4_xplained_mmc sama5d4ek_nandflash +arch/arm/cpu/armv7/built-in.o: In function

Re: [U-Boot] NAND Flash with Internal Hardware ECC

2015-03-29 Thread Josh Wu
Hi, Dave On 3/27/2015 8:41 PM, Rajiv Dave wrote: Hi Josh, That worked! Many thanks. You are welcome ;-) The next issue is that the Kernel now needs to be re-built, we are using 2.6.xx, do you have any ideas on what to change in the Kernel to make it work with the HW ECC NAND? If you are u

Re: [U-Boot] [PATCH] usb: Early failure when the first descriptor read fails, one way or another

2015-03-29 Thread Marek Vasut
On Saturday, March 28, 2015 at 06:31:42 PM, Paul Kocialkowski wrote: > Le samedi 28 mars 2015 à 18:26 +0100, Marek Vasut a écrit : > > On Saturday, March 28, 2015 at 06:23:58 PM, Paul Kocialkowski wrote: > > > When using an USB1 device on a controller that only supports USB2 (e.g. > > > EHCI), read

Re: [U-Boot] [PATCHv2 15/20] arm: socfpga: spl: adjust SPL_MALLOC_SIZE to 256

2015-03-29 Thread Marek Vasut
On Friday, March 27, 2015 at 09:10:35 PM, Dinh Nguyen wrote: > Hi Marek, Hi Dinh, > On 03/04/2015 07:16 AM, Marek Vasut wrote: > > On Monday, March 02, 2015 at 05:28:03 PM, dingu...@opensource.altera.com wrote: > >> From: Dinh Nguyen > >> > >> Signed-off-by: Dinh Nguyen > > > > Why did you d

Re: [U-Boot] U-boot and UBI problem with vexpress board.

2015-03-29 Thread Heiko Schocher
Hello Marcin, Am 27.03.2015 16:53, schrieb mar.krzeminski: Hi Stefan, I've changed malloc pool size to 2MiB and nothing changed. I've also disabled UBIFS support and that does not make any changes. Still after qemu restart u-boot can not attach to ubi device. Hmm.. hard to say, can you enable

Re: [U-Boot] U-boot and UBI problem with vexpress board.

2015-03-29 Thread Heiko Schocher
Hello Marcin, Am 29.03.2015 21:57, schrieb mar.krzeminski: Hi, It seem that I have found the root cause of the problem. Good! This board in qemu is set in this way, that device width is set to 2 and interface to 4. That is why CFI driver in u-boot calculates wrongly sector size ( because s

Re: [U-Boot] [PATCH v6 5/8] lpc32xx: add LPC32xx SSP support (SPI mode)

2015-03-29 Thread Jagan Teki
On 18 March 2015 at 14:34, Albert ARIBAUD (3ADEV) wrote: > Signed-off-by: Albert ARIBAUD (3ADEV) > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: > - move regs and functions in private struct > > Changes in v2: > - added MUX setting for SSP0 > > arch/arm

[U-Boot] [ PATCH v2] ARM: at91: sama5: move the common part of configurations to at91-sama5_common.h

2015-03-29 Thread Josh Wu
Create a new configuration file: at91-sama5_common.h. Which includes the configurations that reused by all SAMA5 chips. at91-sama5_common.h includes: - hw macros (clock, text_base and etc.) - default commands. - BOOTARGS - U-Boot common configs. NOTE: NOR flash definition should be put before incl

Re: [U-Boot] [PATCH 2/6] ARM: at91: sama5: move the common part of configurations to at91-sama5_common.h

2015-03-29 Thread Josh Wu
Hi, Andreas On 3/30/2015 4:52 AM, Andreas Bießmann wrote: Hi Josh, sorry for beeing late. I'd like to apply this one but it does not cleanly. Could you please rebase on current master? Thanks for the remind, I just sent out the v2 of the patch. now it's rebased and also add missed CONFIG_CMD_F