Re: [U-Boot] [PATCH] dm: ns16550: Add support for reg-offset property

2016-02-25 Thread Michal Simek
On 25.2.2016 05:47, Derald D. Woods wrote: > On Wed, Feb 24, 2016 at 12:26:09PM +0100, Michal Simek wrote: >> On 24.2.2016 11:56, Adam Ford wrote: >>> On Tue, Feb 23, 2016 at 12:38 AM, Simon Glass wrote: Hi Michal, On 22 February 2016 at 00:40, Michal Simek wrote: > On 19.2.201

Re: [U-Boot] [U-Boot, v2, 3/7] drivers: block: disk-uclass: implement scsi_init()

2016-02-25 Thread Mugunthan V N
On Wednesday 24 February 2016 09:50 PM, Tom Rini wrote: > On Wed, Feb 03, 2016 at 05:29:36PM +0530, Mugunthan V N wrote: > >> Implement scsi_init() api to probe driver model based sata >> devices. >> >> Signed-off-by: Mugunthan V N >> Reviewed-by: Simon Glass >> --- >> drivers/block/disk-uclass

[U-Boot] [PATCH] mmc: sdhci: Clear internal clock enable bit

2016-02-25 Thread Siva Durga Prasad Paladugu
Disable internal clock by clearing the internal clock enable bit. This bit needs to be cleared too when we stop the SDCLK for changing the frequency divisor. This bit should be set to zero when the device is not using the Host controller. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mmc

Re: [U-Boot] [PATCH 01/10] thunderx: Calculate TCR dynamically

2016-02-25 Thread Mark Rutland
On Wed, Feb 24, 2016 at 06:39:22PM +0100, Alexander Graf wrote: > On 02/24/2016 02:37 PM, Mark Rutland wrote: > >On Wed, Feb 24, 2016 at 01:11:35PM +0100, Alexander Graf wrote: > >>+ /* Calculate the maximum physical (and thus virtual) address */ > >>+ if (max_addr > (1ULL << 44)) { > >>+

[U-Boot] [PATCH] ARM: zynq: Enable option to overwrite default variables

2016-02-25 Thread Michal Simek
Enable overwriting variables out of main config file. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 4a81d41d0f8f..41c416ae5d1d 100644 --- a/include/configs/z

Re: [U-Boot] [PATCH] dm: ns16550: Add support for reg-offset property

2016-02-25 Thread Derald D. Woods
On Thu, Feb 25, 2016 at 09:11:24AM +0100, Michal Simek wrote: > On 25.2.2016 05:47, Derald D. Woods wrote: > > On Wed, Feb 24, 2016 at 12:26:09PM +0100, Michal Simek wrote: > >> On 24.2.2016 11:56, Adam Ford wrote: > >>> On Tue, Feb 23, 2016 at 12:38 AM, Simon Glass wrote: > Hi Michal, >

[U-Boot] [PATCH v3] test/py: Add option to skip SPL signature checking

2016-02-25 Thread Michal Simek
Provide user option to skip SPL signature verification for cases where u-boot is build with SPL support but full U-Boot is also verified without SPL. If you want to support this feature please add env__spl_skipped = True to your boardenv configuration file. For example Xilinx Zynq is using this f

Re: [U-Boot] [PATCH v2] test/py: Add option to skip SPL signature checking

2016-02-25 Thread Michal Simek
On 23.2.2016 18:17, Stephen Warren wrote: > On 02/23/2016 02:40 AM, Michal Simek wrote: >> Provide user option to skip SPL signature verification for cases where >> u-boot is build with SPL support but full U-Boot is also verified >> without SPL. >> >> If you want to support this feature please add

Re: [U-Boot] [PATCH] serial: Move carriage return before line feed for some serial drivers

2016-02-25 Thread James Chargin
This is a request for more information. On 02/24/2016 06:41 PM, Alison Wang wrote: In general, a carriage return needs to execute before a line feed. The patch is to change some serial drivers based on this rule, such as serial_mxc.c, serial_pxa.c, serial_s3c24x0.c and usbtty.c. You write "In

Re: [U-Boot] [PATCH v3] test/py: Add option to skip SPL signature checking

2016-02-25 Thread Tom Rini
On Thu, Feb 25, 2016 at 02:58:24PM +0100, Michal Simek wrote: > Provide user option to skip SPL signature verification for cases where > u-boot is build with SPL support but full U-Boot is also verified > without SPL. > > If you want to support this feature please add env__spl_skipped = True > to

Re: [U-Boot] [PATCH v3] test/py: Add option to skip SPL signature checking

2016-02-25 Thread Michal Simek
Hi Tom, 2016-02-25 15:30 GMT+01:00 Tom Rini : > On Thu, Feb 25, 2016 at 02:58:24PM +0100, Michal Simek wrote: > > Provide user option to skip SPL signature verification for cases where > > > u-boot is build with SPL support but full U-Boot is also verified > > without SPL. > > > > If you want to

Re: [U-Boot] [PATCH V5 7/7] board: ti: AM57xx: Add detection logic for AM57xx-evm

2016-02-25 Thread Nishanth Menon
On 02/25/2016 01:06 AM, Lokesh Vutla wrote: > [..snip..] > [...] >> "setenv fdtfile dra72-evm.dtb; fi;" \ >> "if test $board_name = beagle_x15; then " \ >> "setenv fdtfile am57xx-beagle-x15.dtb; fi;" \ >> +"if test $board_name =

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

2016-02-25 Thread Tom Rini
On Wed, Feb 24, 2016 at 05:02:52PM +, york sun wrote: > Tom, > > The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34: > > Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-02-21 > 07:56:16 > -0500) > > are available in the git repository at: > > >

