[U-Boot] [PATCH v3 0/2] ARM: zynq: include ps7_init_gpl.c/h of Zed, MicroZed, ZC702, ZC706

2015-05-17 Thread Masahiro Yamada
Masahiro Yamada (2): ARM: zynq: add separate configuration for ZC702 and ZC706 ARM: zynq: add default ps7_init_gpl.c/h for Zed, MicroZed, ZC70x arch/arm/mach-zynq/Kconfig |25 +- arch/arm/mach-zynq/spl.c | 2 +- board/xilinx/zynq/.git

Re: [U-Boot] [PATCH v2 2/3] ARM: zynq: use separate configuration for ZC702 and ZC706

2015-05-17 Thread Masahiro Yamada
Hi Sören, 2015-04-22 2:25 GMT+09:00 Sören Brinkmann : > On Fri, 2015-04-17 at 10:38AM +0900, Masahiro Yamada wrote: >> Hi Sören, >> >> >> 2015-04-15 1:03 GMT+09:00 Sören Brinkmann : >> > On Tue, 2015-04-14 at 04:50PM +0900, Masahiro Yamada wrote: >> >> Separate CONFIG_TARGET_ZYNQ_{ZC702,ZC706} whi

[U-Boot] [PATCH] mpc85xx/T104xRDB: Remove vbank check redundant code

2015-05-17 Thread Priyanka Jain
sw variable in checkboard function is storing vbank value which can only take 4-bit value. So check of sw value for if greater than 7 is redundant. Signed-off-by: Priyanka Jain --- board/freescale/t104xrdb/t104xrdb.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/bo

Re: [U-Boot] [Resend PATCH 2/4] arm: imx6: tqma6: implement IMX_CONFIG with Kconfig

2015-05-17 Thread Markus Niebel
Hello Stefano, Am 15.05.2015 um 14:38 schrieb Stefano Babic: > Hi Markus, > > On 12/05/2015 14:18, Markus Niebel wrote: >> From: Markus Niebel >> >> Now that we have the Kconfig based CPU type selection, >> use this to fill the IMX_CONFIG automatically >> >> Signed-off-by: Markus Niebel >> ---

[U-Boot] [PATCH v3 1/2] ARM: zynq: add separate configuration for ZC702 and ZC706

2015-05-17 Thread Masahiro Yamada
Prior to this commit, ZC702 and ZC706 shared the same configuration and were built as follows: ZC702: make zynq_zc70x_defconfig && make ZC706: make zynq_zc70x_defconfig && make DEVICE_TREE=zynq-zc706 This commit introduces separate configuration for them, which makes the next commit much easier.

Re: [U-Boot] [PATCH] dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()

2015-05-17 Thread Heiko Schocher
Hello Simon, Am 16.05.2015 23:01, schrieb Simon Glass: Add the legacy i2c_reg_read/write() functions to the compatibility layer so that they can be used when CONFIG_DM_I2C_COMPAT is defined. Signed-off-by: Simon Glass --- drivers/i2c/i2c-uclass-compat.c | 21 + include/

[U-Boot] USB storage with u-boot on RPi B

2015-05-17 Thread Quentin Barbe
Hello, I am trying to use u-boot on my raspberry pi model B to boot Linux from a usb drive. I followed instructions from http://elinux.org/RPi_U-Boot with the mainline git master branch since going through the commit log quickly it seems that usb support was added. Unfortunatly it seems that

[U-Boot] [PATCH] imx: mx6sx enable SION for i2c pin mux

2015-05-17 Thread Peng Fan
Enable IOMUX_CONFIG_SION for all I2C pin mux settings, otherwise we will get erros when doing i2c operations. error log like the following: " wait_for_sr_state: failed sr=81 cr=a0 state=2020 i2c_init_transfer: failed for chip 0xb retry=1 " Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx

[U-Boot] [PATCH] pmic: pfuze100 fix typo

2015-05-17 Thread Peng Fan
Change PUZE_100_SW1ABCONF to PFUZE100_SW1ABCONF Signed-off-by: Peng Fan --- board/freescale/common/pfuze.c | 4 ++-- include/power/pfuze100_pmic.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/common/pfuze.c b/board/freescale/common/pfuze.c index 4980bf7

