Re: [U-Boot] [UBOOT PATCH v4 2/3] x86: Add ACPI table support to QEMU

2015-08-17 Thread Simon Glass
Hi Saket, On 15 August 2015 at 23:10, Saket Sinha wrote: > This patch mainly adds ACPI support to QEMU. > Verified by booting Linux kernel on QEMU i440FX and Q35. > > Signed-off-by: Saket Sinha > --- > > arch/x86/cpu/qemu/Makefile | 1 + > arch/x86/cpu/qemu/acpi.c | 161 > +

Re: [U-Boot] [PATCH 02/11] x86: coreboot: Increase memrange entry number to 32

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > Increase lib_sysinfo memrange entry number to 32 to sync with coreboot. > This allows a complete E820 table to be reported to the kernel, as on > some platforms (eg: Bayley Bay) having only 16 entires does not cover > all the memory ranges. > > Signed-

Re: [U-Boot] [PATCH 04/11] x86: Remove calculate_relocation_address()

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > Now that we have generic routine to calculate relocation address, > remove the x86 specific one which is now only used by coreboot. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/coreboot/sdram.c | 9 +-- > arch/x86/include/asm/init_he

Re: [U-Boot] [PATCH 06/11] x86: kconfig: Hide "System tables" for EFI

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > Instead of hiding each menu entries under "System tables" for EFI, > hide the main menu completely. > > Signed-off-by: Bin Meng > --- > > arch/x86/Kconfig | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Acked-by: Simon Glass

Re: [U-Boot] [PATCH 03/11] x86: coreboot: Correctly report E820 types

2015-08-17 Thread Simon Glass
Hi Bin, On 13 August 2015 at 01:29, Bin Meng wrote: > coreboot has some extensions (type 6 & 16) to the E820 types. > When we detect this, mark it as E820_RESERVED. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/coreboot/sdram.c | 15 +-- > 1 file changed, 13 insertions(+), 2 de

Re: [U-Boot] [PATCH 10/11] video: coreboot: Save VESA mode for future use

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > When booting as a coreboot payload, the framebuffer details are > passed from coreboot via configuration tables. We save these > information into vesa_mode_info structure for future use. > > Signed-off-by: Bin Meng > --- > > drivers/pci/pci_rom.c

Re: [U-Boot] [PATCH 08/11] x86: Only include cbfs command for coreboot

2015-08-17 Thread Simon Glass
Hi Bin, On 13 August 2015 at 01:29, Bin Meng wrote: > When running U-Boot bare-metal, the cbfs command is useless. > > Signed-off-by: Bin Meng > --- > > include/configs/x86-common.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/configs/x86-common.h b/include/configs/x86-com

Re: [U-Boot] [PATCH 07/11] x86: kconfig: Hide "System tables" for coreboot

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > When booting as a coreboot payload, we don't need write any > configuration tables as coreboot does that for us. > > Signed-off-by: Bin Meng > --- > > arch/x86/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass __

Re: [U-Boot] [PATCH 11/11] x86: Set up video framebuffer for coreboot before loading kernel

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > Currenlty we only set up video framebuffer when VIDEO_VESA driver is > used. With coreboot, VIDEO_COREBOOT driver is used instead. Since we > already saved VESA mode in the VIDEO_COREBOOT driver, now we can also > set up video framebuffer for coreboot

Re: [U-Boot] [PATCH 09/11] x86: Enable CONFIG_PCI_CONFIG_HOST_BRIDGE for all boards

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > It looks that x86 chipset always contains a host bridge at pci > b.d.f 0.0.0, so enable this for all boards. > > Signed-off-by: Bin Meng > --- > > include/configs/bayleybay.h | 1 - > include/configs/crownbay.h | 1 - > include/configs/minnowmax.h