Re: [U-Boot] [PULL] u-boot-socfpga/master

2016-02-25 Thread Tom Rini
On Wed, Feb 24, 2016 at 07:14:34PM +0100, Marek Vasut wrote: > The following changes since commit 52dd704bf8eda7ca039cdb398ec0b6895c3ef939: > > Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2016-02-23 > 15:35:47 -0500) > > are available in the git repository at: > > git://git.de

Re: [U-Boot] [PULL] u-boot-usb/master

2016-02-25 Thread Tom Rini
On Wed, Feb 24, 2016 at 07:13:47PM +0100, Marek Vasut wrote: > The following changes since commit 52dd704bf8eda7ca039cdb398ec0b6895c3ef939: > > Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2016-02-23 > 15:35:47 -0500) > > are available in the git repository at: > > git://git.de

Re: [U-Boot] [U-Boot, 1/4] gpio: stm32_gpio: move clock config from driver to board

2016-02-25 Thread Tom Rini
On Thu, Feb 11, 2016 at 03:47:17PM -0800, Vikas Manocha wrote: > This patch removes the gpio clock enable from gpio driver & move it in the > board code, making it possible to use the gpio driver with other socs. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] [U-Boot,v2,07/18] usb: Rename ehci-fsl.h to ehci-ci.h

2016-02-25 Thread Tom Rini
On Sun, Feb 07, 2016 at 09:57:27PM +0100, Mateusz Kulikowski wrote: > Most of ehci-fsl header describe USB controller > designed by Chipidea and used by various SoC vendors. > > This patch renames it to a generic header: ehci-ci.h > Contents of file are not changed (so it contains several > refer

Re: [U-Boot] [U-Boot, 2/4] gpio: stm32_gpio: move base addresses to the soc file

2016-02-25 Thread Tom Rini
On Thu, Feb 11, 2016 at 03:47:18PM -0800, Vikas Manocha wrote: > Base addresses for GPIOs could be different for different socs, this > patch moves the base addresses from driver to the soc specific location. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signatur

Re: [U-Boot] [PATCH] ARM: keystone2: Get rid of unused clock files

2016-02-25 Thread Tom Rini
On Wed, Feb 24, 2016 at 05:48:43PM -0600, Nishanth Menon wrote: > With commit fe772ebd285b ("ARM: keystone2: Use common definition for > clk_get_rate"), we have centralized the clock code into a common clock > logic and the redundant files, unfortunately remained... Clean that > up. > > Signed-of

Re: [U-Boot] [U-Boot, 1/4] tools: -Wno-deprecated-declarations for OpenSSL on darwin

2016-02-25 Thread Tom Rini
On Tue, Feb 16, 2016 at 11:29:28PM +0100, Andreas Bießmann wrote: > Since OpenSSL is deprecated on OS X in favour of Common Crypto API disable the > warning for this host OS. > > Another solution would be to add some glue layer for crypto stuff, but I think > this is not worth the effort. > > Si

Re: [U-Boot] [U-Boot, 4/4] stm32: add support for stm32f7 & stm32f746 discovery board

2016-02-25 Thread Tom Rini
On Thu, Feb 11, 2016 at 03:47:20PM -0800, Vikas Manocha wrote: > This patch adds support for stm32f7 family & stm32f746 board. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,3/4] samsung: fix mkorigenspl for darwin

2016-02-25 Thread Tom Rini
On Tue, Feb 16, 2016 at 11:29:30PM +0100, Andreas Bießmann wrote: > Compiling the mkorigenspl tool on darwin complains about undefined ulong. Fix > this by using the unified way. > > Signed-off-by: Andreas Bießmann Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, 3/4] stm32x7: add support for stm32x7 serial driver

2016-02-25 Thread Tom Rini
On Thu, Feb 11, 2016 at 03:47:19PM -0800, Vikas Manocha wrote: > This patch adds support for stm32f7 family usart peripheral. > > Signed-off-by: Vikas Manocha > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] Gracefully handle 64-bit signed-extended 32-bit Load addresses

2016-02-25 Thread Tom Rini
On Tue, Feb 16, 2016 at 08:57:46AM -0500, William Cohen wrote: > To follow the MIPS 32-bit and 64-bit memory map conventions (*) recent > MIPS Linux kernels are using a 64-bit sign extended value > (0x8001) for the 32-bit load address (0x8001) of the > Creator CI20 board kernel. W

