[U-Boot] [PATCH 1/2] clk: add static qualifier to local functions

2016-01-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- drivers/clk/clk_rk3036.c | 2 +- drivers/clk/clk_rk3288.c | 2 +- drivers/clk/clk_sandbox.c | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/clk/clk_rk3036.c b/drivers/clk/clk_rk3036.c index 6c802b6..f650810 100644 --- a/drive

[U-Boot] [PATCH 2/2] clk: change the type of return value to long

2016-01-11 Thread Masahiro Yamada
The comments in include/clk.h state "or -ve error code" for these functions, and actually the functions return negative error code here and there. Returning unsigned value is not suitable. Signed-off-by: Masahiro Yamada --- drivers/clk/clk-uclass.c | 8 drivers/clk/clk_rk3036.c |

[U-Boot] [PATCH] clk: move Kconfig options into sub-menu

2016-01-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- drivers/clk/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 890f22f..9fcde39 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -1,3 +1,5 @@ +menu "Clock" + config CLK bool "Ena

Re: [U-Boot] [PATCH 0/8] Convert lpuart serial driver to driver model

2016-01-11 Thread Bin Meng
Hi Bhuvanchandra, On Tue, Jan 12, 2016 at 2:43 PM, Bhuvanchandra DV wrote: > Hi Bin, > > > On 01/12/2016 11:05 AM, Bin Meng wrote: >> >> Hi Bhuvanchandra, >> >> On Tue, Jan 12, 2016 at 12:28 PM, Bhuvanchandra DV >> wrote: >>> >>> - Convert lpuart driver to driver model and remove the legacy code

[U-Boot] [PATCH 1/5] power: axp818: Remove duplicate register definition macros

2016-01-11 Thread Chen-Yu Tsai
Some of the register definitions are duplicated. Drop them. Signed-off-by: Chen-Yu Tsai --- include/axp818.h | 8 1 file changed, 8 deletions(-) diff --git a/include/axp818.h b/include/axp818.h index 1dc6456..46d05ad 100644 --- a/include/axp818.h +++ b/include/axp818.h @@ -32,13 +32,6

[U-Boot] [PATCH 5/5] sunxi: power: axp818: Enable support for ALDOs

2016-01-11 Thread Chen-Yu Tsai
Previously, AXP818 ALDO support was partially added to Kconfig, but never enabled in the board file, nor properly set or configured in Kconfig. The boards continue to work because the AXP818 is designed to pair with the A83T/H8, and the default voltages match the reference design's requirements. S

[U-Boot] [PATCH 2/5] power: axp: merge separate DLDO functions into 1

2016-01-11 Thread Chen-Yu Tsai
Instead of one function for each DLDO regulator, make 1 function that takes an extra "index". Since the control bits for the DLDO regulators are contiguous, this makes the function very simple. This removes a lot of duplicate code. Signed-off-by: Chen-Yu Tsai --- board/sunxi/board.c| 8 ++--

[U-Boot] [PATCH 3/5] power: axp818: Add support for DLDO and ELDO regulators

2016-01-11 Thread Chen-Yu Tsai
AXP818 provides an array of LDOs to provide power to various peripherals. None of these regulators are critical. Signed-off-by: Chen-Yu Tsai --- drivers/power/Kconfig | 12 ++-- drivers/power/axp818.c | 44 2 files changed, 50 insertions(+),

[U-Boot] [PATCH 4/5] sunxi: h8_homlet_v2: Drop LDO settings from defconfig

2016-01-11 Thread Chen-Yu Tsai
The LDO settings in this defconfig are either wrong (ALDOs must not be 0) or the same as Kconfig defaults. Signed-off-by: Chen-Yu Tsai --- configs/h8_homlet_v2_defconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/configs/h8_homlet_v2_defconfig b/configs/h8_homlet_v2_defconfig index dc

[U-Boot] [PATCH 0/5] sunxi: power: axp818: Support ALDO/DLDO/ELDOs

2016-01-11 Thread Chen-Yu Tsai
Hi everyone, This series adds proper support for ALDO/DLDO/ELDOs on AXP818. FLDOs aren't covered yet, though the hardware defaults should work nicely with sane hardware. ALDO functions aren't consolidated or cleaned up either. Patch 1 cleans up the axp818 header. Patch 2 merges the separate axp2

Re: [U-Boot] [PATCH 0/8] Convert lpuart serial driver to driver model

2016-01-11 Thread Bhuvanchandra DV
Hi Bin, On 01/12/2016 11:05 AM, Bin Meng wrote: Hi Bhuvanchandra, On Tue, Jan 12, 2016 at 12:28 PM, Bhuvanchandra DV wrote: - Convert lpuart driver to driver model and remove the legacy code. - Update Toradex Colibri VF50/VF61 serial support with driver model. - Update Freescale vf610twr seri

[U-Boot] [PATCH 13/17] net: tsec: Add driver model ethernet support

2016-01-11 Thread Bin Meng
This adds driver model support to Freescale TSEC ethernet driver. Signed-off-by: Bin Meng --- drivers/net/tsec.c | 186 + include/tsec.h | 10 +++ 2 files changed, 196 insertions(+) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c in

[U-Boot] [PATCH 17/17] arm: ls1021atwr: Convert to use driver model TSEC driver