Re: [U-Boot] [PATCH 05/11] x86: coreboot: Allow >=4GiB memory bank size

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > Some platforms may have >=4GiB memory, so we need make U-Boot report > such configuration correctly when booting as the coreboot payload. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/coreboot/sdram.c | 9 - > 1 file changed, 4 insertion

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
On Sun, 2015-08-16 at 15:26 -0600, Simon Glass wrote: > > Says who? I was only aware that common.h needs to go on top, the > > local > > stuff (e.g. in double quotes) on the bottom and the rest I assumed > > can > > go alphabetically ordered in between, not? > > I originally got it from here (and

[U-Boot] [PATCH 2/9] imx: mx6: ddr no support MMDC1 for i.MX6SL

2015-08-17 Thread Peng Fan
i.MX 6SoloLite only supports MMDC0, so do not access MMDC1 for i.MX 6SL. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/cpu/armv7/mx6/ddr.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/ddr.c b/arch/arm/cpu/armv7/mx6/ddr

Re: [U-Boot] [PATCH 08/11] x86: Only include cbfs command for coreboot

2015-08-17 Thread Bin Meng
Hi Simon, On Mon, Aug 17, 2015 at 5:27 AM, Simon Glass wrote: > Hi Bin, > > On 13 August 2015 at 01:29, Bin Meng wrote: >> When running U-Boot bare-metal, the cbfs command is useless. >> >> Signed-off-by: Bin Meng >> --- >> >> include/configs/x86-common.h | 2 ++ >> 1 file changed, 2 insertion

[U-Boot] [PATCH 1/9] imx: mx6: ddr add more register entry for mmdc_p_regs

2015-08-17 Thread Peng Fan
Add more register entry for MMDC structure. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/include/asm/arch-mx6/mx6-ddr.h | 65 - 1 file changed, 56 insertions(+), 9 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/mx6-ddr.h b/arc

Re: [U-Boot] [PATCH 03/11] x86: coreboot: Correctly report E820 types

2015-08-17 Thread Bin Meng
Hi Simon, On Mon, Aug 17, 2015 at 5:27 AM, Simon Glass wrote: > Hi Bin, > > On 13 August 2015 at 01:29, Bin Meng wrote: >> coreboot has some extensions (type 6 & 16) to the E820 types. >> When we detect this, mark it as E820_RESERVED. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/cpu/cor

[U-Boot] [PATCH 4/9] imx: mx6: ddr add dram io configuration and header file for i.MX6SL

2015-08-17 Thread Peng Fan
Define two structure mx6sl_iomux_ddr_regs and mx6sl_iomux_grp_regs. Add a new function mx6sl_dram_iocfg to configure dram io. Add header file to define macros for register address. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/ddr.c | 55 +

[U-Boot] [PATCH 3/9] imx: mx6: ddr correct tRFC and tXS

2015-08-17 Thread Peng Fan
To Chip density 4Gb, tRFC should be 300ns, see "Table 61 — Refresh parameters by device density" of JESD79-3E. tXS(min) is max(5nCK, tRFC(min) + 10ns). Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/cpu/armv7/mx6/ddr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[U-Boot] What's purpose of DEV_FLAGS_SYSTEM and DEV_EXT_VIDEO?

2015-08-17 Thread Bin Meng
Hi, I plan to send a patch to remove the DEV_FLAGS_SYSTEM and DEV_EXT_VIDEO. They look useless to me. For example, $ grep -nr DEV_FLAGS_SYSTEM * arch/blackfin/cpu/jtag-console.c:186: dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT | DEV_FLAGS_SYSTEM; board/bf527-ezkit/video.c:442: videodev.flag

[U-Boot] [PATCH 5/9] imx: mx6: ddr add mpzqlp2ctl entry

2015-08-17 Thread Peng Fan
Add mpzqlp2ctl entry for mx6_mmdc_calibration. MMDC_MPZQLP2CTL register is for init tZQINIT, tZQCL, tZQCS for LPDDR2 chips. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/include/asm/arch-mx6/mx6-ddr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/includ

Re: [U-Boot] [PATCH] ARM: davinci: remove support for CAM ENC 4xx

2015-08-17 Thread Heiko Schocher
Hello Masahiro, Am 16.08.2015 um 11:59 schrieb Masahiro Yamada: This has not been converted to Generic Board, so should be removed. (See doc/README.generic-board for details.) Signed-off-by: Masahiro Yamada Cc: Heiko Schocher --- arch/arm/mach-davinci/Kconfig|5 - board/ait/ca

[U-Boot] [PATCH 6/9] imx: mx6: ddr add an entry ddr_type for mx6_ddr_sysinfo

2015-08-17 Thread Peng Fan
Add ddr_type entry for mx6_ddr_sysinfo. It will be used for differenrate DDR3 and LPDDR2. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/include/asm/arch-mx6/mx6-ddr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-mx6/mx6-ddr.h b/arch/arm

[U-Boot] [PATCH 7/9] imx: mx6: ddr init MMDC according to ddr_type

2015-08-17 Thread Peng Fan
To i.MX6, DDR3 and LPDDR2 is supported, so rename function mx6_dram_cfg to mx6_ddr3_cfg and the original mx6_dram_cfg function only is a wrapper. The new reimplemented function mx6_dram_cfg only invokes mx6_ddr3_cfg when ddr_type is for DDR3. Later we can use ddr_type to initialize MMDC for LPDDR2.

[U-Boot] [PATCH] arm: delete unnecessary file

2015-08-17 Thread Minkyu Kang
Signed-off-by: Minkyu Kang Cc: Nikita Kiryanov --- include/configs/odroid_xu3.h.rej | 10 -- 1 file changed, 10 deletions(-) delete mode 100644 include/configs/odroid_xu3.h.rej diff --git a/include/configs/odroid_xu3.h.rej b/include/configs/odroid_xu3.h.rej deleted file mode 100644 i

Re: [U-Boot] ppc4xx: Convert lwmon5 board to generic board

2015-08-17 Thread Stefan Roese
Hi Tom, On 14.08.2015 22:24, Tom Rini wrote: On Thu, Aug 13, 2015 at 12:29:41PM +0200, Stefan Roese wrote: Add CONFIG_SYS_GENERIC_BOARD to lwmon5.h and CONFIG_DISPLAY_BOARDINFO to Kconfig file. Signed-off-by: Stefan Roese Cc: Masahiro Yamada With this: +(lcd4_lwmon5) arch/powerpc/cpu/ppc4

Re: [U-Boot] [PATCH 0/2] ARM: exynos: reorganize SoC code

2015-08-17 Thread Minkyu Kang
Dear Thomas Abraham, On 03/08/15 21:27, Thomas Abraham wrote: > In order to reuse existing ARMv7 based Exynos SoC support for ARMv8 > based Exynos platforms, move the existing sources from > arch/arm/cpu/armv7/exynos to arch/arm/mach-exynos. > > This patch series has been tested on origen (Exynos

[U-Boot] [v3 1/4] spi: cadence_qspi: move trigger base configuration in init

2015-08-17 Thread Vikas Manocha
No need to configure indirect trigger address for every read/write. Signed-off-by: Vikas Manocha --- Changes in v3: added commit message & removed extra bracket. Changes in v2: Rebased to master drivers/spi/cadence_qspi_apb.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) d

[U-Boot] [v3 3/4] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-17 Thread Vikas Manocha
This patch is to separate the base trigger from the read/write transfer start addresses. Base trigger register address (0x1c register) corresponds to the address which should be put on AHB bus to handle indirect transfer triggered before. To handle indirect transfer we need to issue addresses fro

Re: [U-Boot] [PATCH V2 06/10] fat: ffconf.h changes for U-Boot port

2015-08-17 Thread Stephen Warren
On 08/14/2015 12:47 PM, Tom Rini wrote: > On Tue, Aug 11, 2015 at 08:55:41AM -0600, Stephen Warren wrote: >> Turn on _FS_NORTC: This means we don't have to implement >> get_fattime() which simplifies life for now. >> >> Automatically set _FS_READONLY based on CONFIG_FAT_WRITE. This >> requires inc

[U-Boot] [PATCH v3] dfu:tests: Modify dfu_gadget_test.sh to accept USB device vendor:product ID

2015-08-17 Thread Lukasz Majewski
dfu-util allows filtering on USB device vendor:product ID by using the -d flag (-d 0451:d022). Such option is very handy when many DFU devices are connected to a single host PC. This commit allows testing when above situation emerges. Signed-off-by: Lukasz Majewski Reviewed-by: Simon Glass Test

Re: [U-Boot] [RFC] Merge all ns16550 dm serial drivers into one

2015-08-17 Thread Bin Meng
On Sat, Aug 15, 2015 at 10:57 AM, Stephen Warren wrote: > On 08/14/2015 05:18 PM, Simon Glass wrote: >> Hi, >> >> On 14 August 2015 at 16:51, Stephen Warren wrote: >>> On 08/14/2015 04:40 PM, Bin Meng wrote: On Sat, Aug 15, 2015 at 12:59 AM, Simon Glass wrote: > > Hi Stephen, >

[U-Boot] [PATCH v3] dfu:tests: Modify dfu_gadget_test.sh to accept USB device vendor:product ID

2015-08-17 Thread Lukasz Majewski
dfu-util allows filtering on USB device vendor:product ID by using the -d flag (-d 0451:d022). Such option is very handy when many DFU devices are connected to a single host PC. This commit allows testing when above situation emerges. Signed-off-by: Lukasz Majewski Reviewed-by: Simon Glass Test

[U-Boot] [PATCH] env_mmc: Properly prefix mmc errors with '!'

2015-08-17 Thread Hans de Goede
The set_default_env() function from env_common.c expects either a fully formatted error msg, e.g.: "## Resetting to default environment\n" or an error msg prefixed with an !, in which case it will format it. Fix the init_mmc_for_env() error messages to be prefixed with a ! this changes the bootup-

Re: [U-Boot] [PATCH V2 06/10] fat: ffconf.h changes for U-Boot port

2015-08-17 Thread Tom Rini
On Fri, Aug 14, 2015 at 09:40:48PM -0600, Stephen Warren wrote: > On 08/14/2015 12:47 PM, Tom Rini wrote: > > On Tue, Aug 11, 2015 at 08:55:41AM -0600, Stephen Warren wrote: > >> Turn on _FS_NORTC: This means we don't have to implement > >> get_fattime() which simplifies life for now. > >> > >> Au

Re: [U-Boot] [PATCH v3 06/11] arm: rpi: Enable device tree control for Rasberry Pi

2015-08-17 Thread Simon Glass
Hi Stephen, On 14 August 2015 at 21:32, Stephen Warren wrote: > On 08/14/2015 01:20 PM, Simon Glass wrote: >> Hi Stephen, >> >> On 10 August 2015 at 21:47, Stephen Warren wrote: >>> On 08/07/2015 07:42 AM, Simon Glass wrote: Enable device tree control so that we can use driver model fully a

Re: [U-Boot] [PATCH v3 2/7] armv8: Add SMC calls infrastructure

2015-08-17 Thread Simon Glass
Hi Sergei, On 14 August 2015 at 19:45, Sergei Temerkhanov wrote: > On Fri, Aug 14, 2015 at 9:56 PM, Simon Glass wrote: >> Hi, >> >> On 13 August 2015 at 09:14, Sergey Temerkhanov >> wrote: >>> This commit adds functions issuing calls to firmware. This allows >>> to use services such as PSCI pr

[U-Boot] [PATCH 0/1] env_mmc: Properly prefix mmc errors with '!'

2015-08-17 Thread Hans de Goede
Hi Tom, Just a small cosmetic patch. I'm not sure whom to send this to, so I'm sending it directly to you. Regards, Hans ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] u-boot license: SPDX GPL-2.0+ deprecated?

