Re: [U-Boot] [PATCH 02/13] dm: core: Add a new api to get indexed device address

2015-10-30 Thread Mugunthan V N
On Thursday 29 October 2015 10:47 PM, Simon Glass wrote: > Hi Mugunthan, > > On 27 October 2015 at 05:12, Mugunthan V N wrote: >> Add new api to get device address based on index. >> >> Signed-off-by: Mugunthan V N >> --- >> drivers/core/device.c | 20 >> include/dm/device.

[U-Boot] [PATCH] cfi_flash: give default CONFIG_SYS_MAX_FLASH_SECT in flash.h

2015-10-30 Thread Thomas Chou
Give default CONFIG_SYS_MAX_FLASH_SECT in flash.h, so that the header can be included regardless of the present of flash. The value 512 is the most used. Signed-off-by: Thomas Chou --- include/flash.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/flash.h b/in

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2015-10-30 Thread Marek Vasut
On Friday, October 30, 2015 at 11:40:07 AM, Lukasz Majewski wrote: > The following changes since commit > 517173d9652957e99598a34b5752dae21a5fea53: > > ohci: Add missing cache-flush for hcca area (2015-10-21 00:25:53 > +0200) > > are available in the git repository at: > > git://git.denx.d

Re: [U-Boot] [PATCH v2 8/8] x86: Move timer_init() call a bit earlier

2015-10-30 Thread Simon Glass
Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 7/8] x86: queensbay: Really disable IGD

2015-10-30 Thread Simon Glass
Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 6/8] x86: Move CONFIG_8259_PIC and CONFIG_8254_TIMER to Kconfig

2015-10-30 Thread Simon Glass
Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 5/8] x86: Rename pcat_ to i8254 and i8259 accordingly

2015-10-30 Thread Simon Glass
Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 4/8] x86: Initialize i8254 timer counter 1

2015-10-30 Thread Simon Glass
Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/8] x86: Fix cosmetic issues in the i8254 and i8259 codes

2015-10-30 Thread Simon Glass
Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/8] x86: Rename CONFIG_SYS_NUM_IRQS to SYS_NUM_IRQS

2015-10-30 Thread Simon Glass
Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/8] x86: Remove dead codes wrapped by PARANOID_IRQ_TRIGGERS

2015-10-30 Thread Simon Glass
Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] x86: Select the ns16550 debug UART for minnowmax, chromebook_link

2015-10-30 Thread Tom Rini
On Fri, Oct 30, 2015 at 03:46:17PM -0600, Simon Glass wrote: > At present the debug UART is not selected which causes a build error. > Correct this. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

[U-Boot] [PATCH] x86: Select the ns16550 debug UART for minnowmax, chromebook_link

2015-10-30 Thread Simon Glass
At present the debug UART is not selected which causes a build error. Correct this. Signed-off-by: Simon Glass --- configs/chromebook_link_defconfig | 1 + configs/minnowmax_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/chromebook_link_defconfig b/configs/chrome

[U-Boot] dm-spi: Convert to driver model

2015-10-30 Thread Jagan Teki
Hi All, I'm trying to port or helping anyone from below driver authors to convert these drivers to driver model [1] And I couldn't find any dts for the boards which uses these spi drivers if anyone knows if there is a dts which already exist in the code or in Linux please let me know. armada100_

Re: [U-Boot] [PATCH 1/7] kirkwood: standardise the configuration

2015-10-30 Thread Luka Perkov
Hi Quentin, On Wed, Oct 28, 2015 at 12:47:15AM +, Quentin Armitage wrote: > The Marvell plugs are very similar systems, and so it makes sense > for their u-boots to have the same commands/configuration. > > Add EXT4 and MII to Dreamplug, DATE to Guruplug and Sheevaplug. > Add CONFIG_SYS_ALT_M

Re: [U-Boot] [PATCH v4 00/21] sf: Tunning spi-flash layer

2015-10-30 Thread Jagan Teki
On 31 October 2015 at 02:00, Marek Vasut wrote: > On Friday, October 30, 2015 at 09:02:15 PM, Jagan Teki wrote: >> Hi Simon, >> >> On 30 October 2015 at 04:55, Simon Glass wrote: >> > Hi Jagan, >> > >> > On 28 October 2015 at 13:08, Jagan Teki wrote: >> >> Hi Simon, >> >> >> >> On 29 October 201

Re: [U-Boot] [PATCH v4 00/21] sf: Tunning spi-flash layer