Re: [U-Boot] [U-Boot, v3] test/py: only check for SPL signature if SPL uses serial output

2016-02-25 Thread Tom Rini
On Wed, Feb 17, 2016 at 06:32:51PM +0100, Heiko Schocher wrote: > check for U-Boot SPL signature only if SPL really has a serial output. > So check if CONFIG_SPL_SERIAL_SUPPORT is active in board config. > > Signed-off-by: Heiko Schocher > Tested-by: Stephen Warren > Reviewed-by: Stephen Warren

Re: [U-Boot] [U-Boot, 4/4] pci_rom: fix may be used uninitialized warning

2016-02-25 Thread Tom Rini
On Tue, Feb 16, 2016 at 11:29:31PM +0100, Andreas Bießmann wrote: > Building pci_rom.c with my toolchain complains about may be used uninitialized > rom varaible: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, V2] OMAP3SOM BOARD: Auto detect Logic PD Models

2016-02-25 Thread Tom Rini
On Wed, Feb 17, 2016 at 09:49:49PM -0600, Adam Ford wrote: > Logic PD makes four different system on modules. This patch will auto > detect the board type and identify the corresponding device tree image. > > V2: > Added 'default:' case to switch statement > Since board_late_init() is defined as

Re: [U-Boot] [U-Boot,1/5] board/BuR: drop ETH-support in SPL-Stage

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 12:09:42PM +0100, Hannes Schmelzer wrote: > During very early prototype-phase we did boot the AM335x boards > initially from CPSW-EMAC. > > Now we don't need this feature anymore. > > So we drop it to save MLO-space and having therefore a more quickly > boot. > > Signed-

Re: [U-Boot] [U-Boot,01/10] arm: am437x: cm-t43: fix cm-t43 boot

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:41PM +0200, Nikita Kiryanov wrote: > spl_board_init() is necessary for boot. Remove the #undef that keeps > it out of the boot sequence. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > Reviewed-by: Tom Rini Applied t

Re: [U-Boot] [U-Boot, 4/5] board/BuR: split bur_am335x_common.h into am335x-specific and BuR common parts

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 12:09:45PM +0100, Hannes Schmelzer wrote: > bur_am335x_common.h today holds all common configuration which is shared > over all B&R boards. > > In future we want to bring up boards which are not based on AM335x only > but we still want to have common configuration over all

Re: [U-Boot] [U-Boot, 02/10] arm: am437x: cm-t43: migrate CONFIG_DM_SERIAL to config file

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:42PM +0200, Nikita Kiryanov wrote: > Move CONFIG_DM_SERIAL to cm_t43_defconfig. This forces us to update the > CONFIG_SYS_NS16550_REG_SIZE value for SPL. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > Reviewed-by: Tom

Re: [U-Boot] [U-Boot,5/5] board/BuR/kwb: cosmetic changes

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 12:09:46PM +0100, Hannes Schmelzer wrote: > - fixup typo > - fixup identation > > Signed-off-by: Hannes Schmelzer > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,04/10] arm: am437x: cm-t43: define prompt

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:44PM +0200, Nikita Kiryanov wrote: > Define prompt for cm-t43. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sig

Re: [U-Boot] [U-Boot, 03/10] arm: am437x: cm-t43: support all available SPI flash chips

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:43PM +0200, Nikita Kiryanov wrote: > Add full support for SPI flash chips to future-proof U-Boot for cm-t43. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,05/10] arm: am437x: cm-t43: split board file

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:45PM +0200, Nikita Kiryanov wrote: > Simplify the board file by splitting it to spl portion and u-boot portion. > Some unnecessary includes were identified and removed. No functional changes. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-b

Re: [U-Boot] [U-Boot, 06/10] pmic: tps65218: add useful functions and defines

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:46PM +0200, Nikita Kiryanov wrote: > Add the following functions: > tps65218_reg_read() for accessing redisters > tps65218_toggle_fseal() for toggling the fseal bit > tps65218_lock_fsea() for locking the fseal bit to 1 > > Add the following defines: > All status regi

Re: [U-Boot] [U-Boot, 10/10] arm: am437x: cm-t43: update parameters for raw mmc boot

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:50PM +0200, Nikita Kiryanov wrote: > Update U-Boot offset and size for raw mmc boot. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc De

Re: [U-Boot] [U-Boot,07/10] arm: am437x: cm-t43: set tps fseal bit

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:47PM +0200, Nikita Kiryanov wrote: > Set TPS65218 FSEAL bit to 1 so that RTC could be powered using on-board > 3V battery. This is necessary so that time and date will survive reboots and > power offs. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Si

Re: [U-Boot] [U-Boot, v2] MAINTAINERS: Update no longer valid maintainers' status

2016-02-25 Thread Tom Rini
On Sun, Feb 21, 2016 at 07:54:41PM -0800, Bin Meng wrote: > The following maintainers' email addresses are no longer valid. > > vipin.ku...@st.com > martin.kra...@tq-systems.de > kim.phill...@freescale.com > fgret...@spaceteq.co.za > > Update status of the components they used to maintain to be:

Re: [U-Boot] [U-Boot, 08/10] arm: am437x: cm-t43: get rid of enable_vtt_regulator()

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:48PM +0200, Nikita Kiryanov wrote: > CM-T43 does not have a vtt regulator. Remove the function that's supposed > to enable it. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > Reviewed-by: Tom Rini Applied to u-boot/m

Re: [U-Boot] tools: Update openrisc toolchain information

2016-02-25 Thread Tom Rini
On Sun, Feb 21, 2016 at 09:18:02PM -0800, Bin Meng wrote: > Since commit 87da2690ab81b5f29f83dc85c55f933e6ef414bc > "openrisc: updating build tools naming convention", openrisc > kernel.org toolchain is out of date and cannot build U-Boot. > Update buildman and moveconfig tools to refer to the new

Re: [U-Boot] arm: am437x: cm-t43: bring back BOOTDELAY feature

2016-02-25 Thread Tom Rini
On Sun, Feb 21, 2016 at 01:59:20PM +0200, Nikita Kiryanov wrote: > Commit 755324 (configs: Use config_distro_defaults.h in ti_armv7_common.h) > made ti_armv7_common.h include config_distro_defaults.h. This breaks the > bootdelay feature in cm_t43 because now the > - #include ti_armv7_common.h (#

Re: [U-Boot] booti: Help text rework.

2016-02-25 Thread Tom Rini
On Mon, Feb 22, 2016 at 08:59:08PM +0100, Karsten Merker wrote: > Fix spelling errors in the "booti" help text and bring it more > in line with the bootm/bootz help texts. > > Signed-off-by: Karsten Merker Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] rpi: set board serial number in environment

2016-02-25 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:06:47PM +0100, Lubomir Rintel wrote: > Gets propagated into the device tree and then into /proc/cpuinfo where > users often expect it. > > Signed-off-by: Lubomir Rintel > Tested-by: Stephen Warren > Reviewed-by: Stephen Warren Applied to u-boot/master, thanks! --

Re: [U-Boot] cmd: mem: Show 64bit addresses which are tested

2016-02-25 Thread Tom Rini
On Wed, Feb 24, 2016 at 08:36:02AM +0100, Michal Simek wrote: > Fix print message to show full 64bit addresses. > > Signed-off-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailin

Re: [U-Boot] rpi: always scroll by 10 lines

2016-02-25 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:15:33PM +0100, Lubomir Rintel wrote: > Scrolling the simple framebuffer is really slow in Raspberry Pi to the > point it delays the boot by a second or two and makes longer output > inconvenient to follow (printenv, md). > > Signed-off-by: Lubomir Rintel > Acked-by: St

Re: [U-Boot] microblaze: Add missing chosen node

2016-02-25 Thread Tom Rini
On Wed, Feb 24, 2016 at 12:37:50PM +0100, Michal Simek wrote: > fdtgrep requires /chosen node to be specified or at least more nodes which > stays in DTS to generate output. > Error message: > ./tools/fdtgrep -b u-boot,dm-pre-reloc -RT dts/dt.dtb -n /chosen -O > dtb | ./tools/fdtgrep -r -O dtb - -

Re: [U-Boot] [PATCH] dts: keep clock-names and clocks in SPL DTB if SPL_CLK is enabled

2016-02-25 Thread Simon Glass
On 23 February 2016 at 22:09, Simon Glass wrote: > On 3 February 2016 at 04:51, Masahiro Yamada > wrote: >> These two properties are necessary for SPL to get clocks from DT. >> >> Note: >> For now, only clock look-up by index is supported (clk_get_by_index() >> function), so "clock-names" is neve

Re: [U-Boot] [PATCH v2] patman: fix series-notes handling for buildman

2016-02-25 Thread Simon Glass
On 23 February 2016 at 22:12, Simon Glass wrote: > On 2 February 2016 at 02:24, Albert ARIBAUD wrote: >> A patman series with a 'Series-notes' section causes >> buildman to crash with: >> >> self.series.notes += self.section >> TypeError: cannot concatenate 'str' and 'list' objects >> >>

Re: [U-Boot] [PATCH v3] test/py: Add option to skip SPL signature checking

2016-02-25 Thread Tom Rini
On Thu, Feb 25, 2016 at 02:58:24PM +0100, Michal Simek wrote: > Provide user option to skip SPL signature verification for cases where > u-boot is build with SPL support but full U-Boot is also verified > without SPL. > > If you want to support this feature please add env__spl_skipped = True > to

Re: [U-Boot] dm: Remove ARM dcc from the list

2016-02-25 Thread Tom Rini
On Wed, Feb 24, 2016 at 08:34:16AM +0100, Michal Simek wrote: > Remove ARM Debug communication channel driver from the list > of not converted drivers to DM. > > Signed-off-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 00/16] image: Fix various test failures

2016-02-25 Thread Simon Glass
Hi, On 24 February 2016 at 09:14, Simon Glass wrote: > Recent changes have broken the FIT and vboot tests. Also the SPI tests have > been wrong since before the last release and were disabled. > > This series collects together the required fixes. > > Note: The FIT and vboot tests are hard to run