2016-01-11 Thread Bin Meng
Now that we have added driver model support to the TSEC driver, convert ls1021atwr board to use it. This depends on previous DM series for ls1021atwr: http://patchwork.ozlabs.org/patch/561855/ Signed-off-by: Bin Meng --- arch/arm/cpu/armv7/ls102xa/cpu.c| 2 +- arch/arm/cpu/armv7/ls102

[U-Boot] [PATCH 14/17] net: tsec: Use priv->tbiaddr to initialize TBI PHY address

2016-01-11 Thread Bin Meng
Add a new member 'tbiaddr' to tsec_private struct. For non-DM driver, it is initialized as CONFIG_SYS_TBIPA_VALUE, but for DM driver, we can get this from device tree. Update the bindings doc as well. Signed-off-by: Bin Meng --- doc/device-tree-bindings/net/fsl-tsec-phy.txt | 21 +++

[U-Boot] [PATCH 16/17] arm: ls1021atwr: Disable CONFIG_E1000 temporarily

2016-01-11 Thread Bin Meng
Before we switch to use driver model ethernet support, disable CONFIG_E1000 temporarily as with driver model ethernet, E1000 driver depends on driver model PCI which is not ready on this board yet. Signed-off-by: Bin Meng --- configs/ls1021atwr_nor_defconfig| 1 - configs/ls1021atwr_nor

[U-Boot] [PATCH 11/17] net: tsec: Use tsec_private pointer as the parameter for internal routines

2016-01-11 Thread Bin Meng
For internal routines like redundant_init(), startup_tsec() and init_phy(), change to use tsec_private pointer as the parameter. Signed-off-by: Bin Meng --- drivers/net/tsec.c | 23 +++ include/tsec.h | 1 + 2 files changed, 12 insertions(+), 12 deletions(-) diff --git

[U-Boot] [PATCH 12/17] doc: dt-bindings: Describe Freescale TSEC ethernet controller

2016-01-11 Thread Bin Meng
Adapted from the same file name in the kernel device tree bindings documentation, to use with U-Boot. Signed-off-by: Bin Meng --- doc/device-tree-bindings/net/fsl-tsec-phy.txt | 43 +++ 1 file changed, 43 insertions(+) create mode 100644 doc/device-tree-bindings/net/fsl

[U-Boot] [PATCH 15/17] arm: ls102xa: Rewrite the logic of ft_fixup_enet_phy_connect_type()

2016-01-11 Thread Bin Meng
eth_get_dev_by_index() is an API which is not available in driver model. Use eth_get_dev_by_name() instead, which can also simplifly the code logic a little bit. Signed-off-by: Bin Meng --- arch/arm/cpu/armv7/ls102xa/fdt.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-)

[U-Boot] [PATCH 08/17] net: tsec: Move rx_idx and tx_idx to struct tsec_private

2016-01-11 Thread Bin Meng
At present rx_idx and tx_idx are declared as static variables in the driver codes. To support multiple interfaces, move it to struct tsec_private. Signed-off-by: Bin Meng --- drivers/net/tsec.c | 54 ++ include/tsec.h | 2 ++ 2 files chan

[U-Boot] [PATCH 10/17] net: tsec: Adjust orders to avoid forward declaration of tsec_send()

2016-01-11 Thread Bin Meng
Adjust static functions in a proper order so that forward declaration of tsec_send() can be avoided. Signed-off-by: Bin Meng --- drivers/net/tsec.c | 208 ++--- 1 file changed, 103 insertions(+), 105 deletions(-) diff --git a/drivers/net/tsec.c b

[U-Boot] [PATCH 02/17] powerpc: c29xpcie: Do not wrap pci_eth_init() with CONFIG_TSEC_ENET

2016-01-11 Thread Bin Meng
The call to pci_eth_init() should not be wrapped with CONFIG_TSEC_ENET. Signed-off-by: Bin Meng --- board/freescale/c29xpcie/c29xpcie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/c29xpcie/c29xpcie.c b/board/freescale/c29xpcie/c29xpcie.c index f42d37

[U-Boot] [PATCH 03/17] powerpc: mpc8572ds: Do not wrap pci_eth_init() with CONFIG_TSEC_ENET

2016-01-11 Thread Bin Meng
The call to pci_eth_init() should not be wrapped with CONFIG_TSEC_ENET. Signed-off-by: Bin Meng --- board/freescale/mpc8572ds/mpc8572ds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/mpc8572ds/mpc8572ds.c b/board/freescale/mpc8572ds/mpc8572ds.c index

[U-Boot] [PATCH 05/17] powerpc: p1010rdb: Do not wrap pci_eth_init() with CONFIG_TSEC_ENET

2016-01-11 Thread Bin Meng
The call to pci_eth_init() should not be wrapped with CONFIG_TSEC_ENET. Signed-off-by: Bin Meng --- board/freescale/p1010rdb/p1010rdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c index ebffe9

[U-Boot] [PATCH 06/17] arm: ls1021atwr: Do not wrap pci_eth_init() with CONFIG_TSEC_ENET

2016-01-11 Thread Bin Meng
The call to pci_eth_init() should not be wrapped with CONFIG_TSEC_ENET. Signed-off-by: Bin Meng --- board/freescale/ls1021atwr/ls1021atwr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c

[U-Boot] [PATCH 09/17] net: tsec: Move rxbd and txbd to struct tsec_private