2015-08-17 Thread Michael Heimpold
Hi Bhupesh, Am Freitag, 14. August 2015, 08:24:27 schrieb Sharma Bhupesh: > Hi Wolfgang, Others > > I was going through the Software Package Data Exchange (SPDX) licensing terms > for GNU General Public License v2.0 or later, as u-boot licensing uses the > same on the header files (SPDX-License

[U-Boot] [PATCH 00/15] sunxi_nand_spl: cleanups, auto config and bad block handling

2015-08-17 Thread Hans de Goede
Hi All, As promised I've been working on cleaning up the sunxi nand spl driver, as well as adding bad block handling in the same way as the BROM does, as the SPL + u-boot must be placed in a BROM compatible nand partition. This series is a bit of a patch bomb, but as you will see they are all nic

[U-Boot] [UBOOT] [PATCH v4 0/3] Add ACPI table support

2015-08-17 Thread Saket Sinha
ACPI(Advanced Configuration and Power Interface), is a Power Management and configuration standard allowing the operating system to control the amount of power each device is given (allowing it to put certain devices on standby or power-off for example). It is also used to control and/or check the

[U-Boot] [UBOOT PATCH v4 1/3] x86: Generate a valid ACPI table

2015-08-17 Thread Saket Sinha
Implement write_acpi_table() to create a minimal working ACPI table. This includes writing FACS, XSDT, RSDP, FADT, MCFG, MADT, DSDT & SSDT ACPI table entries. Use a Kconfig option GENERATE_ACPI_TABLE to tell U-Boot whether we need actually write the APCI table just like we did for PIRQ routing, MP

[U-Boot] [UBOOT PATCH v4 2/3] x86: Add ACPI table support to QEMU

2015-08-17 Thread Saket Sinha
This patch mainly adds ACPI support to QEMU. Verified by booting Linux kernel on QEMU i440FX and Q35. Signed-off-by: Saket Sinha --- arch/x86/cpu/qemu/Makefile | 1 + arch/x86/cpu/qemu/acpi.c | 161 + 2 files changed, 162 insertions(+) create mod

Re: [U-Boot] [PATCH 07/11] arm: pxa: colibri_pxa270: fix boot hang

2015-08-17 Thread Marcel Ziswiler
On 16 August 2015 05:31:58 CEST, Marek Vasut wrote: >On Sunday, August 16, 2015 at 04:16:32 AM, Marcel Ziswiler wrote: >I would suggest that we drop this patch, but I would also suggest that >we do >the same thing kernel does and just enable CONFIG_USE_PRIVATE_LIBGCC >globally >for everyone to

[U-Boot] [UBOOT PATCH v4 3/3] x86: Add DSDT table for supporting ACPI on QEMU

2015-08-17 Thread Saket Sinha
The DSDT table contains a bytecode that is executed by a driver in the kernel. Signed-off-by: Saket Sinha --- arch/x86/cpu/qemu/Makefile | 2 +- arch/x86/cpu/qemu/acpi/cpu-hotplug.asl | 78 +++ arch/x86/cpu/qemu/acpi/dbug.asl| 26 +++ arch/x86/cpu/qemu/acpi/hpet.asl

[U-Boot] [PATCH 0/6] sf: BAR/wait_ready logic updates

2015-08-17 Thread Jagan Teki
BAR and spi_flash_cmd_wait_ready are updated to make more module to add new status checks. Jagan Teki (6): spi: zynq_spi: Remove unneeded headers sf: Return proper bank_sel, if flash->bank_curr == bank_sel sf: Make BAR discovery, as spi_flash_read_bar sf: Optimize BAR write code sf: Mak

[U-Boot] [PATCH 1/6] spi: zynq_spi: Remove unneeded headers

2015-08-17 Thread Jagan Teki
- Removed unneeded inclusion of header files - Add "Xilinx" on license text Signed-off-by: Jagan Teki Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- drivers/spi/zynq_spi.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_sp

[U-Boot] [PATCH 1/8] doc: Fix reference to Rock pro when Rock 2 is meant

2015-08-17 Thread Sjoerd Simons
The Radxa Rock pro board is rk3188 based and thus won't work with u-boot build for RK3288. Change the documentation to refer to the intended board, the Radxa Rock 2, which is an RK3288 based design very similar to the firefly Signed-off-by: Sjoerd Simons --- doc/README.rockchip | 6 +++--- 1 fi

[U-Boot] [PATCH 3/8] rockchip: Disable sdio mmc slot on rk3288-firefly

2015-08-17 Thread Sjoerd Simons
u-boot can't use the sdio card so turn it of to prevent things getting confused/struck when trying to use the card as storage. Signed-off-by: Sjoerd Simons --- arch/arm/dts/rk3288-firefly.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288-firefly.dtsi b

[U-Boot] [PATCH 2/6] sf: Return proper bank_sel, if flash->bank_curr == bank_sel

2015-08-17 Thread Jagan Teki
If computed bank_sel is same as flash->bank_curr which is computed at probe time, then return the bank_sel instead of zero. Signed-off-by: Jagan Teki Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- drivers/mtd/spi/sf_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH] ARM: davinci: remove support for CAM ENC 4xx