Re: [U-Boot] [U-Boot, v2, 3/7] drivers: block: disk-uclass: implement scsi_init()

2016-02-25 Thread Simon Glass
Hi Mugunthan, On 25 February 2016 at 02:34, Mugunthan V N wrote: > On Wednesday 24 February 2016 09:50 PM, Tom Rini wrote: >> On Wed, Feb 03, 2016 at 05:29:36PM +0530, Mugunthan V N wrote: >> >>> Implement scsi_init() api to probe driver model based sata >>> devices. >>> >>> Signed-off-by: Mugunt

[U-Boot] Please pull u-boot-dm

2016-02-25 Thread Simon Glass
Hi Tom, The following changes since commit 52dd704bf8eda7ca039cdb398ec0b6895c3ef939: Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2016-02-23 15:35:47 -0500) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 070b781b2beb5298c

Re: [U-Boot] [U-Boot, 3/5] board/BuR: move everything possible from board's headerfile to KConfig

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 12:09:44PM +0100, Hannes Schmelzer wrote: > We drop everything possible things from board headerfiles and replace > this functionality with responsible settings in Kconfig (_defconfig). > > Signed-off-by: Hannes Schmelzer > Reviewed-by: Tom Rini Applied to u-boot/master

Re: [U-Boot] [U-Boot, 2/5] board/BuR: use default u-boot prompt on all B&R boards

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 12:09:43PM +0100, Hannes Schmelzer wrote: > There is no need to have some specific prompt, so we drop this within > defconfigs. > > Signed-off-by: Hannes Schmelzer > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital si

Re: [U-Boot] Please pull u-boot-dm

2016-02-25 Thread Tom Rini
On Thu, Feb 25, 2016 at 08:30:22AM -0700, Simon Glass wrote: > Hi Tom, > > The following changes since commit 52dd704bf8eda7ca039cdb398ec0b6895c3ef939: > > Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2016-02-23 > 15:35:47 -0500) > > are available in the git repository at: > >

Re: [U-Boot] [U-Boot, 09/10] arm: am437x: cm-t43: set MPU and CORE voltages on boot

2016-02-25 Thread Tom Rini
On Fri, Feb 19, 2016 at 07:19:49PM +0200, Nikita Kiryanov wrote: > During boot, U-Boot raises the CPU frequency but the CORE and MPU regulators > are not updated. This is not a problem in cold boot since the default values > that the pmic outputs are correct, but if Linux were to switch the module

[U-Boot] [PATCH 1/6] ARM: keystone2: Use macro for DSP GEM power domain

2016-02-25 Thread Nishanth Menon
From: Suman Anna Define a macro for the DSP GEM power domain id number and use it instead of a hard-coded number in the code that disables all the DSPs on various Keystone2 SoCs. Signed-off-by: Suman Anna Signed-off-by: Nishanth Menon --- arch/arm/mach-keystone/include/mach/hardware.h | 1 +

[U-Boot] [PATCH 0/6] ARM: keystone2: Miscellaneous fixes

2016-02-25 Thread Nishanth Menon
Hi, Please find various fixes for DDR, DSP and speed grade operations w.r.t Keystone devices Based on master 52dd704bf8ed Merge branch 'master' of http://git.denx.de/u-boot-sunxi Lokesh Vutla (2): ARM: keystone2: Allow for board specific speed definitions ARM: keystone2: K2G: Add support

[U-Boot] [PATCH 4/6] ARM: keystone2: K2G: Add support for different arm/device speeds

2016-02-25 Thread Nishanth Menon
From: Lokesh Vutla The maximum device and arm speeds can be determined by reading EFUSE_BOOTROM register. As there is already a framework for reading this register, adding support for all possible speeds on k2g devices. Signed-off-by: Lokesh Vutla Signed-off-by: Nishanth Menon --- arch/arm/ma

[U-Boot] [PATCH 2/6] ARM: keystone2: K2G: power-off DSP during boot

2016-02-25 Thread Nishanth Menon
From: Suman Anna The DSPs are powered on by default upon a Power ON reset, and they are powered off on current Keystone 2 SoCs - K2HK, K2L, K2E during the boot in u-boot. This is not functional on K2G though. Extend the existing DSP power-off support to the only DSP present on K2G. Do note that t

[U-Boot] [PATCH 3/6] ARM: keystone2: Allow for board specific speed definitions

2016-02-25 Thread Nishanth Menon
From: Lokesh Vutla Its not compulsory that speed definition should be same on EFUSE_BOOTROM register for all keystone 2 devices. So, allow for board specific speed definitions. Signed-off-by: Lokesh Vutla Signed-off-by: Nishanth Menon --- arch/arm/mach-keystone/clock.c | 12 +

[U-Boot] [PATCH 6/6] ARM: keystone2: use detected ddr3a size

2016-02-25 Thread Nishanth Menon
From: Vitaly Andrianov Because KS2 u-boot works in 32 bit address space the existing ram_size global data field cannot be used. The maximum, which the get_ram_size() can detect is 2GB only. The ft_board_setup() needs the actual ddr3 size to fix up dtb. This commit introduces the ddr3_get_size()