2015-10-30 Thread Marek Vasut
On Friday, October 30, 2015 at 09:02:15 PM, Jagan Teki wrote: > Hi Simon, > > On 30 October 2015 at 04:55, Simon Glass wrote: > > Hi Jagan, > > > > On 28 October 2015 at 13:08, Jagan Teki wrote: > >> Hi Simon, > >> > >> On 29 October 2015 at 00:17, Simon Glass wrote: > >> > Hi Jagan, > >> >

Re: [U-Boot] [PATCH v2 15/28] input: Add a function to add a keycode to the existing set

2015-10-30 Thread Simon Glass
On 22 October 2015 at 22:12, Bin Meng wrote: > Hi Simon, > > On Mon, Oct 19, 2015 at 11:17 AM, Simon Glass wrote: >> Most keyboards can be scanned to produce a list of the keycodes which are >> depressed. With the i8042 keyboard this scanning is done internally and >> only the processed results a

Re: [U-Boot] [PATCH v2 16/28] input: Allow repeat filtering to be disabled

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 14/28] input: Add a few more keyboard keycodes

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 17/28] input: Allow repeat filtering to be disabled

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 13/28] input: Correct keycode for Ctrl-Y

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 09/28] video: Drop unused console functions

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 12/28] i8042: Adjust keyboard init to assume success

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 11/28] i8042: Adjust kbd_reset() to collect all failures

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 10/28] i8042: Use functions to handle register access

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 06/28] dm: stdio: Plumb in the new keyboard uclass

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 08/28] dm: cros_ec: Convert cros_ec keyboard driver to driver model

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 07/28] dm: tegra: Convert keyboard driver to driver model

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 05/28] cros_ec: Use udevice instead of cros_ec_dev for keyboard functions

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 04/28] input: Add the keycode translation tables separately

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 03/28] input: Return -ENOSPC when there is not space

2015-10-30 Thread Simon Glass
On 18 October 2015 at 21:17, Simon Glass wrote: > Return a useful error instead of -1 when something goes wrong. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > drivers/input/input.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied to u

Re: [U-Boot] [PATCH v2 02/28] input: Add a device pointer to the input config

2015-10-30 Thread Simon Glass
On 18 October 2015 at 21:17, Simon Glass wrote: > The read_keys() method in input is passed a struct input_config. Add a > device pointer there so that we can find out the device that is referred > to with driver model. > > Once all drivers are converted we can update the input structure to use >

Re: [U-Boot] [PATCH v2 01/28] dm: input: Create a keyboard uclass

2015-10-30 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/5] dm: usb: Add support for USB keyboards with driver model

2015-10-30 Thread Simon Glass
On 29 October 2015 at 13:09, Simon Glass wrote: > Hi Hans, > > On 19 October 2015 at 02:34, Hans de Goede wrote: >> >> Hi, >> >> >> On 19-10-15 01:17, Simon Glass wrote: >>> >>> Hi Hans, >>> >>> On 12 September 2015 at 09:15, Hans de Goede wrote: Hi, On 08-09-15 19:15, Simon

Re: [U-Boot] [PATCH v4 00/21] sf: Tunning spi-flash layer

2015-10-30 Thread Jagan Teki
Hi Simon, On 30 October 2015 at 04:55, Simon Glass wrote: > Hi Jagan, > > On 28 October 2015 at 13:08, Jagan Teki wrote: >> >> Hi Simon, >> >> On 29 October 2015 at 00:17, Simon Glass wrote: >> > Hi Jagan, >> > >> > On 19 October 2015 at 03:28, Jagan Teki wrote: >> >> Hi Simon, >> >> >> >> On

Re: [U-Boot] [PATCH] README.scrapyard: Populate recent ppc4xx removals

2015-10-30 Thread Tom Rini
On Fri, Oct 30, 2015 at 07:54:11AM -0400, Tom Rini wrote: > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/list

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2015-10-30 Thread Tom Rini
On Fri, Oct 30, 2015 at 09:26:50AM -0700, York Sun wrote: > Tom, > > The following changes since commit 677f970bc62a661690b3431543d5a5d5e682ba70: > > common/board_f.c: modify the macro to use get_clocks() more common > (2015-10-24 > 13:50:38 -0400) > > are available in the git repository at:

Re: [U-Boot] [PATCH v4 16/16] spi: Add SPI NOR protection mechanism

