Re: [U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-10 Thread Fabio Estevam
On Thu, Dec 10, 2015 at 4:14 PM, Robert P. J. Day wrote: > > on current project, someone handed me a patch containing (among > other thigns) source and header files for support for SATA SIL3512 -- > copyright shows they're under GPL. rather than carrying around that >

Re: [U-Boot] [PATCH v2 3/3] board: atmel: clean up the PMC_PLLICPR init code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 08:38 schrieb Wenyou Yang: Due to introducing the PMC_PLLICPR init function, use this function to clean up the code. Signed-off-by: Wenyou Yang --- Changes in v2: None board/atmel/sama5d3_xplained/sama5d3_xplained.c |4 +---

Re: [U-Boot] [PATCH 2/3] drivers: usb: ohci-at91: clean up the PLLB code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 05:29 schrieb Wenyou Yang: Due to introducing the new PLLB clock handle functions, use these functions to clean up the PLLB enable/disable code. Signed-off-by: Wenyou Yang --- drivers/usb/host/ohci-at91.c | 20 +--- 1

Re: [U-Boot] [PATCH 1/3] ARM: at91: clock: add PLLB enable/disable functions

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 05:29 schrieb Wenyou Yang: To avoid the duplicated code, add the PLLB handle functions. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/arm926ejs/clock.c | 38 +

Re: [U-Boot] [PATCH v2 1/3] ARM: at91: clock: add PMC_PLLICPR init function

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 08:38 schrieb Wenyou Yang: To avoid the duplicated code, add the PMC_PLLICPR init function. Signed-off-by: Wenyou Yang --- Changes in v2: - move at91_pllicpr_init() definition to the common file, clock.c. - fix checkpatch errors.

Re: [U-Boot] [PATCH] part: fix "part list ... -bootable varname" to use hex

2015-12-10 Thread Sjoerd Simons
On Wed, 2015-12-09 at 09:48 -0700, Stephen Warren wrote: > From: Stephen Warren > > Unfortunately U-Boot assumes that almost all numbers are in hex, including > partition numbers passed to e.g. "load". So, the command "part list mmc 0 > -bootable devplist" should use hex when

Re: [U-Boot] [PATCH v3 4/5] board: atmel: clean up peripheral clock code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 10.12.2015 um 03:20 schrieb Wenyou Yang: Due to introducing the new peripheral clock handle functions, use these functions to reduce duplicated code. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: - fix checkpatch warning.

Re: [U-Boot] [PATCH v3 5/5] drivers: at91: clean up peripheral clock code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 10.12.2015 um 03:20 schrieb Wenyou Yang: Due to introducing the new peripheral clock handle functions, use these functions to reduce the duplicated code. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: None drivers/net/at91_emac.c

Re: [U-Boot] [PATCH v3 3/5] ARM: cpu: at91: clean up peripheral clock code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 10.12.2015 um 03:20 schrieb Wenyou Yang: Due to introducing the new peripheral clock handle functions, use these functions to clean up the duplicated code. Meanwhile, remove unneeded header file include, at91_pmc.h. Signed-off-by: Wenyou Yang ---

Re: [U-Boot] [PATCH v3 2/5] ARM: at91: clock: add a new file to handle clock

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 10.12.2015 um 03:20 schrieb Wenyou Yang: To reduce the duplicated code, add a new file to accommodate the peripheral's and system's clock handle code, shared with the SoCs with different ARM core. Signed-off-by: Wenyou Yang --- Changes in v3: - fix

Re: [U-Boot] [PATCH v3 1/5] ARM: at91: asm/at91_pmc.h: fix trival register offset

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 10.12.2015 um 03:20 schrieb Wenyou Yang: Remove unnecessary #ifdef CPU_HAS_PCR. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: None arch/arm/mach-at91/include/mach/at91_pmc.h |8 ++-- 1 file changed, 2 insertions(+), 6

Re: [U-Boot] [PATCH v2 4/4] board: atmel: siemens: clean up UTMI PLL code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 08:57 schrieb Wenyou Yang: Due to introducing the new UTMI PLL clock handle functions, use the functions to reduce the duplicated code. Signed-off-by: Wenyou Yang --- Changes in v2: None board/siemens/corvus/board.c |4 +--- 1

Re: [U-Boot] [PATCH v2 2/4] ARM: at91: armv7: clean up UTMI PLL handle code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 08:57 schrieb Wenyou Yang: Due to introducing the UTMI PLL enable function, use this function to reduce the duplicated code. Signed-off-by: Wenyou Yang --- Changes in v2: None arch/arm/mach-at91/armv7/sama5d2_devices.c |5 +

Re: [U-Boot] [PATCH 3/3] board: atmel: siemens: clean up PLLB code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 05:29 schrieb Wenyou Yang: Due to introducing the new PLLB clock handle functions, use these functions to clean up the PLLB enable code. Signed-off-by: Wenyou Yang --- board/siemens/smartweb/smartweb.c |6 +-

Re: [U-Boot] [PATCH v2 2/3] ARM: at91: clean up the PMC_PLLICPR init code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 08:38 schrieb Wenyou Yang: Due to introducing the PMC_PLLICPR init function, use this function to clean up the code. Signed-off-by: Wenyou Yang --- Changes in v2: None arch/arm/mach-at91/spl_at91.c |5 + 1 file changed, 1

Re: [U-Boot] [PATCH v2 1/4] ARM: at91: clock: add UTMI PLL enable/disable function

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 08:57 schrieb Wenyou Yang: To avoid the duplicated code, add the UTMI PLL handle functions, and add PMC_USB init function too. Signed-off-by: Wenyou Yang --- Changes in v2: None arch/arm/mach-at91/clock.c| 48

Re: [U-Boot] [PATCH v2 3/4] drivers: usb: atmel: clean up the UTMI PLL code

2015-12-10 Thread Heiko Schocher
Hello Wenyou, Am 09.12.2015 um 08:57 schrieb Wenyou Yang: Due to introducing the new UTMI PLL clock handle functions, use these function to reduce the duplicated code. Signed-off-by: Wenyou Yang --- Changes in v2: - remain asm/io.h include.

[U-Boot] [PATCH V2 1/1] Revert "spi: fsl_qspi: Use GENMASK"

2015-12-10 Thread Troy Kisky
If GENMASK is REALLY desired, it should be GENMASK(23,0) But since GENMASK is obviously more confusing, let's just revert. This reverts commit bad490a24212c068c5b718b9189f47ea4075d078. Reviewed-by: Fabio Estevam Signed-off-by: Troy Kisky

[U-Boot] [RFC PATCH 00/11] Add support for 96boards Dragonboard410C board

2015-12-10 Thread Mateusz Kulikowski
Hi All, With a slight delay (Sorry Syed) I'm finally ready to show code I've been working recently on. This series add support for: - New board - 96board Dragonboard 410C (ARMv8) - Qualcomm snapdragon architecture (for now only single SoC) - Some Qualcomm peripherals (UART, GPIO, PMIC including

Re: [U-Boot] [U-Boot, PATCHv1, 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-12-10 Thread Joe Hershberger
Hi Olliver, On Thu, Dec 10, 2015 at 4:40 AM, Olliver Schinagl wrote: > Hans, Joe, > > > On 10-12-15 11:29, Hans de Goede wrote: >> >> Hi Olliver and Joe, >> >> On 11/30/2015 05:50 PM, Oliver Schinagl wrote: >>> >>> From: Olliver Schinagl >>>

Re: [U-Boot] [PATCHv1 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-12-10 Thread Joe Hershberger
On Mon, Nov 30, 2015 at 10:50 AM, Olliver Schinagl wrote: > From: Olliver Schinagl > > This patch allows Kconfig to enable and set parameters to make it > possible to read the MAC address from an EEPROM. This patch only sets up > some

Re: [U-Boot] [PATCH] net: phy: do not read configuration register on reset

2015-12-10 Thread Joe Hershberger
Hi Stefan, On Wed, Dec 9, 2015 at 1:21 PM, Stefan Agner wrote: > When doing a software reset, the reset flag should be written without > other bits set. Writing the current state will lead to restoring the > state of the PHY (e.g. Powerdown), which is not what is expected from >

Re: [U-Boot] [PATCH] Revert "spi: fsl_qspi: Use GENMASK"

2015-12-10 Thread Fabio Estevam
Hi Troy, On Thu, Dec 10, 2015 at 7:10 PM, Troy Kisky wrote: > If GENMASK is REALLY desired, it should be GENMASK(23,0) > But since GENMASK is obviously more confusing, let's just revert > > This reverts commit bad490a24212c068c5b718b9189f47ea4075d078. You missed

Re: [U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-10 Thread Robert P. J. Day
On Thu, 10 Dec 2015, Fabio Estevam wrote: > On Thu, Dec 10, 2015 at 6:19 PM, Robert P. J. Day > wrote: > > > well, the contract i'm working on will be using it for porting linux > > to a *lot* of older platforms so, technically, i'm that user. :-) > > What I meant was:

[U-Boot] [RFC PATCH 02/11] gpio: Add support for Qualcomm gpio controller

2015-12-10 Thread Mateusz Kulikowski
Add support for gpio controllers on Qualcomm Snapdragon devices. This devices are usually called Top Level Mode Multiplexing in Qualcomm documentation. Signed-off-by: Mateusz Kulikowski --- drivers/gpio/Kconfig| 7 +++ drivers/gpio/Makefile | 2 +-

[U-Boot] [RFC PATCH 01/11] serial: Add support for Qualcomm serial port

2015-12-10 Thread Mateusz Kulikowski
This driver works in "new" Data Mover UART mode, so will be compatible with modern Qualcomm chips only. Signed-off-by: Mateusz Kulikowski --- drivers/serial/Kconfig | 5 ++ drivers/serial/Makefile | 1 + drivers/serial/serial_msm.c | 204

[U-Boot] [RFC PATCH 04/11] ehci-hcd: Add init_after_reset

2015-12-10 Thread Mateusz Kulikowski
Some host controllers need addidional initialization after ehci_reset() In non-dm implementation it is possible to use CONFIG_EHCI_HCD_INIT_AFTER_RESET. This patch adds similar option to ehci drivers using dm. Signed-off-by: Mateusz Kulikowski ---

[U-Boot] [RFC PATCH 07/11] drivers: spmi: Add support for Qualcomm SPMI bus driver

2015-12-10 Thread Mateusz Kulikowski
Support SPMI arbiter on Qualcomm Snapdragon devices. Signed-off-by: Mateusz Kulikowski --- drivers/spmi/Kconfig| 6 ++ drivers/spmi/Makefile | 1 + drivers/spmi/spmi-msm.c | 183 3 files changed, 190

[U-Boot] [RFC PATCH 05/11] ehci: Add support for Qualcomm EHCI

2015-12-10 Thread Mateusz Kulikowski
This driver is able to reconfigure OTG controller into HOST mode. Board can add board-specific initialization as board_prepare_usb(). It requires USB_ULPI_VIEWPORT enabled in board configuration. Signed-off-by: Mateusz Kulikowski --- drivers/usb/host/Kconfig|

[U-Boot] [PATCH] ext4_common.c: Clean up failure cases in alloc_triple_indirect_block

2015-12-10 Thread Tom Rini
As noted by Coverity, when we have an error in alloc_triple_indirect_block we will leak ti_pbuff_start_addr as it's not being freed. Further inspection here shows that we could also leak ti_cbuff_start_addr in one corner case so free that as well. Reported-by: Coverity (CID 131205, 131206)

[U-Boot] [RFC PATCH 03/11] mmc: Add support for Qualcomm SDHCI controller

2015-12-10 Thread Mateusz Kulikowski
Signed-off-by: Mateusz Kulikowski --- drivers/mmc/Kconfig | 6 ++ drivers/mmc/Makefile| 1 + drivers/mmc/msm_sdhci.c | 149 3 files changed, 156 insertions(+) create mode 100644 drivers/mmc/msm_sdhci.c

[U-Boot] [PATCH] Revert "spi: fsl_qspi: Use GENMASK"

2015-12-10 Thread Troy Kisky
If GENMASK is REALLY desired, it should be GENMASK(23,0) But since GENMASK is obviously more confusing, let's just revert This reverts commit bad490a24212c068c5b718b9189f47ea4075d078. diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index 169835e..0a161b6 100644 ---

Re: [U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-10 Thread Fabio Estevam
On Thu, Dec 10, 2015 at 6:19 PM, Robert P. J. Day wrote: > well, the contract i'm working on will be using it for porting linux > to a *lot* of older platforms so, technically, i'm that user. :-) What I meant was: if you submit the SATA SIL3512 driver to U-boot, you

[U-Boot] [PATCH 2/3] ti_armv7_common.h: Add CONFIG_CMD_EXT4_WRITE

2015-12-10 Thread Tom Rini
Given that with config_distro_defaults.h we always have ext4 read support, add in write support. Signed-off-by: Tom Rini --- include/configs/ti_armv7_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ti_armv7_common.h

Re: [U-Boot] [U-Boot, PATCHv1, 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-12-10 Thread Joe Hershberger
Hi Hans, On Thu, Dec 10, 2015 at 4:29 AM, Hans de Goede wrote: > Hi Olliver and Joe, > > On 11/30/2015 05:50 PM, Oliver Schinagl wrote: >> >> From: Olliver Schinagl >> >> This patch allows Kconfig to enable and set parameters to make it >> possible

[U-Boot] [RFC PATCH 06/11] drivers: Add SPMI bus uclass

2015-12-10 Thread Mateusz Kulikowski
Qualcom processors use proprietary bus to talk with PMIC devices - SPMI (System Power Management Interface). On wiring level it is similar to I2C, but on protocol level, it's multi-master and has simple autodetection capabilities. This commit adds simple uclass that provides bus read/write

[U-Boot] [PATCH 1/3] am335x_evm.h: unsed CONFIG_BOOTDELAY

2015-12-10 Thread Tom Rini
Now that ti_armv7_common.h uses config_distro_defaults.h we don't need to include it again and then undef CONFIG_BOOTDELAY Signed-off-by: Tom Rini --- include/configs/am335x_evm.h |4 1 file changed, 4 deletions(-) diff --git a/include/configs/am335x_evm.h

Re: [U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-10 Thread Robert P. J. Day
On Thu, 10 Dec 2015, Fabio Estevam wrote: > On Thu, Dec 10, 2015 at 4:14 PM, Robert P. J. Day > wrote: > > > > on current project, someone handed me a patch containing (among > > other thigns) source and header files for support for SATA SIL3512 -- > > copyright shows

[U-Boot] [RFC PATCH 11/11] board: Add Qualcomm Dragonboard 410C support

2015-12-10 Thread Mateusz Kulikowski
This commit add support for 96Boards Dragonboard410C. It is board based on APQ8016 Qualcomm SoC, complying with 96boards specification. Features (present out of the box): - 4x Cortex A53 (ARMv8) - 2x USB Host port - 1x USB Device port - 4x LEDs - 1x HDMI connector - 1x uSD connector - 3x buttons

[U-Boot] [RFC PATCH 10/11] arm: Add support for Qualcomm Snapdragon family

2015-12-10 Thread Mateusz Kulikowski
First supported chip is APQ8016 (that is compatible with MSM8916). Drivers in SoC code: - Reset controller (PSHOLD) - Clock controller (very simple clock configuration for MMC and UART) Signed-off-by: Mateusz Kulikowski --- arch/arm/Kconfig

[U-Boot] [RFC PATCH 09/11] gpio: Add support for Qualcomm PM8916 gpios

2015-12-10 Thread Mateusz Kulikowski
This driver supports GPIOs present on PM8916 PMIC. There are 2 device drivers inside: - GPIO driver (4 "generic" GPIOs) - Keypad driver that presents itself as GPIO with 2 inputs (power and reset) Signed-off-by: Mateusz Kulikowski --- drivers/gpio/Kconfig |

[U-Boot] [RFC PATCH 08/11] pmic: Add support for Qualcomm PM8916 PMIC

2015-12-10 Thread Mateusz Kulikowski
This PMIC is connected on SPMI bus so needs SPMI support enabled. Signed-off-by: Mateusz Kulikowski --- drivers/power/pmic/Kconfig | 14 +++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pm8916.c | 92 + 3

[U-Boot] [PATCH 3/3] omap4_panda: Convert to config_distro_bootcmd.h

2015-12-10 Thread Tom Rini
Based on the am335x_evm conversion, switch to config_distro_bootcmd for mmc and pxe. Tested with Fedora 23. Signed-off-by: Tom Rini --- include/configs/ti_omap4_common.h | 51 - 1 file changed, 27 insertions(+), 24 deletions(-) diff

Re: [U-Boot] [RFC PATCH 05/11] ehci: Add support for Qualcomm EHCI

2015-12-10 Thread Marek Vasut
On Thursday, December 10, 2015 at 10:41:41 PM, Mateusz Kulikowski wrote: > This driver is able to reconfigure OTG controller into HOST mode. > Board can add board-specific initialization as board_prepare_usb(). > It requires USB_ULPI_VIEWPORT enabled in board configuration. > > Signed-off-by:

Re: [U-Boot] [RFC PATCH 04/11] ehci-hcd: Add init_after_reset

2015-12-10 Thread Marek Vasut
On Thursday, December 10, 2015 at 10:41:40 PM, Mateusz Kulikowski wrote: > Some host controllers need addidional initialization after ehci_reset() > In non-dm implementation it is possible to use > CONFIG_EHCI_HCD_INIT_AFTER_RESET. This patch adds similar option to ehci > drivers using dm. > >

[U-Boot] [PATCH v2] ARM: mxs: allow boards to select DC-DC switching clock source

2015-12-10 Thread Michael Heimpold
For some board designs, it might be useful to switch the DC-DC clock source to something else rather the default 24 MHz, e.g. for EMI reasons. For this, override the mxs_power_setup_dcdc_clocksource function in your board support files. Example: void mxs_power_setup_dcdc_clocksource(void) {

Re: [U-Boot] [PATCH 3/3] omap4_panda: Convert to config_distro_bootcmd.h

2015-12-10 Thread Robert Nelson
On Thu, Dec 10, 2015 at 3:46 PM, Tom Rini wrote: > Based on the am335x_evm conversion, switch to config_distro_bootcmd for > mmc and pxe. Tested with Fedora 23. > > Signed-off-by: Tom Rini > --- > include/configs/ti_omap4_common.h | 51 >

Re: [U-Boot] [PATCH 3/3] omap4_panda: Convert to config_distro_bootcmd.h

2015-12-10 Thread Robert Nelson
On Thu, Dec 10, 2015 at 4:58 PM, Robert Nelson wrote: > On Thu, Dec 10, 2015 at 3:46 PM, Tom Rini wrote: >> Based on the am335x_evm conversion, switch to config_distro_bootcmd for >> mmc and pxe. Tested with Fedora 23. >> >> Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH 1/3] ARM: at91: clock: add PLLB enable/disable functions

2015-12-10 Thread Yang, Wenyou
Hi Heiko, > -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: 2015年12月10日 17:34 > To: Yang, Wenyou > Cc: U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH 1/3] ARM: at91: clock: add PLLB enable/disable > functions > >

Re: [U-Boot] [PATCH 1/2] sunxi: twi: enable clocks on sun7i

2015-12-10 Thread Hans de Goede
Hi, On 12/03/2015 05:49 PM, Olliver Schinagl wrote: From: Olliver Schinagl Commit 6c739c5d added code to enable i2c bus 4 and 5 on the sun7i SoC but forgot to enable the clocks for these 2 i2c busses. This patch enables the clocks for i2c bus 4 and 5 on sun7i.

Re: [U-Boot] [PATCH 2/2] sun4i: clock: cleanup some whitespace errors

2015-12-10 Thread Hans de Goede
Hi, On 12/03/2015 05:49 PM, Olliver Schinagl wrote: From: Olliver Schinagl Add some spaces around operators. Signed-off-by: Olliver Schinagl Thanks, applied. Regards, Hans --- arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 6 +++--- 1

Re: [U-Boot] [PATCH] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2015-12-10 Thread Tom Rini
On Thu, Dec 10, 2015 at 10:49:01AM +0800, Dongsheng Wang wrote: > From: Wang Dongsheng > > Fix PSCI hang up without CONFIG_ARMV7_SECURE_BASE define. > "DISCARD" will remove ._secure.text relocate, but PSCI framework > has already used some absolute address those need to

Re: [U-Boot] [U-Boot, PATCHv1, 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-12-10 Thread Olliver Schinagl
Hans, Joe, On 10-12-15 11:29, Hans de Goede wrote: Hi Olliver and Joe, On 11/30/2015 05:50 PM, Oliver Schinagl wrote: From: Olliver Schinagl This patch allows Kconfig to enable and set parameters to make it possible to read the MAC address from an EEPROM. This

[U-Boot] [PATCH] cgtqmx6eval: fix pad configuration for SPI bus

2015-12-10 Thread Michael Schanz
Use the macro SETUP_IOMUX_PAD(...) rather than imx_iomux_v3_setup_multiple_pads(...) in order to setup the pin configuration for ECSPI1. ARRAY_SIZE(pads) provides the wrong size for imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)) in case of MX6QDL. In the particular case, the content

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-12-10 Thread Hans de Goede
Hi, On 11/30/2015 04:39 PM, Vishnu Patekar wrote: Hello Hans, On Mon, Nov 30, 2015 at 4:13 PM, Hans de Goede wrote: Hi Vishnu, This patch v2 of series that adds basic support for Allwinner A83T SOC with review comments addressed. Can you provide some quick

Re: [U-Boot] [U-Boot, PATCHv1, 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-12-10 Thread Hans de Goede
Hi Olliver and Joe, On 11/30/2015 05:50 PM, Oliver Schinagl wrote: From: Olliver Schinagl This patch allows Kconfig to enable and set parameters to make it possible to read the MAC address from an EEPROM. This patch only sets up some environment variables, it is up

[U-Boot] [PATCH] sunxi: Fix H3 DRAM DQ read delay configuration

2015-12-10 Thread Jens Kuske
The read delays were set incorrectly, leading to reliability issues at higher DRAM clock speeds. This commit adjusts this to match the vendor boot0 behaviour. Signed-off-by: Jens Kuske Tested-by: Siarhei Siamashka ---

Re: [U-Boot] [PATCH 00/24] usb: s3c-otg: Rename driver to dwc2-otg

2015-12-10 Thread Marek Vasut
On Thursday, December 10, 2015 at 05:07:53 PM, Lukasz Majewski wrote: > Hi Marek, > > > On Wednesday, December 09, 2015 at 05:06:52 PM, Lukasz Majewski wrote: > > > Hi Marek, > > > > > > > On Wednesday, December 09, 2015 at 04:02:58 PM, Lukasz Majewski > > > > > > > > wrote: > > > > > Hi Marek,

Re: [U-Boot] [PATCH 00/24] usb: s3c-otg: Rename driver to dwc2-otg

2015-12-10 Thread Marek Vasut
On Thursday, December 10, 2015 at 05:51:12 PM, Marek Vasut wrote: > On Thursday, December 10, 2015 at 05:07:53 PM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Wednesday, December 09, 2015 at 05:06:52 PM, Lukasz Majewski wrote: > > > > Hi Marek, > > > > > > > > > On Wednesday, December 09,

Re: [U-Boot] [PATCH] usb: host: ehci: samsung: Move hcor initialization after usb phy setup

2015-12-10 Thread Marek Vasut
On Thursday, December 10, 2015 at 04:32:25 PM, Lukasz Majewski wrote: > With the old order of initialization the hcor pointer has been setup to > the same address as Exynos EHCI base address (0x1211 instead of > 0x12110010). > Such behaviour was caused by reading value of 0 instead of 0x10

Re: [U-Boot] [PATCH] usb: host: ehci: samsung: Move hcor initialization after usb phy setup

2015-12-10 Thread Simon Glass
On 10 December 2015 at 08:32, Lukasz Majewski wrote: > With the old order of initialization the hcor pointer has been setup to > the same address as Exynos EHCI base address (0x1211 instead of > 0x12110010). > Such behaviour was caused by reading value of 0 instead of

[U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-10 Thread Robert P. J. Day
on current project, someone handed me a patch containing (among other thigns) source and header files for support for SATA SIL3512 -- copyright shows they're under GPL. rather than carrying around that part of the patch, is it worth simply handing that over to u-boot to add under

Re: [U-Boot] [PATCH] common: cli_hush: Do a simple recursive variables parsing

2015-12-10 Thread Simon Glass
Hi Wolfgang, On 6 December 2015 at 23:28, Wolfgang Denk wrote: > Dear Simon, > > In message >

[U-Boot] [PATCH 4/8] mips: vct: move CONFIG_SYS_TEXT_BASE away from config.mk

2015-12-10 Thread Masahiro Yamada
We can delete board/micronas/vct/config.mk by moving the define of CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are still defining it in include/config/${BOARD}.h, so I am following that way here. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH 5/8] mips: dbau1x00: move CONFIG_SYS_TEXT_BASE away from config.mk

2015-12-10 Thread Masahiro Yamada
We can delete board/dbau1x00/config.mk by moving the define of CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are still defining it in include/config/${BOARD}.h, so I am following that way here. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH 6/8] mips: pb1x00: move CONFIG_SYS_TEXT_BASE away from config.mk

2015-12-10 Thread Masahiro Yamada
We can delete board/pb1x00/config.mk by moving the define of CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are still defining it in include/config/${BOARD}.h, so I am following that way here. Signed-off-by: Masahiro Yamada --- board/pb1x00/config.mk

[U-Boot] [PATCH 3/8] microblaze: move CONFIG_SYS_TEXT_BASE to defconfig

2015-12-10 Thread Masahiro Yamada
This is how CONFIG options are defined by Kconfig. Signed-off-by: Masahiro Yamada --- Kconfig | 2 +- board/xilinx/microblaze-generic/config.mk | 2 -- configs/microblaze-generic_defconfig | 1 + 3 files changed, 2

Re: [U-Boot] [PATCH 2/2] rockchip: Add basic support for kylin board

2015-12-10 Thread Simon Glass
On 6 December 2015 at 20:08, Lin Huang wrote: > kylin board use rk3036 SOC, 512M sdram, 8G emmc. > This add some basic files required to allow the board > to output serial message and can run command(mmc info etc). > > Signed-off-by: Lin Huang > --- >

Re: [U-Boot] [PATCH] mmc: implement mmc power on write protect function

2015-12-10 Thread Simon Glass
Hi Lin, On 3 December 2015 at 01:34, Lin Huang wrote: > set the mmc specific addresss and range as power on > write protection, and can't earse and write this range > if you enable it after mmc power on. > > Signed-off-by: Lin Huang > --- >

Re: [U-Boot] [PATCH 1/2] rockchip: rk3036 sdram setting cs1_row when rank larger than 1

2015-12-10 Thread Simon Glass
On 6 December 2015 at 20:08, Lin Huang wrote: > only rank large than 1, we will use cs1_row, so check rank, when > rank larger than 1, we set the cs1_row. > > Signed-off-by: Lin Huang > --- > arch/arm/mach-rockchip/rk3036/sdram_rk3036.c | 6 +- > 1

Re: [U-Boot] Samsung I2C driver

2015-12-10 Thread Simon Glass
+David, who is the vcma9 maintainer. Hi Przemyslaw, On 7 December 2015 at 07:00, Przemyslaw Marczak wrote: > Hello Simon, > > > On 12/07/2015 02:07 PM, Simon Glass wrote: >> >> Hi Przemyslaw, >> >> At present this driver has a few implementations and supports >>

Re: [U-Boot] [PATCH 7/8] powerpc: yucca: drop redundant CONFIG_SYS_TEXT_BASE from config.mk

2015-12-10 Thread Stefan Roese
On 11.12.2015 04:22, Masahiro Yamada wrote: The include/configs/yucca.h already has the same define: #defineCONFIG_SYS_TEXT_BASE0xfffb Remove the redundant one from board/amcc/yucca/config.mk. Signed-off-by: Masahiro Yamada ---

Re: [U-Boot] [PATCH 8/8] kbuild: drop workaround for old style CONFIG_SYS_TEXT_BASE defines

2015-12-10 Thread Stefan Roese
On 11.12.2015 04:22, Masahiro Yamada wrote: Now, there is no board defining CONFIG_SYS_TEXT_BASE by its config.mk, so this workaround is no longer needed. Signed-off-by: Masahiro Yamada --- Makefile | 6 -- 1 file changed, 6 deletions(-) diff --git

[U-Boot] Driver model test breakages

2015-12-10 Thread Simon Glass
Hi, The following three commits causes breakages in the driver model tests: 4efad20a sf: Update status reg check in spi_flash_cmd_wait_ready 45b47734 net/arp: account for ARP delay, avoid duplicate packets on timeout 9961a0b6sandbox: add a sandbox timer and basic test Can you

Re: [U-Boot] [PATCH 42/57] x86: ivybridge: Use the I2C driver to perform SMbus init

2015-12-10 Thread Simon Glass
Hi Heiiko, On 7 December 2015 at 22:48, Heiko Schocher wrote: > Hello Simon, > > Am 08.12.2015 um 04:39 schrieb Simon Glass: >> >> Move the init code into the I2C driver. >> >> Signed-off-by: Simon Glass >> --- >> >> arch/x86/cpu/ivybridge/cpu.c | 39 >>

Re: [U-Boot] dm: Introduce SPI-NOR framework

2015-12-10 Thread Simon Glass
Hi Jagan, On 8 December 2015 at 08:36, Jagan Teki wrote: > Hi Simon, > > On 8 December 2015 at 08:22, Simon Glass wrote: >> Hi Jagan, >> >> On 3 December 2015 at 03:10, Jagan Teki wrote: >>> Hi Simon, >>> >>> I re-phrase all the

[U-Boot] [PATCH 8/8] kbuild: drop workaround for old style CONFIG_SYS_TEXT_BASE defines

2015-12-10 Thread Masahiro Yamada
Now, there is no board defining CONFIG_SYS_TEXT_BASE by its config.mk, so this workaround is no longer needed. Signed-off-by: Masahiro Yamada --- Makefile | 6 -- 1 file changed, 6 deletions(-) diff --git a/Makefile b/Makefile index 028f0be..1b18300 100644

[U-Boot] [PATCH 7/8] powerpc: yucca: drop redundant CONFIG_SYS_TEXT_BASE from config.mk

2015-12-10 Thread Masahiro Yamada
The include/configs/yucca.h already has the same define: #define CONFIG_SYS_TEXT_BASE0xfffb Remove the redundant one from board/amcc/yucca/config.mk. Signed-off-by: Masahiro Yamada --- board/amcc/yucca/config.mk | 6 -- 1 file changed, 6

[U-Boot] [PATCH 2/8] m68k: M54418TWR: drop board/freescale/m54418twr/config.mk

2015-12-10 Thread Masahiro Yamada
The board/freescale/m54418twr/config.mk defined TEXT_BASE, which has the same value as CONFIG_SYS_TEXT_BASE. The TEXT_BASE is referenced by two files: - arch/m68k/cpu/mcf5445x/start.S and include/ - include/configs/M54418TWR.h Replace the references with CONFIG_SYS_TEXT_BASE and delete

[U-Boot] [PATCH 1/8] m68k: move CONFIG_SYS_TEXT_BASE to defconfig files

2015-12-10 Thread Masahiro Yamada
For historical reason, CONFIG_SYS_TEXT_BASE has been specified in various ways: [1] by board/${VENDOR}/${BOARD}/config.mk [2] by CONFIG_SYS_EXTRA_OPTIONS (This was "options" field of boards.cfg before Kconfig conversion) [3] by include/configs/${BOARD}.h [4] by configs/${BOARD}_defconfig

Re: [U-Boot] [PATCH 1/2] ns16550: update compatible and reg-shift binding

2015-12-10 Thread Thomas Chou
Hi Stephen, On 2015年12月11日 13:35, Stephen Warren wrote: On 12/10/2015 10:08 PM, Thomas Chou wrote: Update compatible and reg-shift in device tree binding. Has this change been submitted to and accepted by the Linux kernel? That's where the official DT binding documents are stored. Honestly I

[U-Boot] u-boot issue,tks~~~~

2015-12-10 Thread 贾舵
hi, in u-boot 2015-10 version I found a 'bug' cfi_flash.c --- flash_get_size() --- line /* round up when converting to ms */ info->write_tout = (tmp + 999) / 1000; this cause when open the '#define DEBUG' the function 'flash_status_check' will be 'timeout'

[U-Boot] [PATCH 0/8] m68k, mips, powerpc, kbuild: move CONFIG_SYS_TEXT_BASE

2015-12-10 Thread Masahiro Yamada
Currently, CONFIG_SYS_TEXT_BASE is defined in various ways: [1] by board/${VENDOR}/${BOARD}/config.mk [2] by CONFIG_SYS_EXTRA_OPTIONS (This was "options" field of boards.cfg before Kconfig conversion) [3] by include/configs/${BOARD}.h [4] by configs/${BOARD}_defconfig Kbuild is still

Re: [U-Boot] [PATCH v8 14/14] sf: Rename sf_ops.c to spi-flash.c

2015-12-10 Thread Jagan Teki
On Friday 11 December 2015 12:21 PM, Bin Meng wrote: Hi Jagan, On Fri, Dec 11, 2015 at 2:28 PM, Jagan Teki wrote: On Friday 11 December 2015 11:53 AM, Bin Meng wrote: Hi Jagan, On Thu, Dec 10, 2015 at 11:13 PM, Jagan Teki wrote: On 10 December

Re: [U-Boot] [PATCH 3/8] microblaze: move CONFIG_SYS_TEXT_BASE to defconfig

2015-12-10 Thread Michal Simek
On 11.12.2015 04:22, Masahiro Yamada wrote: > This is how CONFIG options are defined by Kconfig. > > Signed-off-by: Masahiro Yamada > --- > > Kconfig | 2 +- > board/xilinx/microblaze-generic/config.mk | 2 -- >

Re: [U-Boot] [PATCH] cgtqmx6eval: fix pad configuration for SPI bus

2015-12-10 Thread Otavio Salvador
On Thu, Dec 10, 2015 at 6:58 AM, Michael Schanz wrote: > Use the macro SETUP_IOMUX_PAD(...) rather than > imx_iomux_v3_setup_multiple_pads(...) in order to setup > the pin configuration for ECSPI1. > > ARRAY_SIZE(pads) provides the wrong size for >

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-12-10 Thread Vishnu Patekar
Hello Hans, Nice to see it boots from SD, after clock stable changes.:) On Thu, Dec 10, 2015 at 6:22 PM, Hans de Goede wrote: > Hi, > > On 11/30/2015 04:39 PM, Vishnu Patekar wrote: >> >> Hello Hans, >> >> >> >> On Mon, Nov 30, 2015 at 4:13 PM, Hans de Goede

Re: [U-Boot] [PATCH 00/24] usb: s3c-otg: Rename driver to dwc2-otg

2015-12-10 Thread Lukasz Majewski
Hi Marek, > On Wednesday, December 09, 2015 at 05:06:52 PM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Wednesday, December 09, 2015 at 04:02:58 PM, Lukasz Majewski > > > wrote: > > > > Hi Marek, > > > > > > > > > On Wednesday, December 09, 2015 at 10:37:42 AM, Lukasz > > > > > Majewski >

[U-Boot] Please pull from u-boot-i2c

2015-12-10 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c master The following changes since commit 789fa275b3750e60c60cb3d18eabc9467892c257: x86: Remove HAVE_ACPI_RESUME (2015-12-09 17:44:56 +0800) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master for you to fetch changes up

Re: [U-Boot] [PATCH 1/2] ns16550: update compatible and reg-shift binding

2015-12-10 Thread Stephen Warren
On 12/10/2015 10:08 PM, Thomas Chou wrote: > Update compatible and reg-shift in device tree binding. Has this change been submitted to and accepted by the Linux kernel? That's where the official DT binding documents are stored. Honestly I think we should remove the copies in U-Boot to avoid

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-10 Thread Stefan Roese
Hi Simon, On 11.12.2015 05:45, Stefan Roese wrote: Hi Simon, On 10.12.2015 16:36, Simon Glass wrote: Hi Stefan, On 9 December 2015 at 23:58, Stefan Roese wrote: Hi Simon, On 08.12.2015 03:46, Simon Glass wrote: Hi Stefan, On 4 December 2015 at 00:45, Stefan Roese

[U-Boot] [PATCH v2 4/9] x86: fsp: Rename shared_data to fsp_config_data

2015-12-10 Thread Bin Meng
FSP has several config data like UPD, HDA verb table which can be overridden or provided by bootloader. Currently in U-Boot only UPD is handled via struct shared_data. To accommodate any platform, we rename shared_data to fsp_config_data and move the definition from common place fsp_support.h to

[U-Boot] [PATCH v2 5/9] x86: fsp: Rename update_fsp_upd() and change its signature

2015-12-10 Thread Bin Meng
To support platform-specific configurations (might not always be UPD on some platform), use a better name update_fsp_configs() and accepct struct fsp_config_data as its parameter so that platform codes can handle whatever configuration data for that FSP. Signed-off-by: Bin Meng

[U-Boot] [PATCH v2 6/9] x86: fsp: Introduce CONFIG_FSP_USE_UPD Kconfig option

2015-12-10 Thread Bin Meng
Not every FSP supports UPD, thus we introduce a Kconfig option CONFIG_FSP_USE_UPD and use it to wrap these common UPD handling codes in fsp_support.c. Signed-off-by: Bin Meng --- Changes in v2: - New patch to introduce CONFIG_FSP_USE_UPD Kconfig option arch/x86/Kconfig

[U-Boot] [PATCH v2 7/9] x86: queensbay: Remove invalid comments in update_fsp_configs()

2015-12-10 Thread Bin Meng
Those comments in update_fsp_configs() are not correct. Remove them. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/queensbay/fsp_configs.c | 6 -- 1 file changed, 6 deletions(-) diff --git

[U-Boot] [PATCH v2 2/9] x86: fsp: Avoid cast stack_top in struct shared_data

2015-12-10 Thread Bin Meng
Declare stack_top as u32 in struct shared_data and struct common_buf so that we can avoid casting in fsp_init(). Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/include/asm/fsp/fsp_api.h | 2 +-

[U-Boot] [PATCH v2 8/9] x86: fsp: Move struct fspinit_rtbuf definition to chipset header

2015-12-10 Thread Bin Meng
All FSP spec v1.0 complaint FSP binary uses struct fspinit_rtbuf as defined by the 1.0 spec, however there are FSPs that does not follow 1.0 spec (possible due to that FSP predates the 1.0 spec), and future FSP binary that is complaint to v1.1 spec defines an optional paltform-specific runtime

Re: [U-Boot] [PATCH v8 14/14] sf: Rename sf_ops.c to spi-flash.c

2015-12-10 Thread Bin Meng
Hi Jagan, On Thu, Dec 10, 2015 at 11:13 PM, Jagan Teki wrote: > On 10 December 2015 at 07:01, Bin Meng wrote: >> On Wed, Dec 9, 2015 at 12:54 PM, Simon Glass wrote: >>> On 6 December 2015 at 11:34, Jagan Teki

Re: [U-Boot] [PATCH v8 01/14] sf: spi_flash_validate_params => spi_flash_scan

2015-12-10 Thread Bin Meng
Hi Jagan, On Thu, Dec 10, 2015 at 11:16 PM, Jagan Teki wrote: > On 10 December 2015 at 07:00, Bin Meng wrote: >> On Mon, Dec 7, 2015 at 2:34 AM, Jagan Teki wrote: >>> Rename spi_flash_validate_params to spi_flash_scan >>> as this code

Re: [U-Boot] [PATCH v8 01/14] sf: spi_flash_validate_params => spi_flash_scan

2015-12-10 Thread Jagan Teki
On Friday 11 December 2015 11:51 AM, Bin Meng wrote: Hi Jagan, On Thu, Dec 10, 2015 at 11:16 PM, Jagan Teki wrote: On 10 December 2015 at 07:00, Bin Meng wrote: On Mon, Dec 7, 2015 at 2:34 AM, Jagan Teki wrote: Rename

  1   2   >