[U-Boot] [PATCH 5/6] ARM: keystone2: use SPD info to configure K2HK and K2E DDR3

2016-02-25 Thread Nishanth Menon
From: Vitaly Andrianov This commit replaces hard-coded EMIF and PHY DDR3 configurations for predefined SODIMMs to a calculated configuration. The SODIMM parameters are read from SODIMM's SPD and used to calculated the configuration. The current commit supports calculation for DDR3 with 1600MHz a

Re: [U-Boot] [PATCH 02/10] arm64: Make full va map code more dynamic

2016-02-25 Thread Alexander Graf
On 24.02.16 19:14, Stephen Warren wrote: > On 02/24/2016 05:11 AM, Alexander Graf wrote: >> The idea to generate our pages tables from an array of memory ranges >> is very sound. However, instead of hard coding the code to create up >> to 2 levels of 64k granule page tables, we really should just

Re: [U-Boot] [RFC PATCH v4 3/3] common: Fix load and entry addresses in FIT image

2016-02-25 Thread york sun
On 02/24/2016 04:30 PM, Simon Glass wrote: > Hi York, > > On 24 February 2016 at 15:55, york sun wrote: >> On 02/16/2016 08:02 AM, Simon Glass wrote: >>> Hi York, >>> >>> On 12 February 2016 at 13:59, York Sun wrote: FIT image supports more than 32 bits in addresses by using #address-cell >

Re: [U-Boot] [PATCH v3] test/py: Add option to skip SPL signature checking

2016-02-25 Thread Stephen Warren
On 02/25/2016 06:58 AM, Michal Simek wrote: Provide user option to skip SPL signature verification for cases where u-boot is build with SPL support but full U-Boot is also verified without SPL. If you want to support this feature please add env__spl_skipped = True to your boardenv configuration

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

2016-02-25 Thread Mugunthan V N
On Wednesday 24 February 2016 02:05 AM, Tom Rini wrote: > On Tue, Feb 23, 2016 at 04:19:01PM +0530, Jagan Teki wrote: > >> Hi Tom, >> >> Please pull this series. >> >> thanks! >> Jagan. >> >> The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34: >> >> Merge branch 'master'

[U-Boot] [PATCH v3 05/11] zymqmp: Replace home grown mmu code with generic table approach

2016-02-25 Thread Alexander Graf
Now that we have nice table driven page table creating code that gives us everything we need, move to that. Signed-off-by: Alexander Graf --- v1 -> v2: - Move mmu tables into board file --- arch/arm/cpu/armv8/zynqmp/cpu.c | 217 +--- include/configs/xilin

[U-Boot] [PATCH v3 08/11] dwmmc: Increase retry timeout

2016-02-25 Thread Alexander Graf
When enable dcache on HiKey, we're running into MMC command timeouts because our retry loop is now faster than the eMMC (or an external SD card) can answer. Increase the retry count to the same as the timeout value for status reports. The real fix is obviously to not base this whole thing on a cy

[U-Boot] [PATCH v3 00/11] arm64: Unify MMU code v3

2016-02-25 Thread Alexander Graf
Howdy, Currently on arm64 there is a big pile of mess when it comes to MMU support and page tables. Each board does its own little thing and the generic code is pretty dumb and nobody actually uses it. This patch set tries to clean that up. After this series is applied, all boards except for the

[U-Boot] [PATCH v3 09/11] hikey: Add MMU tables

2016-02-25 Thread Alexander Graf
The hikey runs with dcache disabled today. There really should be no reason not to use caches on AArch64, so let's add MMU definitions and enable the dcache. Signed-off-by: Alexander Graf --- v1 -> v2: - Move tables to .c file --- board/hisilicon/hikey/hikey.c | 21 + in

[U-Boot] [PATCH v3 03/11] arm64: Make full va map code more dynamic

2016-02-25 Thread Alexander Graf
The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels of 64k granule page tables, we really should just create normal 4k page tables that allow us to set caching attributes on 2M or 4k level later on. S

[U-Boot] [PATCH v3 07/11] vexpress64: Add MMU tables

2016-02-25 Thread Alexander Graf
There's no good excuse for running with caches disabled on AArch64, so let's just move the vexpress64 target to enable the MMU and run with caches on. Signed-off-by: Alexander Graf --- v1 -> v2: - Move tables to .c file --- board/armltd/vexpress64/vexpress64.c | 21 + in

[U-Boot] [PATCH v3 04/11] thunderx: Move mmu table into board file

2016-02-25 Thread Alexander Graf
The MMU range table can vary depending on things we may only find out at runtime. While the very simple ThunderX variant does not change, other boards will, so move the definition from a static entry in a header file to the board file. Signed-off-by: Alexander Graf --- arch/arm/cpu/armv8/cache_v

[U-Boot] [PATCH v3 10/11] arm64: Remove non-full-va map code