2015-08-17 Thread Masahiro Yamada
This has not been converted to Generic Board, so should be removed. (See doc/README.generic-board for details.) Signed-off-by: Masahiro Yamada Cc: Heiko Schocher --- arch/arm/mach-davinci/Kconfig|5 - board/ait/cam_enc_4xx/Kconfig| 12 - board/ait/cam_enc_4xx/MAINTAINERS

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-17 Thread Simon Glass
Hi Marcel, On 16 August 2015 at 15:19, Marcel Ziswiler wrote: > On Sun, 2015-08-16 at 15:11 -0600, Simon Glass wrote: > >> Thanks for tidying this up. But the ordering should be: >> >> >> >> >> >> >> "local.h" > > Says who? I was only aware that common.h needs to go on top, the local > stuff

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
On Sun, 2015-08-16 at 15:11 -0600, Simon Glass wrote: > Thanks for tidying this up. But the ordering should be: > > > > > > > "local.h" Says who? I was only aware that common.h needs to go on top, the local stuff (e.g. in double quotes) on the bottom and the rest I assumed can go alphabetic

Re: [U-Boot] [PATCH v2 1/1] arm/ls102xa:add hwconfig setting to support disable unused devices.

2015-08-17 Thread Zhang Z . Y .
Hi, York Alison help me find out a macro definition mistake, v2 just correct this mistake. I will resend it again and add change-log in. Zhuoyu > -Original Message- > From: Sun York-R58495 > Sent: Saturday, August 15, 2015 12:07 AM > To: Zhang Zhuoyu-B46552 > Cc: u-boot@lists.denx.de;