2016-01-11 Thread Bin Meng
rxbd and txbd are declared static with 8 byte alignment requirement, but they can be put into struct tsec_private as well and are natually aligned to 8 byte. Signed-off-by: Bin Meng --- drivers/net/tsec.c | 69 +- include/tsec.h | 4

[U-Boot] [PATCH 04/17] powerpc: mpc8548cds: Do not wrap pci_eth_init() with CONFIG_TSEC_ENET

2016-01-11 Thread Bin Meng
The call to pci_eth_init() should not be wrapped with CONFIG_TSEC_ENET. Signed-off-by: Bin Meng --- board/freescale/mpc8548cds/mpc8548cds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c

[U-Boot] [PATCH 07/17] net: tsec: fsl_mdio: Fix several cosmetic issues

2016-01-11 Thread Bin Meng
Clean up the tsec and fsl_mdio driver codes a little bit, by: - Fix misuse of tab and space here and there - Use correct multi-line comment format - Replace license identifier to GPL-2.0+ Signed-off-by: Bin Meng --- drivers/net/fsl_mdio.c | 4 ++-- drivers/net/tsec.c | 61 +

[U-Boot] [PATCH 01/17] powerpc: bsc9132qds: Do not wrap pci_eth_init() with CONFIG_TSEC_ENET

2016-01-11 Thread Bin Meng
The call to pci_eth_init() should not be wrapped with CONFIG_TSEC_ENET. Signed-off-by: Bin Meng --- board/freescale/bsc9132qds/bsc9132qds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/bsc9132qds/bsc9132qds.c b/board/freescale/bsc9132qds/bsc9132qds.c

[U-Boot] [PATCH 00/17] arm: ls1021atwr: Convert to use driver model TSEC driver

2016-01-11 Thread Bin Meng
This series adds driver model ethernet support to the Freescale TSEC ethernet driver and convert ls1021atwr board to use it. Enable the support in the ls1021atwr_nor_defconfig and ls1021atwr_nor_lpuart_defconfig configurations. Bin Meng (17): powerpc: bsc9132qds: Do not wrap pci_eth_init() wit

Re: [U-Boot] [PATCH 0/8] Convert lpuart serial driver to driver model

2016-01-11 Thread Bin Meng
Hi Bhuvanchandra, On Tue, Jan 12, 2016 at 12:28 PM, Bhuvanchandra DV wrote: > - Convert lpuart driver to driver model and remove the legacy code. > - Update Toradex Colibri VF50/VF61 serial support with driver model. > - Update Freescale vf610twr serial support with driver model. > - Update Frees

[U-Boot] [PATCH 6/8] ls1021x: Update enabling lpuart with driver model

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- arch/arm/include/asm/arch-ls102xa/serial.h | 16 board/freescale/ls1021atwr/ls1021atwr.c| 15 ++- include/configs/ls1021atwr.h | 1 + 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 arch/arm/i

[U-Boot] [PATCH 3/8] arm: vf610twr: Enable driver model support

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- configs/vf610twr_defconfig | 1 + configs/vf610twr_nand_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/vf610twr_defconfig b/configs/vf610twr_defconfig index dc8df5c..46b4e00 100644 --- a/configs/vf610twr_defconfig +++ b/configs/vf6

[U-Boot] [PATCH 2/8] colibri_vf: Update enabling lpuart support with driver model

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- board/toradex/colibri_vf/colibri_vf.c | 13 + include/configs/colibri_vf.h | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/board/toradex/colibri_vf/colibri_vf.c b/board/toradex/colibri_vf/colibri_vf.c index c65

[U-Boot] [PATCH 5/8] arm: ls102xa: Enable driver model support

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- configs/ls1021atwr_nor_lpuart_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls1021atwr_nor_lpuart_defconfig b/configs/ls1021atwr_nor_lpuart_defconfig index d7afca9..d52181b 100644 --- a/configs/ls1021atwr_nor_lpuart_defconfig +++ b/conf

[U-Boot] [PATCH 8/8] pcm052: Update enabling lpuart support with driver model

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- board/phytec/pcm052/pcm052.c | 13 + include/configs/pcm052.h | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c index e4f61e1..3f2ed38 100644 --- a/board/phyt

[U-Boot] [PATCH 4/8] vf610twr: Update enabling lpuart with driver model

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- board/freescale/vf610twr/vf610twr.c | 13 + include/configs/vf610twr.h | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/board/freescale/vf610twr/vf610twr.c b/board/freescale/vf610twr/vf610twr.c index 37b241d..3c

[U-Boot] [PATCH 1/8] dm: lpuart: Add driver model support for the serial driver

2016-01-11 Thread Bhuvanchandra DV
Convert lpuart driver to driver model and remove the legacy code. Signed-off-by: Bhuvanchandra DV --- arch/arm/include/asm/arch-vf610/serial.h | 16 drivers/serial/Kconfig | 6 ++ drivers/serial/serial_lpuart.c | 148 --- 3 files ch

[U-Boot] [PATCH 7/8] arm: pcm052: Enable driver model support

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- configs/pcm052_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pcm052_defconfig b/configs/pcm052_defconfig index 9125645..12fdc0c 100644 --- a/configs/pcm052_defconfig +++ b/configs/pcm052_defconfig @@ -1,5 +1,6 @@ CONFIG_ARM=y CONFIG_TA