2016-02-25 Thread Alexander Graf
By now the code to only have a single page table level with 64k page size and 42 bit address space is no longer used by any board in tree, so we can safely remove it. To clean up code, move the layerscape mmu code to the new defines, removing redundant field definitions. Signed-off-by: Alexander

[U-Boot] [PATCH v3 06/11] tegra: Replace home grown mmu code with generic table approach

2016-02-25 Thread Alexander Graf
Now that we have nice table driven page table creating code that gives us everything we need, move to that. Signed-off-by: Alexander Graf --- v1 -> v2: - Move mmu tables into .c file --- arch/arm/mach-tegra/arm64-mmu.c | 132 +- include/configs/tegra210

[U-Boot] [PATCH v3 01/11] thunderx: Calculate TCR dynamically

2016-02-25 Thread Alexander Graf
Based on the memory map we can determine a lot of hard coded fields of TCR, like the maximum VA and max PA we want to support. Calculate those dynamically to reduce the chance for pit falls. Signed-off-by: Alexander Graf --- arch/arm/cpu/armv8/cache_v8.c| 59 +

[U-Boot] [PATCH v3 11/11] arm64: Only allow dcache disabled in SPL builds

2016-02-25 Thread Alexander Graf
Now that we have an easy way to describe memory regions and enable the MMU, there really shouldn't be anything holding people back from running with caches enabled on AArch64. To make sure people catch early if they're missing on the caching fun, give them a compile error. Signed-off-by: Alexander

[U-Boot] [PATCH v3 02/11] arm64: Disable TTBR1 maps in EL1

2016-02-25 Thread Alexander Graf
When running in EL1, AArch64 knows two page table maps. One with addresses that start with all zeros (TTBR0) and one with addresses that start with all ones (TTBR1). In U-Boot we don't care about the high up maps, so just disable them to ensure we don't walk an invalid page table by accident. Rep

Re: [U-Boot] dm: Remove ARM dcc from the list

2016-02-25 Thread Michal Simek
Hi Tom, On 25.2.2016 16:27, Tom Rini wrote: > On Wed, Feb 24, 2016 at 08:34:16AM +0100, Michal Simek wrote: > >> Remove ARM Debug communication channel driver from the list >> of not converted drivers to DM. >> >> Signed-off-by: Michal Simek > > Applied to u-boot/master, thanks! > If you have

Re: [U-Boot] [U-Boot, v2, 3/7] drivers: block: disk-uclass: implement scsi_init()

2016-02-25 Thread Mugunthan V N
Hi Tom On Thursday 25 February 2016 09:00 PM, Simon Glass wrote: > Hi Mugunthan, > > On 25 February 2016 at 02:34, Mugunthan V N wrote: >> On Wednesday 24 February 2016 09:50 PM, Tom Rini wrote: >>> On Wed, Feb 03, 2016 at 05:29:36PM +0530, Mugunthan V N wrote: >>> Implement scsi_init() api

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-25 Thread Marek Vasut
On 02/25/2016 05:13 AM, Simon Glass wrote: > Hi, > > On 24 February 2016 at 10:43, Marek Vasut wrote: >> >> On 02/23/2016 07:38 AM, Hannes Schmelzer wrote: >>> On 22.02.2016 18:59, Fabio Estevam wrote: On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: > Hello, > I was h

Re: [U-Boot] [PATCH] serial: Move carriage return before line feed for some serial drivers

2016-02-25 Thread Marek Vasut
On 02/25/2016 03:41 AM, Alison Wang wrote: > In general, a carriage return needs to execute before a line feed. > The patch is to change some serial drivers based on this rule, such > as serial_mxc.c, serial_pxa.c, serial_s3c24x0.c and usbtty.c. > > Signed-off-by: Alison Wang Why isn't this CR-L

Re: [U-Boot] [PATCH v2 2/2] board:freescale:usb: Add device-tree fixup support for xhci controller

2016-02-25 Thread Marek Vasut
On 02/24/2016 05:44 AM, Sriram Dash wrote: > Enables usb device-tree fixup code to incorporate xhci controller > > Signed-off-by: Ramneek Mehresh > Signed-off-by: Sriram Dash > --- > board/freescale/common/Makefile | 4 +++- > board/freescale/common/usb.c| 11 +-- > include/fdt_sup

Re: [U-Boot] [PATCH v2 1/2] board:freescale:common: Move device-tree fixup framework to common file

2016-02-25 Thread Marek Vasut
On 02/24/2016 05:44 AM, Sriram Dash wrote: > Move usb device-tree fixup framework from ehci-fsl.c to common place so > that it can be used by other drivers as well (xhci-fsl.c). > Also, call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to > avoid code duplication. > > Signed-off-by:

[U-Boot] [PATCH V2 0/6] ARM: keystone: K2G: Add support for PMMC remoteproc load

2016-02-25 Thread Nishanth Menon
Hi, Here is the series for supporting TI's PMMC - a Power Management co-processor in TI's K2G SoC. TI's SoC architecture requires the microcontroller for power management functionality which is excersized by various operating systems running on ARM, DSP and other compute engines in a centralized m

