Re: [U-Boot] [PATCH] arm:ls1021a: Reserve secure code into RAM instead of OCRAM

2015-07-30 Thread Zhang Z . Y .
Hi, York Could you help ACK this patch? Best Regards Zhuoyu > -Original Message- > From: Zhang Zhuoyu-B46552 > Sent: Wednesday, July 29, 2015 10:25 AM > To: Sun York-R58495 > Cc: u-boot@lists.denx.de; Jin Zhengxiong-R64188; Wang Huan-B18965 > Subject: RE: [PATCH] arm:ls1021a: Reserve sec

Re: [U-Boot] [PATCH] patman: Don't run patman when it is imported as a module

2015-07-30 Thread Chris Packham
Hi Simon, On Fri, Jul 31, 2015 at 7:47 AM, Simon Glass wrote: > Commit 488d19c (patman: add distutils based installer) has the side effect > of making patman run twice with each invocation. Fix this by checking for > 'main program' invocation in patman.py. This is good practice in any case. > > S

Re: [U-Boot] [U-Boot, v2] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-07-30 Thread Chris Packham
On Fri, Jul 31, 2015 at 2:54 PM, Bin Meng wrote: > Hi, > > On Tue, Jul 28, 2015 at 11:00 PM, Tom Rini wrote: >> On Sun, Jul 26, 2015 at 06:48:15PM +0200, Paul Kocialkowski wrote: >> >>> In order to achieve reproducible builds in U-Boot, timestamps that are >>> defined >>> at build-time have to b

[U-Boot] [PATCH] sunxi: Enable USB DRC on Wexler TAB7200

2015-07-30 Thread Aleksei Mamlin
Enable the otg/drc usb controller on the Wexler TAB7200 tablet. Signed-off-by: Aleksei Mamlin --- configs/Wexler_TAB7200_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/Wexler_TAB7200_defconfig b/configs/Wexler_TAB7200_defconfig index eadceb2..55e1b6b 100644 --- a/conf

[U-Boot] [PATCH 02/13][v4] imx: iomux-v3: add imx7d support for iomuxc

2015-07-30 Thread Adrian Alonso
* Add imx7d support for iomux controller * imx7d has two iomux controllers iomuxc (0x3033000) and iomuxc-lpsr (0x302C) each conroller provides control and mux mode pad registers but shares iomuxc input select register with iomuxc-lpsr IOMUX_CONFIG_LPSR flag is used to properly set daisy c

[U-Boot] Including both EHCI and xHCI does not compile

2015-07-30 Thread Bin Meng
Hi Marek, With both CONFIG_USB_EHCI and CONFIG_USB_XHCI included, it does not build. drivers/usb/host/xhci.o: In function `submit_control_msg': /git/u-boot/drivers/usb/host/xhci.c:1030: multiple definition of `submit_control_msg' drivers/usb/host/ehci-hcd.o:/git/u-boot/drivers/usb/host/ehci-hcd.c

Re: [U-Boot] [PATCH 7/7] x86: bayleybay: Configure PCI IRQ

2015-07-30 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 3:53 AM, Simon Glass wrote: > Hi Bin, > > On 30 July 2015 at 04:49, Bin Meng wrote: >> Add PCI IRQ routing information in the board device tree and enable >> writing PIRQ routing table and MP table. >> >> Signed-off-by: Bin Meng >> >> --- >> >> arch/x86/cpu/ba

Re: [U-Boot] [PATCH 1/7] common: Display >=4GiB memory bank size

2015-07-30 Thread Simon Glass
Hi Bin, On 30 July 2015 at 21:44, Bin Meng wrote: > Hi Simon, > > On Fri, Jul 31, 2015 at 3:53 AM, Simon Glass wrote: >> Hi Bin, >> >> On 30 July 2015 at 04:49, Bin Meng wrote: >>> bd->bi_dram[] has both start address and size defined as 32-bit, >>> which is not the case on some platforms where

Re: [U-Boot] [PATCH 1/7] common: Display >=4GiB memory bank size

2015-07-30 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 3:53 AM, Simon Glass wrote: > Hi Bin, > > On 30 July 2015 at 04:49, Bin Meng wrote: >> bd->bi_dram[] has both start address and size defined as 32-bit, >> which is not the case on some platforms where >=4GiB memory bank >> is used. Change them to support such me

Re: [U-Boot] [U-Boot, v2] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-07-30 Thread Bin Meng
Hi, On Tue, Jul 28, 2015 at 11:00 PM, Tom Rini wrote: > On Sun, Jul 26, 2015 at 06:48:15PM +0200, Paul Kocialkowski wrote: > >> In order to achieve reproducible builds in U-Boot, timestamps that are >> defined >> at build-time have to be somewhat eliminated. The SOURCE_DATE_EPOCH >> environment

[U-Boot] Pull request: u-boot-arm/master

2015-07-30 Thread Albert ARIBAUD
Hello, The following changes since commit cc35734358540a1bbaf042fdf9f4cb2de17389ed: Merge branch 'master' of git://git.denx.de/u-boot-tegra (2015-07-29 18:58:39 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to dad17fd51027ad

Re: [U-Boot] [PATCH v4] armv8: caches: Added routine to set non cacheable region

2015-07-30 Thread Albert ARIBAUD
Hello Siva, On Fri, 26 Jun 2015 18:05:07 +0530, Siva Durga Prasad Paladugu wrote: > Added routine mmu_set_region_dcache_behaviour() to set a > particular region as non cacheable. > > Define dummy routine for mmu_set_region_dcache_behaviour() > to handle incase of dcache off. > > Signed-off-by:

Re: [U-Boot] [PATCH v3 2/4] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-30 Thread Scott Wood
On Thu, 2015-07-23 at 14:33 +0200, Piotr Zierhoffer wrote: > +int nand_spl_load_image(uint32_t offs, unsigned int size, void *dest) > +{ > + void *current_dest; > + uint32_t count; > + uint32_t current_count; > + uint32_t ecc_errors = 0; > + > + memset(dest, 0x0, size); /* clean

Re: [U-Boot] [PATCH] Tegra: P2571: Clean up config file

2015-07-30 Thread Simon Glass
Hi Tom, On 30 July 2015 at 16:28, Tom Warren wrote: > Simon, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Thursday, July 30, 2015 2:33 PM >> To: Tom Warren >> Cc: U-Boot Mailing List; Tom Warren; Stephen Warren >> Subject: Re:

[U-Boot] [PATCH 13/13][v4] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-07-30 Thread Adrian Alonso
* Add i.MX7D SABRESD target board support with enabled modules: UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX. Build target: mx7dsabresd_config Signed-off-by: Peng Fan Signed-off-by: Fugang Duan Signed-off-by: Ye.Li Signed-off-by: Adrian Alonso --- Changes for V2: - Include arch/arm/

[U-Boot] [PATCH 12/13][v4] imx: imx7d: add imx-common cpu support for imx7d

2015-07-30 Thread Adrian Alonso
* Add imx-common cpu support for imx7d SoC * Update reset_cause for imx7d * Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend Changes for V4: Resend arch/arm/Makefile

[U-Boot] [PATCH 06/13][v4] imx: system counter driver for imx7d and mx6ul

2015-07-30 Thread Adrian Alonso
* The system counter driver for imx7d abd mx6ul, move this timer driver to imx-common and rename it as syscounter.c For mx6ul and mx7, configurations are used for choose the GPT timer or system counter timer (default). GPT timer: CONFIG_GPT_TIMER System counter timer: CON

[U-Boot] [PATCH 09/13][v4] imx: imx7d: Add SoC system support

2015-07-30 Thread Adrian Alonso
* Add SoC system support, Misc arch dependent functions for system bring up: s_init: system init enable clock base settings enable_caches: configures Cortex-A7 L2 caches get_boot_device: identifies boot device Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan Signed-off-by: Ye.Li ---

[U-Boot] [PATCH 10/13][v4] imx: imx7d: add hab secure boot support

2015-07-30 Thread Adrian Alonso
* HAB secure boot support - get_hab_status: checks if secure boot is enabled or not - authenticate_image: verifies image properly signed based on CSF entry * Uboot command for hab authenticate - hab_auth_img: authenticate image via HAB - hab_status: display HAB status Signed-off-by: Ad

[U-Boot] [PATCH 11/13][v4] imx: imx7d: add timer support for imx7d

2015-07-30 Thread Adrian Alonso
* Add timer support for imx7d SoC Signed-off-by: Adrian Alonso --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend Changes for V4: Resend arch/arm/imx-common/timer.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/a

[U-Boot] [PATCH 05/13][v4] imx: mx7 dm thermal driver support

2015-07-30 Thread Adrian Alonso
* Add thermal driver support for imx7 SoC read_cpu_temperature is SoC dependent * Redefine config macro to support imx7 and imx6 SoC Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- Changes for V2: - Rework patch so it can be applyed on top of patch imx6: standardise OCOTP and fuse c

[U-Boot] [PATCH 08/13][v4] imx: imx7d: clock control module support

2015-07-30 Thread Adrian Alonso
* Add Clock control module (CCM) support * iMX7D SoC introduces 3 main clock sysmtem abstraction for clock root frequency generation denominated clock slices. Core clock slice: hihg speed clock for ARM core Bus clock slice: for bus clocks IP clock slice: Peripheral clocks * At system boot R

[U-Boot] [PATCH 04/13][v4] imx: ocotp: mxc add i.MX7D support

2015-07-30 Thread Adrian Alonso
* Ocotp of i.MX7D has different operation rule. This patch is to add support for i.MX7D ocotp. Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- Changes for V2: Resend Changes for V3: Resend Changes for V4: Resend drivers/misc/mxc_ocotp.c | 74 +++

[U-Boot] [PATCH 03/13][v4] imx: mxc_gpio: add support for imx7d SoC

2015-07-30 Thread Adrian Alonso
* Add mxc_gpio support for imx7d SoC * Use CONFIG_MX7 to extend mxc gpio driver support for imx7d Signed-off-by: Peng Fan Signed-off-by: Adrian Alonso --- Changes for V2: Resend Changes for V3: Resend Changes for V4: Resend arch/arm/include/asm/arch-mx7/gpio.h | 12 drivers/gpio/m

[U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-07-30 Thread Adrian Alonso
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- Changes for V2: - Correct pfuze device name to pfuze3000; Freescale documentation uses Pfuze 3000 as product name for the pm

[U-Boot] [PATCH] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-07-30 Thread Adrian Alonso
Extend ehci-mx6 usb driver to support imx7d usb Signed-off-by: Adrian Alonso --- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-mx6.c | 125 2 files changed, 92 insertions(+), 34 deletions(-) diff --git a/drivers/usb/host/Makefile b/drive

Re: [U-Boot] [PATCH v2 00/11] USB and sunxi Kconfig and config changes leading up to fastboot support

2015-07-30 Thread Paul Kocialkowski
Hi Marek, Le mercredi 29 juillet 2015 à 19:01 +0200, Marek Vasut a écrit : > On Wednesday, July 29, 2015 at 04:41:53 PM, Hans de Goede wrote: > > On 29-07-15 15:32, Paul Kocialkowski wrote: > > > This series is based off the following patch: > > > * drivers: hierarchize drivers Kconfig menu > > >

Re: [U-Boot] [PATCH] Tegra: P2571: Clean up config file

2015-07-30 Thread Tom Warren
Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Thursday, July 30, 2015 2:33 PM > To: Tom Warren > Cc: U-Boot Mailing List; Tom Warren; Stephen Warren > Subject: Re: [PATCH] Tegra: P2571: Clean up config file > > Hi Tom, > > O

Re: [U-Boot] [PATCH] ARM: tegra: add comment re: autogeneration to pinmux headers

2015-07-30 Thread Simon Glass
On 30 July 2015 at 14:34, Stephen Warren wrote: > From: Stephen Warren > > Add a comment block to the top of each generated Tegra pinmux header file > indicating that the file was auto-generated, should not be manually > edited, and with a pointer to the tool and command used to generate it. > >

Re: [U-Boot] [PATCH] Tegra: spi: Move TEGRA114_SPI switch to defconfigs

2015-07-30 Thread Simon Glass
On 30 July 2015 at 14:57, Tom Warren wrote: > All T114+ Tegra boards should be using the Kconfig > TEGRA114_SPI switch. Remove it from include/config > and put it into defconfig. Also removed unused > TEGRA114_SPI_CTRLS from T114+ configs. > > All Tegra SoCs build OK with this change. > > Signed-o

Re: [U-Boot] [PATCH] Tegra: P2571: Clean up config file

2015-07-30 Thread Simon Glass
Hi Tom, On 30 July 2015 at 15:09, Tom Warren wrote: > > Removed NS16550_COM1 #define, not used since there's no SPL for T210 > Also changed the number of USB controllers to 1 as only USBD is used. > > Signed-off-by: Tom Warren > --- > include/configs/p2571.h | 7 +-- > 1 file changed, 1 ins

Re: [U-Boot] [PATCH] Tegra: spi: Move TEGRA114_SPI switch to defconfigs

2015-07-30 Thread Stephen Warren
On 07/30/2015 02:57 PM, Tom Warren wrote: All T114+ Tegra boards should be using the Kconfig TEGRA114_SPI switch. Remove it from include/config and put it into defconfig. Also removed unused TEGRA114_SPI_CTRLS from T114+ configs. All Tegra SoCs build OK with this change. Acked-by: Stephen Warr

Re: [U-Boot] [PATCH] Tegra: P2571: Clean up config file

2015-07-30 Thread Stephen Warren
On 07/30/2015 03:09 PM, Tom Warren wrote: Removed NS16550_COM1 #define, not used since there's no SPL for T210 Also changed the number of USB controllers to 1 as only USBD is used. Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] Tegra: P2571: Clean up config file

2015-07-30 Thread Tom Warren
Removed NS16550_COM1 #define, not used since there's no SPL for T210 Also changed the number of USB controllers to 1 as only USBD is used. Signed-off-by: Tom Warren --- include/configs/p2571.h | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/configs/p2571.h b/inc

[U-Boot] [PATCH] Tegra: spi: Move TEGRA114_SPI switch to defconfigs

2015-07-30 Thread Tom Warren
All T114+ Tegra boards should be using the Kconfig TEGRA114_SPI switch. Remove it from include/config and put it into defconfig. Also removed unused TEGRA114_SPI_CTRLS from T114+ configs. All Tegra SoCs build OK with this change. Signed-off-by: Tom Warren --- configs/dalmore_defconfig| 1 +

[U-Boot] [PATCH 6/6] arm: am437x: Introduce new board cm-t43

2015-07-30 Thread Nikita Kiryanov
Add initial support for CM-T43, an AM437x based SoM. This support includes: serial, MMC/eMMC, NAND, USB, ETH, I2C, GPIO, DRAM detection. Cc: Tom Rini Cc: Albert Aribaud Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- arch/arm/Kconfig | 6 + board/compulab/cm_t43/Kconfi

[U-Boot] [PATCH 2/6] arm: am43xx: enable spi clock

2015-07-30 Thread Nikita Kiryanov
Add spi clock to the list of am43xx basic clocks to make the SPI subsystem available on am43xx systems. Cc: Albert Aribaud Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/am33xx

[U-Boot] [PATCH 3/6] mmc: omap_hsmmc: enable proper CMD(DAT) lines reset procedure for am43xx

2015-07-30 Thread Nikita Kiryanov
The CMD(DAT) lines reset procedure described in the OMAP4(AM335x, OMAP5, DRA7xx) TRMs is also necessary for AM43XX. Enable it in the driver. Cc: Pantelis Antoniou Cc: Igor Grinberg Cc: Albert Aribaud Signed-off-by: Nikita Kiryanov --- drivers/mmc/omap_hsmmc.c | 2 +- 1 file changed, 1 inserti

[U-Boot] [PATCH 1/6] spi: omap3_spi: add am43xx support to omap3_spi

2015-07-30 Thread Nikita Kiryanov
Add support for AM43XX to the omap3_spi driver. Cc: Jagan Teki Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- drivers/spi/omap3_spi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/omap3_spi.h b/drivers/spi/omap3_spi.h index ab7cd84..4af22c1 100644 --- a/

[U-Boot] [PATCH 0/6] Introduce new board cm-t43

2015-07-30 Thread Nikita Kiryanov
This series adds initial support for CM-T43, an AM437x based SoM. This support includes: serial, MMC/eMMC, NAND, USB, ETH, I2C, GPIO, DRAM detection. Cc: Igor Grinberg Cc: Albert Aribaud Cc: Pantelis Antoniou Cc: Jagan Teki Cc: Tom Rini Nikita Kiryanov (6): spi: omap3_spi: add am43xx suppo

[U-Boot] [PATCH 4/6] mmc: omap_hsmmc: enable 8bit interface for eMMC for AM43xx

2015-07-30 Thread Nikita Kiryanov
Enable 8bit interface on HSMMC2 for am43xx to support 8bit eMMC chips. Cc: Pantelis Antoniou Cc: Igor Grinberg Cc: Albert Aribaud Signed-off-by: Nikita Kiryanov --- drivers/mmc/omap_hsmmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/omap_hsmmc.c b/driv

[U-Boot] [PATCH 5/6] gpio: am43xx: expand gpio support

2015-07-30 Thread Nikita Kiryanov
AM43XX SoCs support up to 192 GPIO signals. Make this amount available to the driver. Cc: Albert Aribaud Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- arch/arm/include/asm/arch-am33xx/gpio.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-am33xx/gpio.h

[U-Boot] [PATCH] ARM: tegra: add comment re: autogeneration to pinmux headers

2015-07-30 Thread Stephen Warren
From: Stephen Warren Add a comment block to the top of each generated Tegra pinmux header file indicating that the file was auto-generated, should not be manually edited, and with a pointer to the tool and command used to generate it. Signed-off-by: Stephen Warren --- board/nvidia/jetson-tk1/p

Re: [U-Boot] [PATCH v4 9/9] hikey: Add hikey-u-boot.mak

2015-07-30 Thread Peter Griffin
Pleas ignore this last patch. I didn't mean to send it as part of the v4 series. regards, Peter. On 30 July 2015 at 18:55, Peter Griffin wrote: > Signed-off-by: Peter Griffin > --- > hikey-u-boot.mak | 33 + > 1 file changed, 33 insertions(+) > create mode 10

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-30 Thread Stephen Warren
On 07/30/2015 12:23 PM, Simon Glass wrote: Hi Stephen, On 30 July 2015 at 12:13, Stephen Warren wrote: On 07/29/2015 05:02 PM, Simon Glass wrote: Hi Stephen, On 29 July 2015 at 13:48, Stephen Warren wrote: diff --git a/board/nvidia/e2220-1170/e2220-1170.c b/board/nvidia/e2220-1170/e2220

Re: [U-Boot] [U-Boot, 1/2] ti: armv7: enable EXT support in SPL (using ti_armv7_common.h)

2015-07-30 Thread Ash Charles
On Tue, Jul 28, 2015 at 10:19 AM, Ash Charles wrote: > I suspect testing u-boot v2015.07 on another OMAP35xx platform besides > Overo will be most useful to confirm the scope of the problem. Anyone > have a board and willing to test? I'm happy to send binaries :). Hi, FWIW, I just tried this wit

Re: [U-Boot] [PATCH 3/7] x86: minnowmax: Remove smsc47x superio codes

2015-07-30 Thread Simon Glass
On 30 July 2015 at 04:49, Bin Meng wrote: > On Intel BayTrail SoC, there is a legacy UART (I/O 0x3f8) integrated > into the SoC which is enabled by the FSP. Remove the smsc47x superio > initialization codes. > > Signed-off-by: Bin Meng > --- > > board/intel/minnowmax/minnowmax.c | 12 ---

Re: [U-Boot] [PATCH 7/7] x86: bayleybay: Configure PCI IRQ

2015-07-30 Thread Simon Glass
Hi Bin, On 30 July 2015 at 04:49, Bin Meng wrote: > Add PCI IRQ routing information in the board device tree and enable > writing PIRQ routing table and MP table. > > Signed-off-by: Bin Meng > > --- > > arch/x86/cpu/baytrail/valleyview.c | 8 + > arch/x86/dts/bayleybay.dts | 63 >

Re: [U-Boot] [PATCH 5/7] x86: Add microcode for BayTrail-I B0 stepping

2015-07-30 Thread Simon Glass
On 30 July 2015 at 04:49, Bin Meng wrote: > This commit adds the microcode blob for BayTrail-I B0 stepping, > CPUID signature 30671h. > > Signed-off-by: Bin Meng > --- > > arch/x86/dts/microcode/m0230671117.dtsi | 4244 > +++ > 1 file changed, 4244 insertions(+) > c

Re: [U-Boot] [PATCH 4/7] x86: baytrail: Update UPD setting for FSP Gold4 release

2015-07-30 Thread Simon Glass
On 30 July 2015 at 04:49, Bin Meng wrote: > BayTrail FSP Gold4 release adds one UPD parameter to control IGD > enable/disable. > > Signed-off-by: Bin Meng > --- > > arch/x86/include/asm/arch-baytrail/fsp/fsp_vpd.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Simon Glass

Re: [U-Boot] [PATCH 1/7] common: Display >=4GiB memory bank size

2015-07-30 Thread Simon Glass
Hi Bin, On 30 July 2015 at 04:49, Bin Meng wrote: > bd->bi_dram[] has both start address and size defined as 32-bit, > which is not the case on some platforms where >=4GiB memory bank > is used. Change them to support such memory banks. > > Signed-off-by: Bin Meng > --- > > common/board_f.c

Re: [U-Boot] [PATCH 2/7] x86: Sanity test on vesa parameters before setting up kernel screen_info

2015-07-30 Thread Simon Glass
On 30 July 2015 at 04:49, Bin Meng wrote: > We should not set up kernel screen_info when the vesa parameters are > insane, otherwise kernel will panic. > > Signed-off-by: Bin Meng > --- > > drivers/pci/pci_rom.c | 4 > 1 file changed, 4 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH 6/7] x86: Add Intel Bayley Bay board support

2015-07-30 Thread Simon Glass
On 30 July 2015 at 04:49, Bin Meng wrote: > Intel Bayley Bay board is a BayTrail based board. Add this board > with existing baytrail fsp support. > > Signed-off-by: Bin Meng > --- > > arch/x86/dts/Makefile | 3 +- > arch/x86/dts/bayleybay.dts| 134 > ++

[U-Boot] [PATCH] patman: Don't run patman when it is imported as a module

2015-07-30 Thread Simon Glass
Commit 488d19c (patman: add distutils based installer) has the side effect of making patman run twice with each invocation. Fix this by checking for 'main program' invocation in patman.py. This is good practice in any case. Signed-off-by: Simon Glass --- tools/patman/patman.py | 5 - 1 file

Re: [U-Boot] [PATCH] ARM: tegra: restrict usable RAM size further

2015-07-30 Thread Stephen Warren
On 07/30/2015 01:00 PM, Simon Glass wrote: Hi Stephen, On 30 July 2015 at 12:47, Stephen Warren wrote: ... At least initially, we're targeting booting the system with the same bootloader that L4T and Android use for unification. U-Boot runs after the base security/... environment is set up to

[U-Boot] [PATCH 5/6] net: e1000: Convert to driver model

2015-07-30 Thread Simon Glass
Update this driver to support driver model. Signed-off-by: Simon Glass --- drivers/net/e1000.c | 137 drivers/net/e1000.h | 4 ++ 2 files changed, 141 insertions(+) diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 3a1d2ad..3db0

[U-Boot] [PATCH 4/6] net: e1000: Prepare for driver model conversion

2015-07-30 Thread Simon Glass
Since struct eth_device does not exist with CONFIG_DM_ETH defined, avoid using it in the driver unless necessary. Most of the time it is better to pass the private driver pointer anyway. Also refactor the code so that code that the driver model implementation will share are available in functions

[U-Boot] [PATCH 6/6] net: Move CONFIG_E1000 options to Kconfig

2015-07-30 Thread Simon Glass
Move config for the E1000 Ethernet driver to Kconfig and tidy up affected boards. Signed-off-by: Simon Glass --- README | 19 -- configs/CSQ_CS908_defconfig | 2 +- configs/Mele_A1000G_quad_defconfig | 2 +- configs/Mini-X_defconfig

[U-Boot] [PATCH 2/6] dm: core: Fix a typo in the uclass_get_device_by_name() comment

2015-07-30 Thread Simon Glass
This function comment has a typo. Fix it. Signed-off-by: Simon Glass --- include/dm/uclass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dm/uclass.h b/include/dm/uclass.h index 3fe1739..d56877c 100644 --- a/include/dm/uclass.h +++ b/include/dm/uclass.h @@ -130,7

[U-Boot] [PATCH 1/6] dm: core: Add a way to set a device name

2015-07-30 Thread Simon Glass
Some devices are bound entirely by probing and do not have the benefit of a device tree to give them a name. This is very common with PCI and USB. In most cases this is fine, but we should add an official way to set a device name. This should be called in the device's bind() method. Signed-off-by:

[U-Boot] [PATCH 0/6] net: Move e1000 driver to driver model and Kconfig

2015-07-30 Thread Simon Glass
This little series updates the e1000 Ethernet driver to support driver model. It also moves the configuration to Kconfig and adjusts all boards using Masahiro's excellent moveconfig tool. Simon Glass (6): dm: core: Add a way to set a device name dm: core: Fix a typo in the uclass_get_device_b

[U-Boot] [PATCH 3/6] net: e1000: Move #include of common.h to the C files

2015-07-30 Thread Simon Glass
We cannot currently include any header files in the C files since common.h needs to be included first, and it is in the header file. Move it. Signed-off-by: Simon Glass --- drivers/net/e1000.c | 1 + drivers/net/e1000.h | 1 - drivers/net/e1000_spi.c | 1 + 3 files changed, 2 insertions

Re: [U-Boot] [PATCH] ARM: tegra: restrict usable RAM size further

2015-07-30 Thread Simon Glass
Hi Stephen, On 30 July 2015 at 12:47, Stephen Warren wrote: > On 07/30/2015 09:52 AM, Simon Glass wrote: >> >> Hi, >> >> On 30 July 2015 at 09:43, Stephen Warren wrote: >>> >>> >>> On 07/30/2015 05:04 AM, Thierry Reding wrote: On Wed, Jul 29, 2015 at 01:47:58PM -0600, Stephen Warr

Re: [U-Boot] [PATCH] ARM: tegra: restrict usable RAM size further

2015-07-30 Thread Stephen Warren
On 07/30/2015 09:52 AM, Simon Glass wrote: Hi, On 30 July 2015 at 09:43, Stephen Warren wrote: On 07/30/2015 05:04 AM, Thierry Reding wrote: On Wed, Jul 29, 2015 at 01:47:58PM -0600, Stephen Warren wrote: From: Stephen Warren Additionally, ARM64 devices typically run a secure monitor in

Re: [U-Boot] GUID/UUID string representation

2015-07-30 Thread Stephen Warren
On 07/30/2015 05:19 AM, Palacios, Hector wrote: Hello, Commit d718ded056eefb6239bd2e0a57b7f6d99c6e9e4b introduced translation of UUID binary data to GUID string representation. So, for example, if I use the 'gpt' command to create a partition table and pass a 'uuid' parameter like this: => gp

Re: [U-Boot] [PATCH 1/2] Tegra: clocks: Add 38.4MHz OSC support for T210 use

2015-07-30 Thread Stephen Warren
On 07/29/2015 02:13 PM, Tom Warren wrote: Added 38.4MHz/48MHz entries to pll_x_table for CPU PLL. Needs to be measured - should be close to 700MHz (1.4G/2). Note that some freqs aren't in the PLLU table in T210 TRM (13, 26MHz), so I used the 12MHz table entry for them. They shouldn't be selected

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-30 Thread Simon Glass
Hi Stephen, On 30 July 2015 at 12:13, Stephen Warren wrote: > On 07/29/2015 05:02 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 29 July 2015 at 13:48, Stephen Warren wrote: >>> >>> >> >> Commit message? > > > I guess I can add one, but there really much useful additional information I > can

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-30 Thread Simon Glass
Hi Tom. On 29 July 2015 at 20:42, Tom Warren wrote: > Simon, > > I can respond to your Kconfig questions below. > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Wednesday, July 29, 2015 4:02 PM >> To: Stephen Warren >> Cc: U-Boot

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-30 Thread Stephen Warren
On 07/29/2015 05:02 PM, Simon Glass wrote: Hi Stephen, On 29 July 2015 at 13:48, Stephen Warren wrote: Commit message? I guess I can add one, but there really much useful additional information I can give. I've also been "guilty" of pushing for commit messages for cases like this, but

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-30 Thread Tom Warren
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, July 30, 2015 11:03 AM > To: Tom Warren; Simon Glass > Cc: U-Boot Mailing List; Stephen Warren; Thierry Reding > Subject: Re: [PATCH 1/2] ARM: tegra: Add e2220-1170 board > > (It'd be nice if all t

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Add e2220-1170 board

2015-07-30 Thread Stephen Warren
(It'd be nice if all the irrelevant context could be trimmed so it was possible to quickly find the responses within the patch. As it is, there are about 5 lines of response in hundreds of lines of quoted patch, which makes it very easy to miss things and wastes time). On 07/29/2015 08:42 PM,

[U-Boot] [PATCH v4 9/9] hikey: Add hikey-u-boot.mak

2015-07-30 Thread Peter Griffin
Signed-off-by: Peter Griffin --- hikey-u-boot.mak | 33 + 1 file changed, 33 insertions(+) create mode 100644 hikey-u-boot.mak diff --git a/hikey-u-boot.mak b/hikey-u-boot.mak new file mode 100644 index 000..f4cd547 --- /dev/null +++ b/hikey-u-boot.mak @@ -0,

[U-Boot] [PATCH v4 5/9] pmic: pmic_hi6553: Add a driver for the hi6553 pmic found on hikey board.

2015-07-30 Thread Peter Griffin
This adds a simple pmic driver for the hi6553 pmic which is used in conjunction with the hi6220 SoC on the hikey board. Eventually this driver will be updated to be a proper UCLASS PMIC driver which can parse the voltages direct from device tree. Signed-off-by: Peter Griffin --- drivers/power/pm

[U-Boot] [PATCH v4 8/9] ARM64: hikey: Add a README for this board.

2015-07-30 Thread Peter Griffin
To help others with compiling and flashing ATF and u-boot add a README for this board. Signed-off-by: Peter Griffin --- board/hisilicon/hikey/README | 160 +++ 1 file changed, 160 insertions(+) create mode 100644 board/hisilicon/hikey/README diff --git a

[U-Boot] [PATCH v4 4/9] hisilicon: hi6220: Add a hi6220 pinmux driver.

2015-07-30 Thread Peter Griffin
This patch adds basic pinmux support for the hi6220 SoC, which is found on the hikey board. Signed-off-by: Peter Griffin --- arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/hisilicon/Makefile | 9 ++ arch/arm/cpu/armv8/hisilicon/pinmux.c | 184

[U-Boot] [PATCH v4 3/9] ARM: hi6220: Add register and bitfield definition header files.

2015-07-30 Thread Peter Griffin
This patch adds the header files which will be used in the subsquent board / drivers to enable support for hi6220 hikey board. Signed-off-by: Peter Griffin --- arch/arm/include/asm/arch-hi6220/hi6220.h | 387 +++ .../include/asm/arch-hi6220/hi6220_regs_alwayson.h | 420 +

[U-Boot] [PATCH v4 7/9] ARM64: hikey: hi6220: Add u-boot support for the 96boards CE HiKey board.

2015-07-30 Thread Peter Griffin
HiKey is the first 96boards consumer edition compliant board. It features a hi6220 SoC which has eight ARM A53 cpu's. This initial port adds support for: - 1) Serial 2) eMMC / SD card 3) USB 4) GPIO It has been tested with Arm Trusted Firmware running u-boot as the BL33 executable. Notes: eMM

[U-Boot] [PATCH v4 6/9] mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller.

2015-07-30 Thread Peter Griffin
This patch adds the glue code for hi6220 SoC which has 2x synopsis dw_mmc controllers. This will be used by the hikey board support in subsequent patches. Signed-off-by: Peter Griffin Reviewed-by: Simon Glass --- arch/arm/include/asm/arch-hi6220/dwmmc.h | 8 + drivers/mmc/Makefile

[U-Boot] [PATCH v4 2/9] dm: gpio: hi6220: Add a hi6220 GPIO driver model driver.

2015-07-30 Thread Peter Griffin
This patch adds support for the GPIO perif found on hi6220 SoC. Signed-off-by: Peter Griffin --- arch/arm/include/asm/arch-hi6220/gpio.h | 29 ++ drivers/gpio/Makefile | 2 + drivers/gpio/hi6220_gpio.c | 95 + 3 files change

[U-Boot] [PATCH v4 1/9] usb: dwc2: Call board_usb_init() from usb_lowlevel_init()

2015-07-30 Thread Peter Griffin
This patch makes the dwc2 controller like ehci / ohci / xhci controllers by calling the board_usb_init() function from usb_lowlevel_init. This can then be implemented by specific platforms to initialise their USB hardware (phys / clocks etc). Signed-off-by: Peter Griffin --- drivers/usb/host/dw

[U-Boot] [PATCH v4 0/9] Add support for hi6220 SoC and HiKey 96boards CE board.

2015-07-30 Thread Peter Griffin
Hi Albert / Tom, This series adds support for the first 96boards consumer edition HiKey board. More information can be found about this board at the following link https://www.96boards.org/products/hikey/. This initial port adds support for: - 1) Serial 2) eMMC and sd card 3) USB 4) GPIO It has

Re: [U-Boot] [PATCH v3 7/8] ARM64: hikey: hi6220: Add u-boot support for the 96boards CE HiKey board.

2015-07-30 Thread Peter Griffin
Hi Sjoerd, On 30 July 2015 at 09:46, Sjoerd Simons wrote: > On Wed, 2015-07-29 at 22:39 +0100, Peter Griffin wrote: > > HiKey is the first 96boards consumer edition compliant board. It > > features a hi6220 > > SoC which has eight ARM A53 cpu's. > > > > This initial port adds support for: - > >

Re: [U-Boot] [PATCH] ARM: tegra: restrict usable RAM size further

2015-07-30 Thread Simon Glass
Hi, On 30 July 2015 at 09:43, Stephen Warren wrote: > > On 07/30/2015 05:04 AM, Thierry Reding wrote: >> >> On Wed, Jul 29, 2015 at 01:47:58PM -0600, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> Additionally, ARM64 devices typically run a secure monitor in EL3 and >>> U-Boot in EL2

Re: [U-Boot] [PATCH] ARM: tegra: restrict usable RAM size further

2015-07-30 Thread Stephen Warren
On 07/30/2015 05:04 AM, Thierry Reding wrote: On Wed, Jul 29, 2015 at 01:47:58PM -0600, Stephen Warren wrote: From: Stephen Warren Additionally, ARM64 devices typically run a secure monitor in EL3 and U-Boot in EL2, and set up some secure RAM carve-outs to contain the EL3 code and data. These

Re: [U-Boot] [PATCH] generic_board: Call "checkboard" even though the root node has a "model" property

2015-07-30 Thread Bin Meng
Hi Simon, On Thu, Jul 30, 2015 at 10:53 PM, Simon Glass wrote: > Hi, > > On 30 July 2015 at 04:55, Masahiro Yamada > wrote: >> >> 2015-07-30 19:51 GMT+09:00 Bin Meng : >> > On Thu, Jul 30, 2015 at 6:47 PM, Masahiro Yamada >> > wrote: >> >> 2015-07-30 19:42 GMT+09:00 Bin Meng : >> >>> Hi Haikun

Re: [U-Boot] [RFC PATCH 1/7] pinctrl: add pinctrl framework

2015-07-30 Thread Simon Glass
Hi Masahiro, On 29 July 2015 at 23:16, Masahiro Yamada wrote: > Hi Simon, > > > 2015-07-30 11:06 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 15 July 2015 at 02:16, Masahiro Yamada >> wrote: >>> >>> Now, a simple pinctrl patch is being proposed by Simon. >>> http://patchwork.ozlabs.org/patc

Re: [U-Boot] [PATCH] generic_board: Call "checkboard" even though the root node has a "model" property

2015-07-30 Thread Simon Glass
Hi, On 30 July 2015 at 04:55, Masahiro Yamada wrote: > > 2015-07-30 19:51 GMT+09:00 Bin Meng : > > On Thu, Jul 30, 2015 at 6:47 PM, Masahiro Yamada > > wrote: > >> 2015-07-30 19:42 GMT+09:00 Bin Meng : > >>> Hi Haikun, Simon, > >>> > >>> On Fri, Jul 10, 2015 at 11:50 AM, Wang Haikun > >>> wrot

Re: [U-Boot] [PATCH v2 4/4] usb: lpc32xx: add host USB driver

2015-07-30 Thread LEMIEUX, SYLVAIN
Hi Marek, Thanks for the feedback. I will do the change and submit a new revision of the patch. For your question regarding reference to UART 5 inside the USB driver; * It is possible to also route the UART5 Tx/Rx pin to the USB D+ and D- pins; the driver ensure this is not selected. For

Re: [U-Boot] [PATCH v2 4/4] usb: lpc32xx: add host USB driver

2015-07-30 Thread Marek Vasut
On Thursday, July 30, 2015 at 04:13:14 PM, LEMIEUX, SYLVAIN wrote: > Hi Marek, Hi! > Thanks for the feedback. I will do the change and submit a new revision of > the patch. > > For your question regarding reference to UART 5 inside the USB driver; > * It is possible to also route the UART5 Tx/R

Re: [U-Boot] v2 i.MX6 consolidate the fuse and thermal options

2015-07-30 Thread Peter Robinson
>> On Tue, Jul 14, 2015 at 12:52 AM, Peter Robinson >> wrote: >>> These two patches consolidate the fuse and thermal options. They're both >>> options that are standard SoC features so should be there by default for all >>> devices. >> >> What's the status of getting these pulled in? >> > > I hav

Re: [U-Boot] v2 i.MX6 consolidate the fuse and thermal options

2015-07-30 Thread Stefano Babic
Hi Peter, On 30/07/2015 10:33, Peter Robinson wrote: > On Tue, Jul 14, 2015 at 12:52 AM, Peter Robinson wrote: >> These two patches consolidate the fuse and thermal options. They're both >> options that are standard SoC features so should be there by default for all >> devices. > > What's the st

Re: [U-Boot] [PATCH 012/172] arm: socfpga: reset: Repair bridge reset handling

2015-07-30 Thread Marek Vasut
On Tuesday, July 28, 2015 at 09:21:50 PM, Dinh Nguyen wrote: > On 7/27/15 3:49 PM, Marek Vasut wrote: > > The current bridge reset code, which de-asserted the bridge reset, > > was activelly polling whether the FPGA is programmed and ready and > > s/activelly/actively > > Again...only comment for

[U-Boot] GUID/UUID string representation

2015-07-30 Thread Palacios, Hector
Hello, Commit d718ded056eefb6239bd2e0a57b7f6d99c6e9e4b introduced translation of UUID binary data to GUID string representation. So, for example, if I use the 'gpt' command to create a partition table and pass a 'uuid' parameter like this: => gpt write mmc 0 "uuid_disk=${uuid_disk};start=2MiB,n

Re: [U-Boot] [PATCH] ARM: tegra: restrict usable RAM size further

2015-07-30 Thread Thierry Reding
On Wed, Jul 29, 2015 at 01:47:58PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Additionally, ARM64 devices typically run a secure monitor in EL3 and > U-Boot in EL2, and set up some secure RAM carve-outs to contain the EL3 > code and data. These carve-outs are located at the top of 32

Re: [U-Boot] [PATCH] generic_board: Call "checkboard" even though the root node has a "model" property

2015-07-30 Thread Masahiro Yamada
2015-07-30 19:51 GMT+09:00 Bin Meng : > On Thu, Jul 30, 2015 at 6:47 PM, Masahiro Yamada > wrote: >> 2015-07-30 19:42 GMT+09:00 Bin Meng : >>> Hi Haikun, Simon, >>> >>> On Fri, Jul 10, 2015 at 11:50 AM, Wang Haikun >>> wrote: On 7/10/2015 6:06 AM, Simon Glass wrote: > Hi, > > On

[U-Boot] [PATCH 2/2] ARM: zynqmp_ep: Enable ethernet for EP

2015-07-30 Thread Michal Simek
Enable gem0 and setup phy addr for EP. Signed-off-by: Michal Simek --- This patch depends on "armv8: caches: Added routine to set non cacheable region" https://patchwork.ozlabs.org/patch/488800/ --- include/configs/xilinx_zynqmp_ep.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inclu

[U-Boot] [PATCH 2/2] ARM: zynqmp_ep: Enable ethernet for EP

2015-07-30 Thread Michal Simek
Enable gem0 and setup phy addr for EP. Signed-off-by: Michal Simek --- This patch depends on "armv8: caches: Added routine to set non cacheable region" https://patchwork.ozlabs.org/patch/488800/ --- include/configs/xilinx_zynqmp_ep.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inclu

[U-Boot] [PATCH 1/2] zynqmp: Enable U-Boot run in EL3

2015-07-30 Thread Michal Simek
Enable Secure IOU setup to enable U-Boot to run in EL3 without setting from ATF. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/Kconfig | 4 arch/arm/include/asm/arch-zynqmp/hardware.h | 4 2 files changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv8/zynqmp/K

[U-Boot] [PATCH 1/2] zynqmp: Enable U-Boot run in EL3

2015-07-30 Thread Michal Simek
Enable Secure IOU setup to enable U-Boot to run in EL3 without setting from ATF. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/Kconfig | 4 arch/arm/include/asm/arch-zynqmp/hardware.h | 4 2 files changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv8/zynqmp/K

Re: [U-Boot] [PATCH 14/15] RFC: x86: minnowmax: Add interrupt routing setup

2015-07-30 Thread Bin Meng
Hi Simon, On Wed, Jul 29, 2015 at 5:01 PM, Bin Meng wrote: > Hi Simon, > > On Wed, Jul 29, 2015 at 9:08 AM, Bin Meng wrote: >> Hi Simon, >> >> On Wed, Jul 29, 2015 at 8:48 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 28 July 2015 at 18:46, Bin Meng wrote: Hi Simon, On Wed, Jul

  1   2   >