Re: [U-Boot] [PATCH v2 3/4] imx: mx6: add display of CPU temperature grade in print_cpuinfo()

2015-05-17 Thread Peng Fan
Hi Fabio, On Fri, May 15, 2015 at 10:36:09AM -0300, Fabio Estevam wrote: >Hi Tim, > >On Fri, May 15, 2015 at 10:31 AM, Tim Harvey wrote: > >> Yes, that sounds like the best approach. What were your thoughts on >> enabling the second CPU: line just to display the temperature grade if >> CONFIG_IMX

[U-Boot] [PATCH 1/3] imx: riotboard, marsboard: Enable thermal support

2015-05-17 Thread Nikolay Dimitrov
Signed-off-by: Nikolay Dimitrov --- include/configs/embestmx6boards.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h index e9f5bed..16b5826 100644 --- a/include/configs/embestmx6boards.h +++ b/include/configs/embestmx6

[U-Boot] [PATCH 3/3] imx: marsboard: Enable thermal DM support

2015-05-17 Thread Nikolay Dimitrov
Signed-off-by: Nikolay Dimitrov --- configs/marsboard_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/marsboard_defconfig b/configs/marsboard_defconfig index f54fdd0..460e2d0 100644 --- a/configs/marsboard_defconfig +++ b/configs/marsboard_defconfig @@ -1,3 +1,5 @@ CON

[U-Boot] [PATCH 2/3] imx: riotboard: Enable thermal DM support

2015-05-17 Thread Nikolay Dimitrov
Signed-off-by: Nikolay Dimitrov --- configs/riotboard_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/riotboard_defconfig b/configs/riotboard_defconfig index c0b689b..ae0036a 100644 --- a/configs/riotboard_defconfig +++ b/configs/riotboard_defconfig @@ -1,3 +1,5 @@ CON

Re: [U-Boot] [PATCH v2 4/4] thermal: imx_thermal: use CPU temperature grade for trip points

2015-05-17 Thread Nikolay Dimitrov
On 05/14/2015 08:11 AM, Tim Harvey wrote: Replace the hard-coded values for min/max/passive with values derived from the CPU temperature grade. Signed-off-by: Tim Harvey --- drivers/thermal/imx_thermal.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-)

Re: [U-Boot] [PATCH v2 3/4] imx: mx6: add display of CPU temperature grade in print_cpuinfo()