[U-Boot] [PATCH V2 3/6] ARM: keystone2: psc: introduce function to hold and release module in reset.

2016-02-25 Thread Nishanth Menon
These are useful for modules that need to be held in reset and are enabled for data to be loaded on to them. Typically these are microcontrollers or other processing entities in the system. Signed-off-by: Nishanth Menon --- V2: no change V1: https://patchwork.ozlabs.org/patch/510209/ arch/arm/ma

[U-Boot] [PATCH V2 4/6] remoteproc: Add support for TI power processor

2016-02-25 Thread Nishanth Menon
Many TI System on Chip (SoC) solutions do have a dedicated microcontroller for doing power management functionality. These include the AM335x, AM437x, Keystone K2G SoCs. The functionality provided by these microcontrollers and the communication mechanisms vary very widely. However, we are able to c

[U-Boot] [PATCH V2 1/6] ARM: keystone2: psc: redo doc in kernel-doc format

2016-02-25 Thread Nishanth Menon
u-boot coding style guidance in http://www.denx.de/wiki/U-Boot/CodingStyle clearly mentions that the kernel doc style shall be followed for documentation in u-boot. Current PSC documentation standard does not, so fix that. Signed-off-by: Nishanth Menon --- V2: no change V1: https://patchwork.ozl

[U-Boot] [PATCH V2 2/6] ARM: keystone2: psc-defs: use adequate () for macros

2016-02-25 Thread Nishanth Menon
'#define X a | b' is better defined as '#define X (a | b)' for obvious reasons. Signed-off-by: Nishanth Menon --- V2: No change V1: https://patchwork.ozlabs.org/patch/510211/ arch/arm/mach-keystone/include/mach/psc_defs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/

[U-Boot] [PATCH V2 5/6] ARM: dts: k2g: Add support for PMMC

2016-02-25 Thread Nishanth Menon
Enable support for PMMC the TI power processor on K2G. This processor manages all power management related activities on the SoC and and allows the Operating Systems on compute processors such as ARM, DSP to offload the power logic away into the power processor. U-boot just has a load responsibilit

[U-Boot] [PATCH V2 6/6] configs: k2g_evm: Add TI power processor support

2016-02-25 Thread Nishanth Menon
Enable support for PMMC the TI power processor on K2G. This processor manages all power management related activities on the SoC and and allows the Operating Systems on compute processors such as ARM, DSP to offload the power logic away into the power processor. Signed-off-by: Nishanth Menon ---

Re: [U-Boot] dm: Remove ARM dcc from the list

2016-02-25 Thread Tom Rini
On Thu, Feb 25, 2016 at 06:30:06PM +0100, Michal Simek wrote: > Hi Tom, > > On 25.2.2016 16:27, Tom Rini wrote: > > On Wed, Feb 24, 2016 at 08:34:16AM +0100, Michal Simek wrote: > > > >> Remove ARM Debug communication channel driver from the list > >> of not converted drivers to DM. > >> > >> Sig

Re: [U-Boot] dm: Remove ARM dcc from the list

2016-02-25 Thread Michal Simek
On 25.2.2016 21:05, Tom Rini wrote: > On Thu, Feb 25, 2016 at 06:30:06PM +0100, Michal Simek wrote: >> Hi Tom, >> >> On 25.2.2016 16:27, Tom Rini wrote: >>> On Wed, Feb 24, 2016 at 08:34:16AM +0100, Michal Simek wrote: >>> Remove ARM Debug communication channel driver from the list of not

[U-Boot] [RFC PATCH v5 2/4] sandbox: Fix compiling warning

2016-02-25 Thread York Sun
Fix the following compiling warning. Some only occur on 32-bit hosts disk/part_efi.c: In function 'alloc_read_gpt_entries': disk/part_efi.c:894:2: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'long unsigned int' [-Wformat] disk/part_efi.c:907:4: warning: forma

[U-Boot] [RFC PATCH v5 3/4] common: image-fit: Use a common function to get address

2016-02-25 Thread York Sun
FIT image supports load address and entry address. Getting these addresses can use a common function. Signed-off-by: York Sun --- Changes in v5: New patch split from fixing load and entry address patch Changes in v4: None Changes in v3: None Changes in v2: None common/image-fit.c | 42 ++

[U-Boot] [RFC PATCH v5 4/4] common: image-fit: Fix load and entry addresses in FIT image

2016-02-25 Thread York Sun
FIT image supports more than 32 bits in addresses by using #address-cell field. Fixing 64-bit support by using this field. Signed-off-by: York Sun --- Changes in v5: Split the common function into another patch. Revise commit subject. Update commit message as suggested by Simon. Updated

[U-Boot] [PATCH 6/7 v2] pci/layerscape: fdt: function to set msi-map entries

2016-02-25 Thread Stuart Yoder
From: Stuart Yoder msi-map properties are used to tell an OS how PCI requester IDs are mapped to ARM SMMU stream IDs. This patch defines a function to append a single msi-map entry to a given PCI controller device tree node. Signed-off-by: Stuart Yoder --- -v2 -no changes drivers/pci/pcie_

  1   2   >