Re: [U-Boot] [PATCH 01/11] arm: pxa: clean-up include file order

2015-08-17 Thread Marcel Ziswiler
On Sun, 2015-08-16 at 19:26 +0200, Marek Vasut wrote: > Errr, right. What weird sort of battle tactics is this, are you > trying to > confuse the enemy with random unrelated patches right in the middle > of a > coherent series? :) Yes, I agree. But I trusted it all into the hands of patman this

[U-Boot] [PATCH 8/9] imx: mx6: ddr: add LPDDR2 support

2015-08-17 Thread Peng Fan
Add LPDDR2 support: 1. Implement a function mx6_lpddr2_cfg to initialize MMDC for LPDDR2. 2. Introduce a structure mx6_lpddr2_cfg, most entrys are same to mx6_ddr3_cfg, but still keep it a single one for easy to choose parameters for LPDDR2. 3. If ddr_type is LPDDR2, use mx6_lpddr2_cfg to ini

[U-Boot] [PATCH 0/9] imx: mx6: support LPDDR2 and add mx6slevk spl

2015-08-17 Thread Peng Fan
This patch set is to support SPL for mx6slevk board. But mx6slevk features one LPDDR2 chip. Then we need to first add LPDDR2 SPL support. Also introduce one ddr_type entry to differentiate DDR3 and LPDDR2. This patch set also correct tRFC and tXS for DDR3 4Gb chip. The LPDDR2 part is implemented r

Re: [U-Boot] [PATCH 0/6] sf: BAR/wait_ready logic updates

2015-08-17 Thread Hou Zhiqiang
Hello Jagan, > -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: 2015年8月16日 16:50 > To: u-boot@lists.denx.de; Hou Zhiqiang-B48286; Sun York-R58495 > Cc: Jagan Teki > Subject: Re: [PATCH 0/6] sf: BAR/wait_ready logic updates > > Hi Zhiqiang, > > On 16 August 2015 a

Re: [U-Boot] [PATCH 1/3] armv7/fsl-ls102xa: Workaround for DDR erratum A008514

2015-08-17 Thread Yao Yuan
Hi Sinan, Thanks for your review. Please see my comments. Best Regards, Yuan Yao > -Original Message- > From: Sinan Akman [mailto:si...@writeme.com] > Sent: Saturday, August 15, 2015 12:28 AM > To: Yuan Yao-B46683; Sun York-R58495; Wang Huan-B18965 > Cc: u-boot@lists.denx.de > Subject: R

Re: [U-Boot] [PATCH 01/11] x86: doc: Update coreboot payload entry point address

2015-08-17 Thread Simon Glass
On 13 August 2015 at 01:29, Bin Meng wrote: > With recent EFI support, the entry point address of coreboot payload > was changed. Now we update the address to use _x86boot_start, which > is the same one for EFI. > > Signed-off-by: Bin Meng > --- > > doc/README.x86 | 6 +++--- > 1 file changed, 3

Re: [U-Boot] [UBOOT PATCH v4 2/3] x86: Add ACPI table support to QEMU

2015-08-17 Thread Saket Sinha
Hi Simon, Please find my response inline - On Mon, Aug 17, 2015 at 2:44 AM, Simon Glass wrote: > Hi Saket, > > On 15 August 2015 at 23:10, Saket Sinha wrote: >> This patch mainly adds ACPI support to QEMU. >> Verified by booting Linux kernel on QEMU i440FX and Q35. >> >> Signed-off-by: Saket

Re: [U-Boot] [PATCH 7/9] imx: mx6: ddr init MMDC according to ddr_type

2015-08-17 Thread Stefan Roese
On 17.08.2015 05:29, Peng Fan wrote: To i.MX6, DDR3 and LPDDR2 is supported, so rename function mx6_dram_cfg to mx6_ddr3_cfg and the original mx6_dram_cfg function only is a wrapper. The new reimplemented function mx6_dram_cfg only invokes mx6_ddr3_cfg when ddr_type is for DDR3. Later we can use

[U-Boot] [PATCH 9/9] imx: mx6slevk: add SPL support

2015-08-17 Thread Peng Fan
Add SPL boot support for mx6slevk board. 1. Introduce a configuration file mx6slevk_spl_defconfig. 2. i.MX6SL has same DRAM space with i.MX6SX, need to change SPL DRAM SPACE. 3. Include imx6_spl.h and related SPL macro in mx6slevk.h. 4. select SUPPORT_SPL for TARGET_MX6SLEVK. 5. Add SPL board code

[U-Boot] [PATCH] Remove odroid_xu3.h.rej

2015-08-17 Thread Masahiro Yamada
This file was accidentally added by commit 181bd9dc61d2 ("kconfig: add config option for shell prompt"). Signed-off-by: Masahiro Yamada --- include/configs/odroid_xu3.h.rej | 10 -- 1 file changed, 10 deletions(-) delete mode 100644 include/configs/odroid_xu3.h.rej diff --git a/includ