[U-Boot] [PATCH 0/8] Convert lpuart serial driver to driver model

2016-01-11 Thread Bhuvanchandra DV
- Convert lpuart driver to driver model and remove the legacy code. - Update Toradex Colibri VF50/VF61 serial support with driver model. - Update Freescale vf610twr serial support with driver model. - Update Freescale ls1021atwr serial support with driver model. - Update Phytec pcm052 serial suppor

Re: [U-Boot] [PATCH v2 03/13] drivers: pinctrl: Add pinctrl driver for Microchip PIC32 microcontroller

2016-01-11 Thread Purna Chandra Mandal
On 01/11/2016 10:28 PM, Simon Glass wrote: > Hi, > > On 7 January 2016 at 23:46, Purna Chandra Mandal > wrote: >> On 01/08/2016 09:04 AM, Simon Glass wrote: >> >>> Hi Purna, >>> >>> On 4 January 2016 at 07:00, Purna Chandra Mandal >>> wrote: Signed-off-by: Purna Chandra Mandal >>> Ple

Re: [U-Boot] [PATCH v2 05/13] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-11 Thread Purna Chandra Mandal
On 01/11/2016 10:27 PM, Simon Glass wrote: > Hi, > > On 4 January 2016 at 07:01, Purna Chandra Mandal > wrote: >> Signed-off-by: Paul Thacker >> Signed-off-by: Purna Chandra Mandal > Please add a commit message. Agreed, Will add. >> --- >> >> Changes in v2: >> - move ddr2 initialization from

Re: [U-Boot] [PATCH v2 02/13] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-11 Thread Purna Chandra Mandal
On 01/11/2016 10:27 PM, Simon Glass wrote: > Hi, > > On 4 January 2016 at 07:00, Purna Chandra Mandal > wrote: >> Signed-off-by: Purna Chandra Mandal >> > Commit message please. Ack. Will add. >> --- >> >> Changes in v2: >> - add get clock rate for mpll clock >> >> .../clock/microchip,pic32-cl

Re: [U-Boot] [PATCH v2 02/13] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-11 Thread Purna Chandra Mandal
On 01/11/2016 09:46 PM, Daniel Schwierzeck wrote: > Am Montag, den 04.01.2016, 19:30 +0530 schrieb Purna Chandra Mandal: >> Signed-off-by: Purna Chandra Mandal >> >> --- >> >> Changes in v2: >> - add get clock rate for mpll clock >> >> .../clock/microchip,pic32-clock.txt| 28 ++

Re: [U-Boot] [PATCH v6 8/8] x86: qemu: add documentaion for the fw_cfg interface

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: > Document the usage of 'qfw' command > > Signed-off-by: Miao Yan > Reviewed-by: Simon Glass > Reviewed-by: Bin Meng > --- applied to u-boot-x86/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [PATCH v6 7/8] x86: qemu: remove cpu node in device tree

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: > Remove 'cpu' node in device tree for QEMU targets, and let U-Boot detect > and fix up those information at runtime. > > Signed-off-by: Miao Yan > Reviewed-by: Simon Glass > Reviewed-by: Bin Meng > --- applied to u-boot-x86/next, thanks! ___

Re: [U-Boot] [PATCH v6 6/8] x86: qemu: fix cpu device in smp boot

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: > Currently, when booting with more that one CPU enabled, U-Boot scans > 'cpu' node in device tree and calculates CPU number. This does not scale > well as changing CPU number also requires modifying .dts and re-compiling > U-Boot. > > This patch use

Re: [U-Boot] [PATCH v6 2/8] x86: qemu: add fw_cfg support

2016-01-11 Thread Bin Meng
On Tue, Jan 12, 2016 at 11:47 AM, Bin Meng wrote: > On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: >> The QEMU fw_cfg interface allows the guest to retrieve various data >> information from QEMU. For example, APCI/SMBios tables, number of online >> cpus, kernel data and command line, etc. >> >>

Re: [U-Boot] [PATCH v6 4/8] x86: fix a typo in function name

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: > Rename 'find_cpu_by_apid_id' to 'find_cpu_by_apic_id'. This should be a > typo. > > Signed-off-by: Miao Yan > Reviewed-by: Simon Glass > Reviewed-by: Bin Meng > --- applied to u-boot-x86/next, thanks! ___

Re: [U-Boot] [PATCH v6 3/8] x86: qemu: add a cpu uclass driver for qemu target

2016-01-11 Thread Bin Meng
On Tue, Jan 12, 2016 at 11:48 AM, Bin Meng wrote: > On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: >> Add a cpu uclass driver for qemu. Previously, the qemu target gets cpu >> number from board dts files, which are manually created at compile time. >> This does not scale when more cpus are assig

Re: [U-Boot] [PATCH v6 5/8] x86: use actual CPU number for allocating memory

2016-01-11 Thread Bin Meng
On Tue, Jan 12, 2016 at 11:48 AM, Bin Meng wrote: > On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: >> Use actual CPU number, instead of maximum cpu configured, to allocate >> stack memory in 'load_sipi_vector' >> >> Signed-off-by: Miao Yan >> Reviewed-by: Simon Glass >> Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH v6 1/8] x86: adjust ramdisk load address

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:31 PM, Miao Yan wrote: > By default, ramdisk load address is defined to 0200 in env string. > When loading bzImage to 0100 (default address), there's a chance that > the ramdisk header would be overwritten by the kernel. Thus increase the > gap and make ramdisk loa