2015-05-17 Thread Nikolay Dimitrov
On 05/14/2015 08:11 AM, Tim Harvey wrote: When CONFIG_IMX6_THERMAL is defined print the CPU temperature grade info along with the current temperature. Before: CPU: Temperature 42 C After: CPU: Automotive temperature grade (-40C to 125C) at 42C CPU: Industiral temperature grade (-40

Re: [U-Boot] [PATCH v2 2/4] imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP

2015-05-17 Thread Nikolay Dimitrov
On 05/14/2015 08:11 AM, Tim Harvey wrote: The MX6 has a temperature grade defined by OCOTP_MEM0[7:6] which is at 0x480 in the Fusemap Description Table in the reference manual. Return this value as well as min/max temperature based on the value. Note that the IMX6SDLRM and the IMX6SXRM do not i

Re: [U-Boot] [PATCH v2 1/4] mx6: add OTP bank1 registers

2015-05-17 Thread Nikolay Dimitrov
Hi Tim, On 05/14/2015 08:11 AM, Tim Harvey wrote: Signed-off-by: Tim Harvey --- arch/arm/include/asm/arch-mx6/imx-regs.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 9a4ad8b

Re: [U-Boot] [PATCH v2 2/2] mx: mx6: display max cpu frequency in print_cpuinfo()

2015-05-17 Thread Nikolay Dimitrov
On 05/14/2015 08:08 AM, Tim Harvey wrote: Display the max CPU frequency as well as the current running CPU frequency if the max CPU frequency is available and differs from the current CPU frequency. Before: CPU: Freescale i.MX6Q rev1.2 at 792 MHz After - using an 800MHz IMX6DL (running at it

Re: [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP

2015-05-17 Thread Nikolay Dimitrov
Hi Tim, On 05/14/2015 08:08 AM, Tim Harvey wrote: The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING indicated by OCOTP_CFG3[17:16] which is at 0x440 in the Fusemap Description Table. Return this frequency so that it can be used elsewhere. Note that the IMX6SDLRM and the

Re: [U-Boot] [PATCH] sandbox: Tidy up terminal restore

2015-05-17 Thread Simon Glass
On 11 May 2015 at 16:40, Simon Glass wrote: > Hi Joe, > > On 11 May 2015 at 14:00, Joe Hershberger wrote: >> Hi Simon, >> >> On Sun, May 10, 2015 at 10:07 PM, Simon Glass wrote: >>> For some reason 'u-boot -D' does not restore the terminal correctly when >>> the 'reset' command is used. Call the

Re: [U-Boot] [RFC PATCH] tools: get-toolchais: a tool to get cross-tools for all architectures

2015-05-17 Thread Simon Glass
Hi Masahiro, On 15 May 2015 at 22:58, Masahiro Yamada wrote: > Hi Joe, > (added Simon) > > 2015-05-16 4:52 GMT+09:00 Joe Hershberger : >> Hi Masahiro-san, >> >> On Fri, May 15, 2015 at 6:01 AM, Masahiro Yamada >> wrote: >>> When we send patches, we are supposed to test them by build utilities >>

Re: [U-Boot] [PATCH] dm: pci: Allow PCI bus numbering aliases

2015-05-17 Thread Simon Glass
On 10 May 2015 at 21:08, Simon Glass wrote: > Commit 9cc36a2 'dm: core: Add a flag to control sequence numbering' changed > the default uclass behaviour to not support bus numbering. This is incorrect > for PCI and that commit should have enabled the flag for PCI. > > Enable it so that PCI buses c

Re: [U-Boot] [PATCH v4] dm: sf: Add Atmel DataFlash spi flash driver

2015-05-17 Thread Jagan Teki
On 15 May 2015 at 07:49, Wang Haikun wrote: > On 5/14/2015 6:50 PM, Jagan Teki wrote: >> On 14 May 2015 at 14:57, Haikun Wang wrote: >>> Atmel DataFlash chips have commands different from common spi >>> flash commands. >>> Atmel DataFlash also have special page-size. >>> This driver add support f

Re: [U-Boot] [PATCH v2] sunxi: Make dram odt-en configurable through Kconfig for A33 based boards

2015-05-17 Thread Ian Campbell
On Fri, 2015-05-15 at 20:43 +0200, Hans de Goede wrote: > Some A33 based boards use odt, while others do not, so make odt_en > configurable for sun8i too by moving the existing Kconfig option for it out > of the #if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I block it was in. I'm still not mad-keen on

Re: [U-Boot] [PATCH 0/7] avr32: remove non-generic boards

2015-05-17 Thread Andreas Bießmann
Hi Waldemar, On 17.05.15 11:03, Waldemar Brodkorb wrote: > Hi Andreas, > Andreas Bießmann wrote, > >> Hi Waldemar, >> >> On 05/11/2015 01:32 PM, Waldemar Brodkorb wrote: >>> Hi, >>> Andreas Bießmann wrote, >>> Hi Hans-Christian, On 05/11/2015 01:19 PM, Hans-Christian Egtvedt wrote:

Re: [U-Boot] [PATCH 0/7] avr32: remove non-generic boards

2015-05-17 Thread Waldemar Brodkorb
Hi Andreas, Andreas Bießmann wrote, > Hi Waldemar, > > On 05/11/2015 01:32 PM, Waldemar Brodkorb wrote: > > Hi, > > Andreas Bießmann wrote, > > > >> Hi Hans-Christian, > >> > >> On 05/11/2015 01:19 PM, Hans-Christian Egtvedt wrote: > >>> Around Mon 11 May 2015 13:07:22 +0200 or thereabout, Andre