[U-Boot] [PATCH 06/15] sunxi_nand_spl: Make sure the DMA controller is enabled

2015-08-17 Thread Hans de Goede
We use DMA for nand data transfers in the SPL, so make sure the DMA controller is enabled. Signed-off-by: Hans de Goede --- board/sunxi/board.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/sunxi/board.c b/board/sunxi/board.c index b76bb83..1ebd0a4 100644 --- a/board/sunxi/boar

Re: [U-Boot] arm: ls1021a: Ensure LS1021 ARM Generic Timer CompareValue Set 64-bit

2015-08-17 Thread Alexander Stein
On Wednesday 15 July 2015 15:13:05, Alison Wang wrote: > This patch addresses a problem mentioned recently on this mailing list: > [1]. > > In that posting a LS1021 based system was locking up at about 5 minutes > after boot, but the problem was mysteriously related to the toolchain > used for bui

Re: [U-Boot] [PATCH v2] efi: Update README.efi to clarify build and test instructions

2015-08-17 Thread Stoppa, Igor
Hello Bin, a couple more of last-minute comments below: On 15 August 2015 at 04:44, Bin Meng wrote: > +For building an EFI payload, run: > make qemu-x86_defconfig Since qemu-x86_defconfig was an example, maybe this could be written as: make change EFI settings according to what described

Re: [U-Boot] [PATCH 7/9] imx: mx6: ddr init MMDC according to ddr_type

2015-08-17 Thread Peng Fan
On Mon, Aug 17, 2015 at 08:54:25AM +0200, Stefan Roese wrote: >On 17.08.2015 05:29, Peng Fan wrote: >>To i.MX6, DDR3 and LPDDR2 is supported, so rename function mx6_dram_cfg >>to mx6_ddr3_cfg and the original mx6_dram_cfg function only is a wrapper. >>The new reimplemented function mx6_dram_cfg onl

Re: [U-Boot] [PATCH 3/3] sunxi: Add CONFIG_MMC0_CD_PIN to various boards