Re: [U-Boot] [PATCH v6 0/8] x86: qemu: add fw_cfg interface support for qemu-x86 targets

2016-01-11 Thread Bin Meng
Hi Miao, On Tue, Jan 12, 2016 at 10:04 AM, Miao Yan wrote: > Hi Bin, > > 2016-01-07 17:31 GMT+08:00 Miao Yan : >> The fw_cfg interface provided by QEMU allow guests to retrieve various >> information >> about the system, e.g. cpu number, variaous firmware data, kernel setup, >> etc. The >> fw_c

Re: [U-Boot] [PATCH v6 5/8] x86: use actual CPU number for allocating memory

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: > Use actual CPU number, instead of maximum cpu configured, to allocate > stack memory in 'load_sipi_vector' > > Signed-off-by: Miao Yan > Reviewed-by: Simon Glass > Reviewed-by: Bin Meng > --- > arch/x86/cpu/mp_init.c | 6 +++--- > 1 file change

Re: [U-Boot] [PATCH v6 3/8] x86: qemu: add a cpu uclass driver for qemu target

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: > Add a cpu uclass driver for qemu. Previously, the qemu target gets cpu > number from board dts files, which are manually created at compile time. > This does not scale when more cpus are assigned to guest as the dts files > must be modified as well

Re: [U-Boot] [PATCH v6 2/8] x86: qemu: add fw_cfg support

2016-01-11 Thread Bin Meng
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan wrote: > The QEMU fw_cfg interface allows the guest to retrieve various data > information from QEMU. For example, APCI/SMBios tables, number of online > cpus, kernel data and command line, etc. > > This patch adds support for QEMU fw_cfg interface. > > Sig

Re: [U-Boot] [Patch V3 3/3] armv8/ls1043aqds: add QSPI boot support

2016-01-11 Thread Qianyu Gong
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Tuesday, January 12, 2016 1:47 AM > To: Qianyu Gong ; u-boot@lists.denx.de > Cc: b07...@freescale.com; b48...@freescale.com; > wenbin.s...@freescale.com; Mingkai Hu > Subject: Re: [U-Boot] [Patch V3 3/3] armv8/ls10

Re: [U-Boot] [PATCH v2 4/4] sunxi: Add suport for A83T based Banana-pi M3 Board

2016-01-11 Thread Chen-Yu Tsai
Hi, On Tue, Jan 12, 2016 at 1:21 AM, Vishnu Patekar wrote: > Add dts and defconfig for Banana-pi M3 board. > > It has 2G LPDDR3, UART, ethernet, USB, HDMI, USB Sata, MIPI DSI, > mic, AP6212 Wifi, etc on it. > It is paired with AXP813 PMIC which is almost same as AXP818. > > Signed-off-by: Vishnu

Re: [U-Boot] [PATCH v1 5/6] rockchip: kylin: Enable boot with android boot image

2016-01-11 Thread Jeffy Chen
Hi Simon, On 2016-1-12 0:58, Simon Glass wrote: Hi Jeffy, On 8 January 2016 at 03:51, Jeffy Chen wrote: Hi Simon, On 2016-1-8 11:34, Simon Glass wrote: Hi Jeffy, On 4 January 2016 at 00:50, Jeffy Chen wrote: The android kernel is using appended dtb by default, and store ramdisk right aft

[U-Boot] Newbie to u-boot needs help! Please help if you can

2016-01-11 Thread Kevin Alexander
Hello I am making a bigeffort to try to acquire knowledge regarding embedded Linux. Myprimary reference is the book entitled 'Embedded Linux Primer, SecondEdition A Practical, Real-World Approach' by Christopher Hallinan,published 2010 I have reachedchapter 7, 'Bootloaders', and I am having a fe

[U-Boot] [PATCH v3] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Dalon Westergreen
The hps_isw_handoff and bsp/generated folders are typically not in the same path. This patch adds support for specifying the different input directories for the bsp and quartus projects. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut --- Changes for v2: - Add commit message Changes f

[U-Boot] [PATCH v4] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Dalon Westergreen
The hps_isw_handoff and bsp/generated folders are typically not in the same path. This patch adds support for specifying the different input directories for the bsp and quartus projects. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut --- Changes for v2: - Add commit message Changes f

[U-Boot] [PATCH] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Dalon Westergreen
The hps_isw_handoff and bsp/generated folders are typically not in the same path. This patch adds support for specifying the different input directories for the bsp and quartus projects. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut --- arch/arm/mach-socfpga/qts-filter.sh | 69 ++

[U-Boot] [PATCH v5] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Dalon Westergreen
The hps_isw_handoff and bsp/generated folders are typically not in the same path.This patch adds support for specifying the different input directories for the bsp and quartus projects. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut Acked-by: Chin Liang See --- Changes for v2: - Add c

[U-Boot] [PATCH] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Dalon Westergreen
Signed-off-by: Dalon Westergreen --- arch/arm/mach-socfpga/qts-filter.sh | 69 - 1 file changed, 38 insertions(+), 31 deletions(-) diff --git a/arch/arm/mach-socfpga/qts-filter.sh b/arch/arm/mach-socfpga/qts-filter.sh index c1640bc..835ca2c 100755 --- a/arch/