2015-10-30 Thread Jagan Teki
Hi Fabio, On 30 October 2015 at 22:21, Fabio Estevam wrote: > Hi Jagan, > > On Fri, Oct 30, 2015 at 2:28 PM, Jagan Teki wrote: > >>> +static int do_spi_protect(int argc, char * const argv[]) >>> +{ >>> + int ret = 0; >>> + loff_t start, len; >>> + bool prot = false; >>> + >>> +

Re: [U-Boot] [PATCH][v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-10-30 Thread York Sun
On 10/24/2015 10:02 PM, Prabhakar Kushwaha wrote: > From: Zhenhua Luo > > In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in > u-boot.lds overrides the linker built-in symbols > (https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff; > h=b893397a4b1316610f

Re: [U-Boot] [PATCH 2/2] mpc85xx: Add support for the Varisys Cyrus board

2015-10-30 Thread York Sun
On 10/21/2015 04:59 PM, Andy Fleming wrote: > This board runs a P5020 or P5040 chip, and utilizes > an EEPROM with similar formatting to the Freescale P5020DS. > > Large amounts of this code were developed by > Adrian Cox > > Signed-off-by: Andy Fleming > --- > arch/powerpc/cpu/mpc85xx/Kconf

Re: [U-Boot] [PATCH v3] colibri_vf: Add board_usb_phy_mode function

2015-10-30 Thread Marek Vasut
On Friday, October 30, 2015 at 05:26:25 PM, Stefan Agner wrote: > On 2015-10-30 09:24, Marek Vasut wrote: > > On Friday, October 30, 2015 at 05:12:54 PM, Stefan Agner wrote: > >> Hi All, > > > > Hi! > > > >> On 2015-10-30 05:26, Sanchayan Maity wrote: > >> > + > >> > +int board_usb_phy_mode(int p

Re: [U-Boot] [PATCH v4 16/16] spi: Add SPI NOR protection mechanism

2015-10-30 Thread Fabio Estevam
Hi Jagan, On Fri, Oct 30, 2015 at 2:28 PM, Jagan Teki wrote: >> +static int do_spi_protect(int argc, char * const argv[]) >> +{ >> + int ret = 0; >> + loff_t start, len; >> + bool prot = false; >> + >> + if (argc != 4) >> + return -1; >> + >> + if (!st

Re: [U-Boot] [PATCH] usb: dwc3: Fix warnings on 64-bit builds

2015-10-30 Thread Marek Vasut
On Friday, October 30, 2015 at 04:24:06 PM, Michal Simek wrote: > Change aritmentics to use 64bit types to be compatible with 64bit > builds. > > Signed-off-by: Michal Simek > --- > > drivers/usb/dwc3/core.c | 7 --- > drivers/usb/dwc3/ep0.c| 10 +- > drivers/usb/dwc3/gadget.

Re: [U-Boot] [PATCH 2/3][v3] Data types defined for 64 bit physical address

2015-10-30 Thread York Sun
On 09/17/2015 03:46 AM, Aneesh Bansal wrote: > Data types and I/O functions have been defined for > 64 bit physical addresses in arm. > > Signed-off-by: Aneesh Bansal > --- > Changes in v3: > Corrected the definition of virt_to_phys() and definition of phys_addr_t. Applied to u-boot-fsl-qoriq

[U-Boot] Please pull u-boot-fsl-qoriq master

2015-10-30 Thread York Sun
Tom, The following changes since commit 677f970bc62a661690b3431543d5a5d5e682ba70: common/board_f.c: modify the macro to use get_clocks() more common (2015-10-24 13:50:38 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git master for you to fetch changes up

Re: [U-Boot] [PATCH v3] colibri_vf: Add board_usb_phy_mode function

2015-10-30 Thread Marek Vasut
On Friday, October 30, 2015 at 05:12:54 PM, Stefan Agner wrote: > Hi All, Hi! > On 2015-10-30 05:26, Sanchayan Maity wrote: > > + > > +int board_usb_phy_mode(int port) > > +{ > > + switch (port) { > > + case 0: > > + return gpio_get_value(USB_CDET_GPIO); > > + break; > > +

Re: [U-Boot] [PATCH v4 15/16] spi: sf_ops: Add SPI protection mechanism from the kernel

2015-10-30 Thread Jagan Teki
On 26 October 2015 at 21:41, Fabio Estevam wrote: > Add the SPI NOR protection mechanism from the kernel. > > This code is based on the work from Brian Norris > > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/mtd/spi-nor/spi-nor.c?id=62593cf40b23b523b9fc9334ca61b

Re: [U-Boot] [PATCH] fsl_ddr: Make SR_IE configurable.

2015-10-30 Thread York Sun
On 10/14/2015 07:32 AM, Joakim Tjernlund wrote: > SR_IE(Self-refresh interrupt enable) is needed for > Hardware Based Self-Refresh. Make it configurable and let > board code handle the rest. > > Signed-off-by: Joakim Tjernlund > --- Removed "." from subject. Applied to u-boot-fsl-qoriq. Awaiti

Re: [U-Boot] [PATCH] ls102xa: Adjust some macros for SD boot on LS1021A QDS board

2015-10-30 Thread York Sun
On 10/30/2015 07:45 AM, Alison Wang wrote: > As more features are added for SD boot on LS1021A QDS board, > the size of U-Boot is larger. CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS > needs to be adjusted to a suitable value. > > Starting address of the malloc pool used in SPL needs to be > adjusted too,

Re: [U-Boot] [PATCH v4 16/16] spi: Add SPI NOR protection mechanism

2015-10-30 Thread Jagan Teki
Hi Fabio, On 26 October 2015 at 21:41, Fabio Estevam wrote: > Many SPI flashes have protection bits (BP2, BP1 and BP0) in the > status register that can protect selected regions of the SPI NOR. > > Take these bits into account when performing erase operations, > making sure that the protected are

Re: [U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

2015-10-30 Thread York Sun
On 09/23/2015 12:48 AM, Yuan Yao wrote: > I2C1 can work on ls102xa rev2.0 SD boot, so add > ID EEPROM for SD boot. > > Signed-off-by: Yuan Yao > --- Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH v3] colibri_vf: Add board_usb_phy_mode function

2015-10-30 Thread Stefan Agner
On 2015-10-30 09:24, Marek Vasut wrote: > On Friday, October 30, 2015 at 05:12:54 PM, Stefan Agner wrote: >> Hi All, > > Hi! > >> On 2015-10-30 05:26, Sanchayan Maity wrote: >> > + >> > +int board_usb_phy_mode(int port) >> > +{ >> > + switch (port) { >> > + case 0: >> > + return gpio_g

Re: [U-Boot] [PATCH] arm: ls1021atwr: optimize the deep sleep latency

2015-10-30 Thread York Sun
On 09/24/2015 12:52 AM, Tang Yuantian wrote: > It will take more than 1s when wake up from deep sleep. Most of the > time is spent on outputing information. This patch reduced the deep > sleep latency by: > 1. avoid outputing system informaton > 2. remove flush cache after DDR restore > 3. skip r

Re: [U-Boot] [PATCH] SECURE_BOOT: Correct reading of ITS bit

2015-10-30 Thread York Sun
On 10/12/2015 09:35 AM, Aneesh Bansal wrote: > The ITS bit was being read incorrectly beacause of operator > precedence. The same ahs been corrected. > > Signed-off-by: Lawish Deshmukh > Signed-off-by: Aneesh Bansal > --- Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks. York ___

[U-Boot] Ethernet i210 (e1000 driver) on tegra K1

2015-10-30 Thread Ivan Mercier
Hi, I'm using a ethernet controller intel i210 (http://www.commell.com.tw/product/Surveillance/MPX-210.htm) on my nvidia tegra k1 jetson. I not an expert with pci, but the only way to make it working in u-boot (upstream) is with the workaround below. E1000 is very common, so finding a crit

Re: [U-Boot] [PATCH] arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff

2015-10-30 Thread York Sun
On 10/25/2015 11:08 PM, Alison Wang wrote: > As 3G/1G user/kernel memory split is used on LS1021A, the Linux kernel > fails to access the device tree blob on boot. The reason is that u-boot > relocates the device tree blob into high memory when booting the kernel > and the kernel is unable to acc

Re: [U-Boot] [PATCH v3] arm: ls1021a: Add sata support on qds and twr board

2015-10-30 Thread York Sun
On 10/16/2015 01:06 AM, Tang Yuantian wrote: > Freescale ARM-based Layerscape LS102xA contain a SATA controller > which comply with the serial ATA 3.0 specification and the > AHCI 1.3 specification. > This patch adds SATA feature on ls1021aqds and ls1021atwr boards. > > Signed-off-by: Tang Yuant

Re: [U-Boot] [Patch V8 00/17] add LS1043A platform support

2015-10-30 Thread York Sun
On 10/26/2015 04:47 AM, Gong Qianyu wrote: > Hi all, > > Here are the changes for V8 patchset. Please help to review them. > > - Update the patch based on the latest U-Boot code. > - Remove "net/fm/eth: Use mb() to be compatible for both ARM" > > [Patch V8 01/17] common/board_f.c: change the

Re: [U-Boot] [PATCH 2/2][v3] armv8: ls2085a: Add support of random MAC address

2015-10-30 Thread York Sun
On 10/07/2015 04:00 AM, Prabhakar Kushwaha wrote: > Add support of setting RANDOM MAC address if env variable not available. > > Signed-off-by: Prabhakar Kushwaha > --- > Changs for v2: Incorporated Bin Meng's comments > - Moved defines to defconfig > - updated subject > Changes for v3: Incor

Re: [U-Boot] [PATCH 1/2][v3] driver: net: ldpaa_eth: Set MAC address during interface open

2015-10-30 Thread York Sun
On 10/07/2015 03:59 AM, Prabhakar Kushwaha wrote: > Currently ldpaa ethernet driver rely on DPL file to statically configure > mac address for the DPNIs. It is not a correct approach. > > Add support setting MAC address from env variable or Random MAC address. > > Signed-off-by: Prabhakar Kushw

Re: [U-Boot] [PATCH v2] arm: ls102xa: enable snooping for CAAM transactions

2015-10-30 Thread York Sun
On 10/15/2015 04:21 AM, Horia Geantă wrote: > Enable snooping for CAAM read & write transactions by > programming the SCFG snoop configuration register: > SCFG_SNPCNFGCR[SECRDSNP] > SCFG_SNPCNFGCR[SECWRSNP] > > Signed-off-by: Horia Geantă > Reviewed-by: Zhengxiong Jin > --- > > v2 - moved ini

Re: [U-Boot] [PATCH] ls102xa: fdt: Disable IFC in SD boot for QSPI

2015-10-30 Thread York Sun
On 10/27/2015 07:40 PM, Alison Wang wrote: > As QSPI/DSPI and IFC are pin multiplexed, IFC is disabled > in SD boot for QSPI. This patch will add fdt support for > this rule. > > Signed-off-by: Alison Wang > --- Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks. York __

Re: [U-Boot] [PATCH] armv8: ls2085ardb: enable CONFIG_PHY_AQUANTIA

2015-10-30 Thread York Sun
On 09/24/2015 03:20 AM, shh@gmail.com wrote: > From: Shaohui Xie > > To support on board Aquantia's PHY AQR405. > > Signed-off-by: Shaohui Xie > --- Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH 3/3][v5] crypto/fsl: SEC driver cleanup for 64 bit and endianness

2015-10-30 Thread York Sun
On 10/29/2015 10:28 AM, Aneesh Bansal wrote: > The SEC driver code has been cleaned up to work for 64 bit > physical addresses and systems where endianess of SEC block > is different from the Core. > Changes: > 1. Descriptor created on Core is modified as per SEC block >endianness before the

Re: [U-Boot] [PATCH 1/3][v3] Pointers in ESBC header made 32 bit

2015-10-30 Thread York Sun
On 09/17/2015 03:46 AM, Aneesh Bansal wrote: > For the Chain of Trust, the esbc_validate command supports > 32 bit fields for location of the image. In the header structure > definition, these were declared as pointers which made them > 64 bit on a 64 bit core. > > Signed-off-by: Aneesh Bansal

Re: [U-Boot] [PATCH v3] colibri_vf: Add board_usb_phy_mode function

2015-10-30 Thread Stefan Agner
Hi All, On 2015-10-30 05:26, Sanchayan Maity wrote: > + > +int board_usb_phy_mode(int port) > +{ > + switch (port) { > + case 0: > + return gpio_get_value(USB_CDET_GPIO); > + break; > + case 1: > + return USB_INIT_HOST; > + break; > +

Re: [U-Boot] [PATCH v2] arm: ls1021a: Add QSPI or IFC support in SD boot

2015-10-30 Thread York Sun
On 10/15/2015 02:54 AM, Alison Wang wrote: > As QSPI and IFC are pin-multiplexed on LS1021A, only IFC is supported in > SD boot now. For the customer's demand, QSPI needs to be supported in SD > boot too. > > This patch adds QSPI or IFC support in SD boot according to the > corresponding defconf

Re: [U-Boot] [PATCH] armv8/fsl-lsch3: fdt: Check the pointer returned from call to a function may be NULL

2015-10-30 Thread York Sun
On 08/31/2015 07:47 PM, Alison Wang wrote: > Pointer 'reg' returned from call to function 'fdt_getprop' may be > NULL, will be passed to function and may be dereferenced there by > passing argument 1 to function 'of_read_number'. So check pointer > 'reg' first. > > Signed-off-by: Alison Wang >

Re: [U-Boot] [PATCH 1/2] arm/fsl-ls: Add CONFIG_OF_STDOUT_VIA_ALIAS

2015-10-30 Thread York Sun
On 08/31/2015 07:05 PM, Scott Wood wrote: > This will allow OF-based earlycon to be used once the appropriate > aliases are added to the device tree and kernel support is fixed. > > Signed-off-by: Scott Wood > --- Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks. York __

Re: [U-Boot] [PATCH v2 2/2] fdt_support: Don't panic if stdout alias is missing

2015-10-30 Thread York Sun
On 09/01/2015 08:48 PM, Scott Wood wrote: > Currently, using fdt_fixup_stdout() on a device tree that is missing > the relevant alias results in this: > > WARNING: could not set linux,stdout-path FDT_ERR_NOTFOUND. > ERROR: /chosen node create failed > - must RESET the board to recover. > > FDT

Re: [U-Boot] [PATCH] QE: modify the address of qe ucode

2015-10-30 Thread York Sun
On 09/16/2015 01:20 AM, Zhao Qiang wrote: > From: Zhao Qiang > > the address of uboot changed, so change qe ucode > > Signed-off-by: Zhao Qiang > --- Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lis

[U-Boot] [PATCH] usb: dwc3: Fix warnings on 64-bit builds

2015-10-30 Thread Michal Simek
Change aritmentics to use 64bit types to be compatible with 64bit builds. Signed-off-by: Michal Simek --- drivers/usb/dwc3/core.c | 7 --- drivers/usb/dwc3/ep0.c| 10 +- drivers/usb/dwc3/gadget.c | 10 +- drivers/usb/dwc3/io.h | 4 ++-- 4 files changed, 16 insert

[U-Boot] [PATCH] usb: udc: Fix warnings on 64-bit builds

2015-10-30 Thread Michal Simek
Cast u32 bit value to 64bit before recasting to 64bit pointer to avoid pointer from integer cast size mismatch warnings. Warning log: +../drivers/usb/gadget/udc/udc-core.c: In function ‘usb_gadget_unmap_request’: +../drivers/usb/gadget/udc/udc-core.c:68:19: warning: cast to pointer from integer of

[U-Boot] [PATCH] usb: lthor: Specify correct parameter for sizeof type

2015-10-30 Thread Michal Simek
This patch removes this warning: CC drivers/usb/gadget/f_thor.o drivers/usb/gadget/f_thor.c: In function ‘thor_tx_data’: drivers/usb/gadget/f_thor.c:572:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] debug("%s: dev->in_req->l

Re: [U-Boot] [PATCH] Allow fw env tools to be available as library

2015-10-30 Thread Tom Rini
On Fri, Oct 30, 2015 at 02:57:04PM +0100, Stefano Babic wrote: > Sometimes it can be useful to link the fw_ tools instead > of having the fw_setenv/fw_printenv installed. > Patch exports the tool as library and allowes to link it > with own programs. > > Signed-off-by: Stefano Babic > CC: Tom Ri

[U-Boot] [PATCH] net: gem: Build warning fixes for 64-bit

2015-10-30 Thread Michal Simek
Cast pointers to unsigned long instead of a sized 32-bit type to avoid pointer to integer cast size mismatch warnings. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/net/zynq_gem.c b/dr

[U-Boot] [PATCH v2 3/3] dm: sf: Add support for all targets which requires MANUAL_RELOC

2015-10-30 Thread Michal Simek
It is follow up patch based on "dm: Add support for all targets which requires MANUAL_RELOC" (sha1: 484fdf5ba058b07be5ca82763aa2b72063540ef3) to update function pointers for DM. Using post_bind is not ideal but it is one on current option what can be used. Variable reloc_done has to be used do not

[U-Boot] [PATCH v2 2/3] dm: core: Add missing entries for manual relocation

2015-10-30 Thread Michal Simek
Patches: "dm: core: Add a post_bind method for parents" (sha1: 0118ce79577f9b0881f99a6e4f8a79cd5014cb87) "dm: core: Add a uclass pre_probe() method for devices" (sha1: 02c07b3741f1b825934b1a6eb8f23530532dc426) "dm: core: Allow the uclass to set up a device's child after binding" (sha1: 081f2fcbd9a9

[U-Boot] [PATCH v2 1/3] dm: spi: Add support for all targets which requires MANUAL_RELOC

2015-10-30 Thread Michal Simek
It is follow up patch based on "dm: Add support for all targets which requires MANUAL_RELOC" (sha1: 484fdf5ba058b07be5ca82763aa2b72063540ef3) to update function pointers for DM. Signed-off-by: Michal Simek Acked-by: Simon Glass --- Changes in v2: None drivers/spi/spi-uclass.c | 20 +++

Re: [U-Boot] [PATCH v4 07/16] sh: bitops: Use the generic bitops headers

2015-10-30 Thread Fabio Estevam
On Fri, Oct 30, 2015 at 4:18 AM, Jagan Teki wrote: > On 26 October 2015 at 21:41, Fabio Estevam > wrote: >> The generic bitops headers are required when calling logarithimic >> functions, such as ilog2(). >> >> Signed-off-by: Fabio Estevam >> Reviewed-by: Tom Rini >> Reviewed-by: Heiko Schoche

[U-Boot] [PATCH 1/2] zynq-common: Define CONFIG_SYS_I2C_ZYNQ based on board config

2015-10-30 Thread Michal Simek
From: Siva Durga Prasad Paladugu Enable CONFIG_SYS_I2C_ZYNQ only if it has either I2C0 or I2C1 enabled in a board config.This fixes the issue of i2c error during board init if board specific doesnt have either I2C0 or I2C1. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek

[U-Boot] [PATCH 2/2] ARM: zynqmp: Add DTS for ep108 board

2015-10-30 Thread Michal Simek
Add DTS for ep108 board. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 2 + arch/arm/dts/zynqmp-ep108-clk.dtsi | 119 +++ arch/arm/dts/zynqmp-ep108.dts | 174 ++ arch/arm/dts/zynqmp.dtsi | 668 + 4 files cha

[U-Boot] [PATCH] ls102xa: Adjust some macros for SD boot on LS1021A QDS board

2015-10-30 Thread Alison Wang
As more features are added for SD boot on LS1021A QDS board, the size of U-Boot is larger. CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS needs to be adjusted to a suitable value. Starting address of the malloc pool used in SPL needs to be adjusted too, or it will occupy the address u-boot loads. Signed-off-

[U-Boot] [PATCH] ARM: zynq: Remove zc70x target

2015-10-30 Thread Michal Simek
Remove zc70x target which was one setting for zc702 and zc706. Currently zc702 and zc706 are separated. Signed-off-by: Michal Simek --- arch/arm/mach-zynq/Kconfig | 10 +- board/xilinx/zynq/Makefile | 10 -- configs/zynq_zc70x_defconfig | 15 --- 3 files changed,

Re: [U-Boot] [PATCH v3 01/10] imx: cpu: move common chip revision id's

2015-10-30 Thread Stefano Babic
On 12/10/2015 20:48, Adrian Alonso wrote: > Move common chip revision id's to main cpu header file > mx25 generic include cpu header for chip revision > > Signed-off-by: Adrian Alonso > --- Whole series applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ==

Re: [U-Boot] [PATCH 1/1] imx: mx6sabresd: add i.MX6DQP Sabresd support

2015-10-30 Thread Stefano Babic
On 15/10/2015 12:05, Peng Fan wrote: > Add i.MX6DQP-Sabresd board support: > 1. set fdt_file according to board_rev which is set at runtime. > 2. Add mx6dqp_ddr_ioregs and calibration value for this board. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > --- Applied to u-b

Re: [U-Boot] [PATCH 1/1] imx: mx6sabresd discard PHYS_SDRAM_SIZE

2015-10-30 Thread Stefano Babic
On 15/10/2015 12:05, Peng Fan wrote: > This macro is not needed, since gd->ram_size is assigned value using > function imx_ddr_size(). > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > --- > include/configs/mx6sabresd.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [U-Boot] [PATCH] imx35, flea3: add FIT image support

2015-10-30 Thread Stefano Babic
On 09/10/2015 06:24, Heiko Schocher wrote: > add FIT image support for the flea3 board. > > Signed-off-by: Heiko Schocher > --- > > include/configs/flea3.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/flea3.h b/include/configs/flea3.h > index f646fee..a096071 10

Re: [U-Boot] [PATCH] ts4800: add CONFIG_OF_LIBFDT

2015-10-30 Thread Stefano Babic
On 06/10/2015 23:33, Damien Riegel wrote: > Linux only boots IMX.51-based boards with device tree, so this board > would benefit from supporting it. > > Signed-off-by: Damien Riegel > Cc: Stefano Babic > --- > include/configs/ts4800.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/

[U-Boot] [PATCH] Allow fw env tools to be available as library

2015-10-30 Thread Stefano Babic
Sometimes it can be useful to link the fw_ tools instead of having the fw_setenv/fw_printenv installed. Patch exports the tool as library and allowes to link it with own programs. Signed-off-by: Stefano Babic CC: Tom Rini --- tools/env/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 delet

[U-Boot] [PATCH v3 2/3] cfi_flash: convert to driver model

2015-10-30 Thread Thomas Chou
Convert cfi flash to driver model. Signed-off-by: Thomas Chou --- v2 add dts binding. add more help to Kconfig. move struct platdata to top of file as Simon suggested. v3 change to MTD uclass. doc/device-tree-bindings/mtd/mtd-physmap.txt | 88 drivers/mtd/Kc

[U-Boot] [PATCH v3 3/3] nios2: use cfi flash driver model

2015-10-30 Thread Thomas Chou
Use cfi flash driver model. Signed-off-by: Thomas Chou --- configs/nios2-generic_defconfig | 2 ++ include/configs/nios2-generic.h | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig index e42a15e..0a6de6f 1006

[U-Boot] [PATCH v3 1/3] dm: implement a MTD uclass

2015-10-30 Thread Thomas Chou
Implement a Memory Technology Device (MTD) uclass. It should include most flash drivers in the future. Though no uclass ops are defined yet, the MTD ops could be used. The NAND flash driver is based on MTD. The CFI flash and SPI flash support MTD, too. It should make sense to convert them to MTD u

Re: [U-Boot] [PATCH v2 00/14] dm: arm: zynq: Convert serial driver to driver model

2015-10-30 Thread Michal Simek
On 10/18/2015 03:41 AM, Simon Glass wrote: > This series updates the Zynq serial driver to use driver model. Along the > way several problems are fixed: > > - Support for /chosen/stdout-path using an alias > - Fix to fdtgrep which is currently breaking alias building > - Avoid building u-boot-spl-

Re: [U-Boot] [PATCH v3] colibri_vf: Add board_usb_phy_mode function

2015-10-30 Thread Marek Vasut
On Friday, October 30, 2015 at 01:26:59 PM, Sanchayan Maity wrote: > Add board_usb_phy_mode function for detecting whether a port is > being used as host or client using a GPIO. On Colibri Vybrid we > provide the GPIO 102 for this very same purpose. > > Signed-off-by: Sanchayan Maity > --- > Chan

[U-Boot] [PATCH v3] colibri_vf: Add board_usb_phy_mode function

2015-10-30 Thread Sanchayan Maity
Add board_usb_phy_mode function for detecting whether a port is being used as host or client using a GPIO. On Colibri Vybrid we provide the GPIO 102 for this very same purpose. Signed-off-by: Sanchayan Maity --- Changes since v1: Move the GPIO request call to the board_init function as all furth

[U-Boot] [PATCH] README.scrapyard: Populate recent ppc4xx removals

2015-10-30 Thread Tom Rini
Signed-off-by: Tom Rini --- doc/README.scrapyard |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/README.scrapyard b/doc/README.scrapyard index cddaff6..728acdd 100644 --- a/doc/README.scrapyard +++ b/doc/README.scrapyard @@ -12,10 +12,10 @@ The list should be so

Re: [U-Boot] [PATCH v4 10/16] openrisc: Use the generic bitops headers

2015-10-30 Thread Fabio Estevam
On Fri, Oct 30, 2015 at 4:23 AM, Jagan Teki wrote: >> diff --git a/arch/openrisc/include/asm/bitops.h >> b/arch/openrisc/include/asm/bitops.h >> index 6d0b57c..28c4658 100644 >> --- a/arch/openrisc/include/asm/bitops.h >> +++ b/arch/openrisc/include/asm/bitops.h >> @@ -12,6 +12,10 @@ >> #define

[U-Boot] [GIT] Pull request: u-boot-dfu

2015-10-30 Thread Lukasz Majewski
The following changes since commit 517173d9652957e99598a34b5752dae21a5fea53: ohci: Add missing cache-flush for hcca area (2015-10-21 00:25:53 +0200) are available in the git repository at: git://git.denx.de/u-boot-dfu.git for you to fetch changes up to a468bc844eb191b82e3f5af2f277854eb65

  1   2   >