2015-08-17 Thread Chen-Yu Tsai
On Sun, Aug 16, 2015 at 5:39 PM, Hans de Goede wrote: > Add CONFIG_MMC0_CD_PIN to various boards, this stoos the SPL from still ^ stops > trying to access the sdcard when there is none (e.g. whe

Re: [U-Boot] [PATCH 7/9] imx: mx6: ddr init MMDC according to ddr_type

2015-08-17 Thread Stefan Roese
On 17.08.2015 07:59, Peng Fan wrote: On Mon, Aug 17, 2015 at 08:54:25AM +0200, Stefan Roese wrote: On 17.08.2015 05:29, Peng Fan wrote: To i.MX6, DDR3 and LPDDR2 is supported, so rename function mx6_dram_cfg to mx6_ddr3_cfg and the original mx6_dram_cfg function only is a wrapper. The new reimp

Re: [U-Boot] [PATCH 02/15] sunxi_nand_spl: Drop unnecessary temp buf

2015-08-17 Thread Chen-Yu Tsai
On Sun, Aug 16, 2015 at 4:02 AM, Hans de Goede wrote: > nand_spl_load_image() always gets called with either CONFIG_SYS_TEXT_BASE > or spl_image.load_addr as destination, both of which are properly aligened, > and have plenty of space for "overshooting" up to > CONFIG_NAND_SUNXI_SPL_ECC_PAGE_SIZE

Re: [U-Boot] [U-Boot, V3] kconfig: add config option for shell prompt

2015-08-17 Thread yamada.masahiro
> > > > Tom, > > > > Looks like an extra file was committed during the merge > > > > include/configs/odroid_xu3.h.rej > > Thanks, I'll push a delete with my next changes. Tom, Yes, I had already posted a patch to delete it CCing you. I have not seen it on Patchwork though. I do not know why..

Re: [U-Boot] ARM: sunxi: Experiences NAND flash

2015-08-17 Thread Boris Brezillon
Hi Oliver, Sorry for the late reply (I was in vacation for the last 2 weeks) On Tue, 11 Aug 2015 14:16:52 +0200 Olliver Schinagl wrote: > Hello everybody, > > We are working with Boris and Roy's patch series on getting the NAND > flash chip working on Olimex OLinuXino Lime2 boards. Initially,

Re: [U-Boot] [PATCH 7/9] imx: mx6: ddr init MMDC according to ddr_type

2015-08-17 Thread Peng Fan
On Mon, Aug 17, 2015 at 09:20:15AM +0200, Stefan Roese wrote: >On 17.08.2015 07:59, Peng Fan wrote: >>On Mon, Aug 17, 2015 at 08:54:25AM +0200, Stefan Roese wrote: >>>On 17.08.2015 05:29, Peng Fan wrote: To i.MX6, DDR3 and LPDDR2 is supported, so rename function mx6_dram_cfg to mx6_ddr3_cfg

Re: [U-Boot] [PATCH 7/9] imx: mx6: ddr init MMDC according to ddr_type

2015-08-17 Thread Stefan Roese
On 17.08.2015 08:25, Peng Fan wrote: On Mon, Aug 17, 2015 at 09:20:15AM +0200, Stefan Roese wrote: On 17.08.2015 07:59, Peng Fan wrote: On Mon, Aug 17, 2015 at 08:54:25AM +0200, Stefan Roese wrote: On 17.08.2015 05:29, Peng Fan wrote: To i.MX6, DDR3 and LPDDR2 is supported, so rename function

Re: [U-Boot] arm: ls1021a: Ensure Generic Timer disabled before jumping into the OS

2015-08-17 Thread Alexander Stein
Hello Alison, On Tuesday 04 August 2015 09:55:37, Alison Wang wrote: > This patch addresses a problem mentioned recently on this mailing list: > [1]. > > In that posting a LS1021 based system was locking up at about 5 minutes > after boot,but the problem was mysteriously related to the toolchain

Re: [U-Boot] [PATCH v3 01/11] dm: serial: Update binding for PL01x serial UART

2015-08-17 Thread Linus Walleij
On Fri, Aug 14, 2015 at 7:45 PM, Ian Lepore wrote: > On Fri, 2015-08-14 at 09:27 -0500, Rob Herring wrote: >> Ian: >> > So if I want to write a FreeBSD i2c eeprom driver that uses DT data, >> > what are my choices? I have exactly one: make my driver essentially a >> > clone of the Linux driver,

Re: [U-Boot] [linux-sunxi] ARM: sunxi: Experiences NAND flash

2015-08-17 Thread Boris Brezillon
Hi Oliver, On Wed, 12 Aug 2015 15:31:15 +0200 Olliver Schinagl wrote: > Hey Yassin, > > I'm affraid. The strange thing that seems very related here is that when > writing a file onto the flash, it fails and succeeds alternating. It > never fails or succeeds twice in a row! And this on any boa

Re: [U-Boot] [PATCH v2] efi: Update README.efi to clarify build and test instructions

2015-08-17 Thread Bin Meng
Hi Igor, On Mon, Aug 17, 2015 at 3:10 PM, Stoppa, Igor wrote: > Hello Bin, > a couple more of last-minute comments below: > > On 15 August 2015 at 04:44, Bin Meng wrote: > > >> +For building an EFI payload, run: >> make qemu-x86_defconfig > > Since qemu-x86_defconfig was an example, maybe th

Re: [U-Boot] [linux-sunxi] Re: ARM: sunxi: Experiences NAND flash

2015-08-17 Thread Michal Suchanek
Hello On 17 August 2015 at 09:34, Boris Brezillon wrote: > Hi Oliver, > > Sorry for the late reply (I was in vacation for the last 2 weeks) > > On Tue, 11 Aug 2015 14:16:52 +0200 > Olliver Schinagl wrote: > >> >> Now I know that the mtd stuff is all very new and all very untested, >> what I am

[U-Boot] [U-Boot RESEND v2 00/10] Enable edma support for ti-qspi

2015-08-17 Thread Vignesh R
This patch series enables DMA for QSPI on dra7xx and am43xx. Resending this series after rebasing on current origin/master. v2: https://www.mail-archive.com/u-boot@lists.denx.de/msg179404.html changes in v2: * Move edma related code to edma driver instead of handling it in ti-qspi driver. v1

[U-Boot] [U-Boot RESEND v2 02/10] env: use cache line aligned memory for flash read

2015-08-17 Thread Vignesh R
From: Ravi Babu Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. This is required because, flash drivers may use DMA for read operations and may have to invalidate the buffer before read. Signed-off-by: Ravi Babu Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- common/env_sf

[U-Boot] [U-Boot RESEND v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-17 Thread Vignesh R
From: Ravi Babu Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. This is required because, flash drivers may use DMA for read operations and may have to invalidate the buffer before read. Signed-off-by: Ravi Babu Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- common/cmd_sf

[U-Boot] [U-Boot RESEND v2 03/10] ARM: AM43xx: Add support for disabling clocks in uboot

2015-08-17 Thread Vignesh R
From: Kishon Vijay Abraham I Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Vignesh R Reviewed-by: Jagan Teki --- arch/arm/cpu/armv7/am33xx/clock.c| 52 +++

[U-Boot] [U-Boot RESEND v2 05/10] ARM: OMAP5: Add functions to enable and disable EDMA3 clocks

2015-08-17 Thread Vignesh R
Adds functions to enable and disable edma3 clocks which can be invoked by drivers using edma3 to control the clocks. Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- * dropped #ifdefs in header file. arch/arm/cpu/armv7/omap5/hw_data.c | 41 arch/arm/cp

[U-Boot] [U-Boot RESEND v2 09/10] spi: ti_qspi: Use DMA to read from qspi flash

2015-08-17 Thread Vignesh R
ti_qspi uses memory map mode for faster read. Enabling DMA will increase read speed by 3x @48MHz on DRA74 EVM. Signed-off-by: Vignesh R Reviewed-by: Jagan Teki --- drivers/spi/ti_qspi.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/spi/ti_qspi.c b/drivers/

[U-Boot] [U-Boot RESEND v2 07/10] sf: ops: Add spi_flash_copy_mmap function

2015-08-17 Thread Vignesh R
From: Tom Rini When doing a memory mapped copy we may have DMA available and thus need to have this copy abstracted so that the driver can do it, rather than a simple memcpy. Signed-off-by: Tom Rini Signed-off-by: Vignesh R Reviewed-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 8 +++- i

[U-Boot] [U-Boot RESEND v2 10/10] ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi

2015-08-17 Thread Vignesh R
Enable TI_EDMA3 and SPL_DMA support, so as to reduce boot time. With DMA enabled there is almost 3x improvement in read performance. This helps in reducing boot time in qspiboot mode Also add EDMA3 base address for DRA7XX and AM57XX. Signed-off-by: Vignesh R Reviewed-by: Jagan Teki --- arch/ar

[U-Boot] [U-Boot RESEND v2 06/10] ARM: AM43XX: Add functions to enable and disable EDMA3 clocks

2015-08-17 Thread Vignesh R
Adds functions to enable and disable edma3 clocks which can be invoked by drivers using edma3 to control the clocks. Signed-off-by: Vignesh R Reviewed-by: Tom Rini Reviewed-by: Jagan Teki --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 36 1 file changed, 36 ins

[U-Boot] [U-Boot RESEND v2 08/10] dma: ti-edma3: Add helper function to support edma3 transfer

2015-08-17 Thread Vignesh R
Signed-off-by: Vignesh R Reviewed-by: Jagan Teki --- arch/arm/include/asm/ti-common/ti-edma3.h | 2 + drivers/dma/ti-edma3.c| 78 +++ 2 files changed, 80 insertions(+) diff --git a/arch/arm/include/asm/ti-common/ti-edma3.h b/arch/arm/include/asm

[U-Boot] [U-Boot RESEND v2 04/10] ARM: OMAP5: Add support for disabling clocks in uboot

2015-08-17 Thread Vignesh R
From: Kishon Vijay Abraham I Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Vignesh R Reviewed-by: Jagan Teki --- arch/arm/cpu/armv7/omap-common/clocks-common.c | 53 +

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-17 Thread Jagan Teki
On 13 August 2015 at 17:23, Stefan Roese wrote: > Jagan, > > On 13.08.2015 13:45, Jagan Teki wrote: Please correct me if I'm wrong, but AFAIU this BAR thing (CONFIG_SPI_FLASH_BAR) doesn't support to address e.g. a 64MiB SPI flash contiguously. Only 16MiB areas. So for example i

Re: [U-Boot] [PATCH 1/3] sunxi: musb: Drop no longer accurate comment in Kconfig help text

2015-08-17 Thread Ian Campbell
On Sun, 2015-08-16 at 11:39 +0200, Hans de Goede wrote: > Drop the no longer accurate part of the USB_MUSB_SUNXI Kconfig help > text, > since the musb-host code now supports the device-model, ehci and musb > in > host mode can both be enabled at the same time without issues. > > Signed-off-by: H

Re: [U-Boot] [PATCH 3/3] sunxi: Add CONFIG_MMC0_CD_PIN to various boards

2015-08-17 Thread Ian Campbell
On Sun, 2015-08-16 at 11:39 +0200, Hans de Goede wrote: > Add CONFIG_MMC0_CD_PIN to various boards, this stoos the SPL from still stops > trying to access the sdcard when there is none (e.g. when booting from > nand). > > Signed-off-by: Hans de Go

Re: [U-Boot] [PATCH 2/3] sunxi: Drop LCD_MODE from A13-OLinuxIno defconfigs

2015-08-17 Thread Ian Campbell
On Sun, 2015-08-16 at 11:39 +0200, Hans de Goede wrote: > With the unified / cleaned up default display output selection changes, > which were done as part of adding composite video out support, our > example LCD_MODE line in the A13-OLinuxIno defconfigs causes the display > code to setup a LCD con

[U-Boot] [PATCH 0/9] imx: mx6: support LPDDR2 and add mx6slevk spl

2015-08-17 Thread Peng Fan
This patch set is to support SPL for mx6slevk board. But mx6slevk features one LPDDR2 chip. Then we need to first add LPDDR2 SPL support. Also introduce one ddr_type entry to differentiate DDR3 and LPDDR2. This patch set also correct tRFC and tXS for DDR3 4Gb chip. The LPDDR2 part is implemented r

[U-Boot] [PATCH 1/9] imx: mx6: ddr add more register entry for mmdc_p_regs

2015-08-17 Thread Peng Fan
Add more register entry for MMDC structure. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/include/asm/arch-mx6/mx6-ddr.h | 65 - 1 file changed, 56 insertions(+), 9 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/mx6-ddr.h b/arc

[U-Boot] [PATCH 5/9] imx: mx6: ddr add mpzqlp2ctl entry

2015-08-17 Thread Peng Fan
Add mpzqlp2ctl entry for mx6_mmdc_calibration. MMDC_MPZQLP2CTL register is for init tZQINIT, tZQCL, tZQCS for LPDDR2 chips. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/include/asm/arch-mx6/mx6-ddr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/includ

[U-Boot] [PATCH 6/9] imx: mx6: ddr add an entry ddr_type for mx6_ddr_sysinfo

2015-08-17 Thread Peng Fan
Add ddr_type entry for mx6_ddr_sysinfo. It will be used for differenrate DDR3 and LPDDR2. Introduce an enum type for ddr_type. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/include/asm/arch-mx6/mx6-ddr.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/ar

[U-Boot] [PATCH 4/9] imx: mx6: ddr add dram io configuration and header file for i.MX6SL

2015-08-17 Thread Peng Fan
Define two structure mx6sl_iomux_ddr_regs and mx6sl_iomux_grp_regs. Add a new function mx6sl_dram_iocfg to configure dram io. Add header file to define macros for register address. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/ddr.c | 55 +

[U-Boot] [PATCH 3/9] imx: mx6: ddr correct tRFC and tXS

2015-08-17 Thread Peng Fan
To Chip density 4Gb, tRFC should be 300ns, see "Table 61 — Refresh parameters by device density" of JESD79-3E. tXS(min) is max(5nCK, tRFC(min) + 10ns). Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey --- arch/arm/cpu/armv7/mx6/ddr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletio

<    1   2   3   4   5   >