Re: [U-Boot] [PATCH v6 0/8] x86: qemu: add fw_cfg interface support for qemu-x86 targets

2016-01-11 Thread Miao Yan
Hi Bin, 2016-01-07 17:31 GMT+08:00 Miao Yan : > The fw_cfg interface provided by QEMU allow guests to retrieve various > information > about the system, e.g. cpu number, variaous firmware data, kernel setup, etc. > The > fw_cfg interface can be accessed through 3 IO ports (on x86), using x86 in/

Re: [U-Boot] [PATCH v4] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Marek Vasut
On Tuesday, January 12, 2016 at 02:49:14 AM, Dalon Westergreen wrote: > The hps_isw_handoff and bsp/generated folders are typically not in the same > path. This patch adds support for specifying the different input > directories for the bsp and quartus projects. Still not aligned to 80 :-) But I a

Re: [U-Boot] [PATCH v3] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Chin Liang See
On Tue, 2016-01-12 at 01:31 +0100, Marek Vasut wrote: > On Tuesday, January 12, 2016 at 01:26:58 AM, Chin Liang See wrote: > > On Mon, 2016-01-11 at 15:33 -0800, Dalon Westergreen wrote: > [...] > > btw. Completely off-topic, but is there any chance altera will > release the > algorithm to comp

Re: [U-Boot] [PATCH v3] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Marek Vasut
On Tuesday, January 12, 2016 at 01:26:58 AM, Chin Liang See wrote: > On Mon, 2016-01-11 at 15:33 -0800, Dalon Westergreen wrote: > > The hps_isw_handoff and bsp/generated folders are typically not in > > the same path. This patch adds support for specifying the different > > input directories for t

Re: [U-Boot] [PATCH v3] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Chin Liang See
On Mon, 2016-01-11 at 15:33 -0800, Dalon Westergreen wrote: > The hps_isw_handoff and bsp/generated folders are typically not in > the same path. This patch adds support for specifying the different > input directories for the bsp and quartus projects. > > Signed-off-by: Dalon Westergreen > Acked

Re: [U-Boot] [PATCH v3] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Marek Vasut
On Tuesday, January 12, 2016 at 12:33:18 AM, Dalon Westergreen wrote: > The hps_isw_handoff and bsp/generated folders are typically not in the same > path. This patch adds support for specifying the different input > directories for the bsp and quartus projects. The commit message is still not ali

Re: [U-Boot] [PATCH] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Marek Vasut
On Monday, January 11, 2016 at 11:51:10 PM, Dalon Westergreen wrote: > The hps_isw_handoff and bsp/generated folders are typically not in the same > path. This patch adds support for specifying the different input > directories for the bsp and quartus projects. Next time, please align to 80 chars

Re: [U-Boot] [PATCH] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories

2016-01-11 Thread Marek Vasut
On Monday, January 11, 2016 at 11:28:37 PM, Dalon Westergreen wrote: Please add a commit message explaining why this change is needed. I have no comments about the patch, so just add my Acked-by: Marek Vasut when you repost. I will pick it for the next release. Also, it's a good idea to CC Din

Re: [U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-11 Thread Tom Rini
On Mon, Jan 11, 2016 at 04:19:49PM -0200, Fabio Estevam wrote: > Hi Wolfgang, > > On Thu, Jan 7, 2016 at 2:43 PM, Wolfgang Denk wrote: > > > Sorry for the delay. I used the Xmas break to update our machines to > > FC23, and for some unclear reason the Inotify System Scheduler stopped > > running

Re: [U-Boot] [PATCH v1 09/16] ehci: Add support for Qualcomm EHCI

2016-01-11 Thread Marek Vasut
On Monday, January 11, 2016 at 10:39:46 PM, Mateusz Kulikowski wrote: > On 06.01.2016 22:04, Marek Vasut wrote: > > On Wednesday, January 06, 2016 at 07:21:21 PM, Mateusz Kulikowski wrote: > >> This driver is able to reconfigure OTG controller into HOST mode. > >> Board can add board-specific initi

Re: [U-Boot] [PATCH v1 16/16] board: Add Qualcomm Dragonboard 410C support

2016-01-11 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 11.01.2016 17:58, Simon Glass wrote: > Hi, > > On 6 January 2016 at 11:21, Mateusz Kulikowski > wrote: >> This commit add support for 96Boards Dragonboard410C. [...] >> + usb_hub_reset_n_pm { >> + gpios = <&pmic_gpios 2

Re: [U-Boot] [PATCH v1 16/16] board: Add Qualcomm Dragonboard 410C support

2016-01-11 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 07.01.2016 11:23, Sjoerd Simons wrote: > On Wed, 2016-01-06 at 19:21 +0100, Mateusz Kulikowski wrote: >> This commit add support for 96Boards Dragonboard410C. >> >> diff --git a/include/configs/dragonboard410c.h >> b/include/configs/dragonbo

Re: [U-Boot] [PATCH v1 10/16] drivers: Add SPMI bus uclass

2016-01-11 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon , On 11.01.2016 17:57, Simon Glass wrote: [...] >> @@ -0,0 +1,10 @@ >> +menu "SPMI support" >> + >> +config DM_SPMI > > Can we just use SPMI, or is that is use? We want to remove all the DM_ > options when everything is converted to driver

Re: [U-Boot] [PATCH v1 09/16] ehci: Add support for Qualcomm EHCI

2016-01-11 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06.01.2016 22:04, Marek Vasut wrote: > On Wednesday, January 06, 2016 at 07:21:21 PM, Mateusz Kulikowski wrote: >> This driver is able to reconfigure OTG controller into HOST mode. >> Board can add board-specific initialization as board_prepare_us

Re: [U-Boot] [PATCH v1 05/16] usb: ulpi: Add Kconfig options for ULPI

2016-01-11 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 08.01.2016 00:18, Simon Glass wrote: > Hi, > > On 7 January 2016 at 15:12, Mateusz Kulikowski [...] >>> On Wednesday, January 06, 2016 at 07:21:17 PM, Mateusz Kulikowski wrote: The following options can be now enabled via defconfig: -

Re: [U-Boot] [PATCH v1 02/16] gpio: Add support for Qualcomm gpio controller

2016-01-11 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11.01.2016 17:57, Simon Glass wrote: > Hi, > > On 6 January 2016 at 11:21, Mateusz Kulikowski > wrote: [...] >> +static int msm_gpio_get_function(struct udevice *dev, unsigned offset) >> +{ >> + struct msm_gpio_bank *priv = dev_get_priv(de

Re: [U-Boot] [PATCH] dm: test: usb: Update the USB tests so that they all pass

2016-01-11 Thread Tom Rini
On Thu, Jan 07, 2016 at 10:23:42AM -0700, Simon Glass wrote: > Due to a limitation removed in an earlier patch, USB tests were not seeing > all the devices. Update the tests to pass now that all devices are visible. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom sig

[U-Boot] [PATCH] mx25pdk: Remove lowlevel_init.S file

2016-01-11 Thread Fabio Estevam
From: Fabio Estevam As the lowlevel_init function is empty we should better remove this assembly file entirely and use a dummy C function instead. Signed-off-by: Fabio Estevam --- board/freescale/mx25pdk/Makefile| 1 - board/freescale/mx25pdk/lowlevel_init.S | 10 -- board/fre

Re: [U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-11 Thread Fabio Estevam
Hi Wolfgang, On Thu, Jan 7, 2016 at 2:43 PM, Wolfgang Denk wrote: > Sorry for the delay. I used the Xmas break to update our machines to > FC23, and for some unclear reason the Inotify System Scheduler stopped > running. I restarted it now, and all data should be up to date now. > > Sorry for c

Re: [U-Boot] [PATCH] MAINTAINERS/mailmap: Update my email address

2016-01-11 Thread Scott Wood
On Mon, 2016-01-11 at 14:19 +0100, Stefano Babic wrote: > Hi Fabio, > > On 11/01/2016 13:22, Fabio Estevam wrote: > > Update my email address to the NXP account. > > > > Signed-off-by: Fabio Estevam > > --- > > .mailmap | 2 +- > > board/freescale/mx25pdk/MAINTA

Re: [U-Boot] [PATCH] net: phy: genphy: Allow overwriting features

2016-01-11 Thread Alexey Brodkin
Hi Joe, On Mon, 2016-01-11 at 11:55 -0600, Joe Hershberger wrote: > Hi Alexey, > > On Mon, Jan 11, 2016 at 11:50 AM, Alexey Brodkin > wrote: > > Hi Joe, > > > > On Mon, 2016-01-11 at 10:54 -0600, Joe Hershberger wrote: > > > Hi Alexey, > > > > > > On Mon, Jan 11, 2016 at 3:45 AM, Alexey Brodki

Re: [U-Boot] [PATCH] net: phy: genphy: Allow overwriting features

2016-01-11 Thread Joe Hershberger
Hi Alexey, On Mon, Jan 11, 2016 at 11:50 AM, Alexey Brodkin wrote: > Hi Joe, > > On Mon, 2016-01-11 at 10:54 -0600, Joe Hershberger wrote: >> Hi Alexey, >> >> On Mon, Jan 11, 2016 at 3:45 AM, Alexey Brodkin >> wrote: >> > Hi Joe, >> > >> > On Wed, 2015-12-23 at 19:44 +0300, Alexey Brodkin wrote:

Re: [U-Boot] [PATCH v1 0/9] MIPS: sync asm header files with linux-4.4

2016-01-11 Thread Daniel Schwierzeck
Am Montag, den 11.01.2016, 22:29 +0800 schrieb Wills Wang: > > On 01/11/2016 06:55 PM, Purna Chandra Mandal wrote: > > On 01/09/2016 10:02 PM, Daniel Schwierzeck wrote: > > > > > This patch series updates all MIPS asm header files containing > > > I/O code as well as processor, register and assem

[U-Boot] [PATCH] net/designware: add support of max-speed device tree property

2016-01-11 Thread Alexey Brodkin
This property allows to specify fastest connection mode supported by the MAC (as opposed to features of the phy). There are situations when phy may handle faster modes than the MAC (or even it's particular implementation or even due to CPU being too slow). This property is a standard one in Linux

Re: [U-Boot] [PATCH] net: phy: genphy: Allow overwriting features

2016-01-11 Thread Alexey Brodkin
Hi Joe, On Mon, 2016-01-11 at 10:54 -0600, Joe Hershberger wrote: > Hi Alexey, > > On Mon, Jan 11, 2016 at 3:45 AM, Alexey Brodkin > wrote: > > Hi Joe, > > > > On Wed, 2015-12-23 at 19:44 +0300, Alexey Brodkin wrote: > > > From: Sascha Hauer > > > > > > of_set_phy_supported allows overwiting

Re: [U-Boot] [Patch V3 3/3] armv8/ls1043aqds: add QSPI boot support

2016-01-11 Thread Scott Wood
On Mon, 2016-01-11 at 10:17 +0800, Gong Qianyu wrote: > diff --git a/board/freescale/ls1043aqds/ls1043aqds.c > b/board/freescale/ls1043aqds/ls1043aqds.c > index d6696ca..770b79f 100644 > --- a/board/freescale/ls1043aqds/ls1043aqds.c > +++ b/board/freescale/ls1043aqds/ls1043aqds.c > @@ -43,15 +43,19

[U-Boot] [PATCH v2 4/4] sunxi: Add suport for A83T based Banana-pi M3 Board

2016-01-11 Thread Vishnu Patekar
Add dts and defconfig for Banana-pi M3 board. It has 2G LPDDR3, UART, ethernet, USB, HDMI, USB Sata, MIPI DSI, mic, AP6212 Wifi, etc on it. It is paired with AXP813 PMIC which is almost same as AXP818. Signed-off-by: Vishnu Patekar --- arch/arm/dts/Makefile| 3 +- arch/

[U-Boot] [PATCH v2 3/4] sunxi: add support for LPDDR3 for A83T

2016-01-11 Thread Vishnu Patekar
Banana-pi M3 has LPDDR3 DRAM. this adds support for LPDDR3 for A83T. Mostly the timing parameters are different from DDR3. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c| 54 --- arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h | 5 +++

[U-Boot] [PATCH v2 2/4] sunxi: groundwork to support new dram type for A83T

2016-01-11 Thread Vishnu Patekar
Different A83T boards have different DRAM types. Banapi M3 has LPDDR3, Allwinner Homlet v1.2 has DDR3. This adds groundwork to support for new DRAM type for A83T. Introduce CONFIG_DRAM_TYPE, It'll be 3 for DDR3 and 7 for LPDDR3, must be set in respective board defconfig. Signed-off-by: Vishnu Pa

[U-Boot] [PATCH v2 1/4] sunxi: redundant code cleanup from a83t dram init

2016-01-11 Thread Vishnu Patekar
This removes the redundant lines of code from mctl_sys_init. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c b/arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c index d757e40

[U-Boot] [PATCH v2 0/4] Add LPDDR3 support for A83T

2016-01-11 Thread Vishnu Patekar
This adds LPDDR3 support for A83T and support for Banana Pi M3 which has LPDDR3. These patches are based on u-boot-sunxi next branch. These patches tesed on Banana-pi M3. DCDC5 voltage is kept as 1.2V changes from v1 -> v2 1. introduce CONFIG_DRAM_TYPE for A83T default 3(DDR3), removed D

Re: [U-Boot] [PATCH] MAINTAINERS/mailmap: Update my email address

2016-01-11 Thread York Sun
Stefano, On 01/11/2016 05:20 AM, Stefano Babic wrote: > > Thanks - I ask all other Freescalers whose name is in a MAINTAINERS > file. Should you update your e-mail address as well ? Maybe do we > replace any occurence ofFreescale with NXP ? > I think all copyright and author information should

Re: [U-Boot] [PATCH] MAINTAINERS/mailmap: Update my email address

2016-01-11 Thread Stefano Babic
On 11/01/2016 18:06, York Sun wrote: > Stefano, > > On 01/11/2016 05:20 AM, Stefano Babic wrote: >> >> Thanks - I ask all other Freescalers whose name is in a MAINTAINERS >> file. Should you update your e-mail address as well ? Maybe do we >> replace any occurence ofFreescale with NXP ? >> > > I

Re: [U-Boot] curious if XTRN_DECLARE_GLOBAL_DATA_PTR is still of value

2016-01-11 Thread Simon Glass
Hi Robert, On 16 December 2015 at 05:02, Robert P. J. Day wrote: > > perusing the code related to the global data ptr and noticed in > common/board_f.c: > > /* > * Pointer to initial global data area > * > * Here we initialize it if needed. > */ > #ifdef XTRN_DECLARE_GLOBAL_DATA_PTR > #unde

Re: [U-Boot] [PATCH V3 1/7] test/py: Implement pytest infrastructure

2016-01-11 Thread Stephen Warren
On 01/11/2016 03:45 AM, Michal Simek wrote: Hi Stephen, On 8.1.2016 19:13, Stephen Warren wrote: On 01/05/2016 03:58 PM, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A single top-level script exists to execute or attach to

Re: [U-Boot] [PATCH V3 1/7] test/py: Implement pytest infrastructure

2016-01-11 Thread Stephen Warren
On 01/11/2016 08:25 AM, Simon Glass wrote: Hi Stephen, On 8 January 2016 at 11:32, Michal Simek wrote: On 8.1.2016 19:13, Stephen Warren wrote: On 01/05/2016 03:58 PM, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A singl

  1   2   >