[U-Boot] [PATCH 6/6] mmc: move MMC_SDHCI_IO_ACCESSORS to Kconfig

2016-12-04 Thread Masahiro Yamada
This is an user-unconfigurable option that is selected by the drivers that need to overwrite SDHCI IO memory accessors. (BCM2835 SDHCI seems the only driver that needs to do so.) Signed-off-by: Masahiro Yamada --- drivers/mmc/Kconfig | 8 include/configs/rpi.h | 1 - 2 files changed,

[U-Boot] [PATCH 3/6] mmc: make MMC driver entries dependent on MMC

2016-12-04 Thread Masahiro Yamada
Currently, CONFIG_MMC is not related to any other options by "depends on" or "select". One of big advantages of using Kconfig is automatic dependency tracking, but the current state is lacking it. As the first step, make the existing MMC driver entries depend on MMC. This commit was created by t

[U-Boot] [PATCH 1/6] Sync defconfig files by savedefconfig

2016-12-04 Thread Masahiro Yamada
Generated by "tools/moveconfig -s". This will make config moves easier. Signed-off-by: Masahiro Yamada --- configs/A10-OLinuXino-Lime_defconfig | 2 +- configs/A20-OLinuXino-Lime2_defconfig | 2 +- configs/A20-OLinuXino-Lime_defconfig | 2 +- configs

[U-Boot] [PATCH 5/6] mmc: move some SDHCI related options to Kconfig

2016-12-04 Thread Masahiro Yamada
While I moved the options, I also renamed them so that they are all prefixed with MMC_SDHCI_. This commit was created in the following steps. [1] Rename with the following command find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \ -type f -print | xargs sed -i -e ' s/CONFIG_MMC_

[U-Boot] [PATCH 0/6] mmc: move some config options to Kconfig

2016-12-04 Thread Masahiro Yamada
I wrote a new SDHCI driver for my new SoCs, but before posting it, I just want to make a clean-base for my driver entry. Of course, I could enable some needed options in my header file (for options in the "white-list"), but I just thought it is a good habit to contribute to Kconfig moves in the ar

[U-Boot] [PATCH 4/6] mmc: move CONFIG_SDHCI to Kconfig, renaming to CONFIG_MMC_SDHCI

2016-12-04 Thread Masahiro Yamada
Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI. My motivation for the rename is, ultimately, to make all the MMC options prefixed with MMC_ and SDHCI options with MMC_SDHCI_, like Linux. This commit was created as follows: [1] Rename the config option with the following command: f

Re: [U-Boot] [PATCH 1/5] arm: am57xx: cl-som-am57x: add initial board support

2016-12-04 Thread Tom Rini
On Sun, Dec 04, 2016 at 09:58:42AM +0200, Uri Mashiach wrote: > Hello Tom, > > On 12/01/2016 05:36 PM, Tom Rini wrote: > > On Thu, Dec 01, 2016 at 10:28:12AM +0200, Uri Mashiach wrote: > > > >> From: Dmitry Lifshitz > >> > >> Features supported : > >> > >> * Serial console > >> * SPI Flash > >> *

[U-Boot] [PATCH v2 1/6] arm64: mvebu: Modify the A8K SPI and I2C config in DTS

2016-12-04 Thread kostap
From: Konstantin Porotchkin Align the Armada-8040-db and Armada-7040-db SPI and I2C DTS settings with latest DB settings: - 8040-db: disable i2c0 and spi0 on AP (MPPs are reserved for SDIO) - 8040-db: disable cps_i2c0 on CP1 - 8040-db: enable spi1 on CP1 (the new location of the boot flash) The

[U-Boot] [PATCH v2 0/6] arm64: mvebu: Armada-8K family patches

2016-12-04 Thread kostap
From: Konstantin Porotchkin This set of patches is adding more features for bards based on new Marvell MoChi platforms - Armada-70x0 and Armada-80x0. The patches were applied on top of Stefan's mvebu-related patch set v2 with the last patch named "dm: core: Add dev_get_addr_size_index() to retri

[U-Boot] [PATCH v2 2/6] arm64: mvebu: Add bubt command for flash image burn

2016-12-04 Thread kostap
From: Konstantin Porotchkin Add support for mvebu bubt command for flash image load, check and burn on boot device. Changes for v2: - Add "bubt" documentation - Fix code syntax Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits Cc: Omri Itach Cc

[U-Boot] [PATCH v2 5/6] arm64: mvebu: Enable BUBT command support in A8K default config

2016-12-04 Thread kostap
From: Konstantin Porotchkin Enable mvebu "bubt" command support in the default configuration file for Armada-7040 and Armada-8040 development boards Changes for v2: - Remove Gerrit Change ID Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits Cc:

[U-Boot] [PATCH v2 4/6] arm64: mvebu: Add pin control nodes to A8K family DTS files

2016-12-04 Thread kostap
From: Konstantin Porotchkin Add pin control nodes to APN806, CP-master, CP-slave and Armada-7040 and Armada-8040 boards DTS files Changes for v2: - Remove Gerrit Change ID - Fix comments - Fix wrong function values - Add missing cpm_i2c0 node to armada-7040-db.dts Signed-off-by: Konstantin Poro

[U-Boot] [PATCH v2 6/6] arm64: mvebu: Enable pin control support in A8K default config

2016-12-04 Thread kostap
From: Konstantin Porotchkin Enable mvebu pin control support in the default configuration files for Armada-7040 and Armada-8040 development boards Changes for v2: - Remove Gerrit Change ID Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits Cc: Om

[U-Boot] [PATCH v2 3/6] arm64: mvebu: pinctrl: Add pin control driver for A8K family

2016-12-04 Thread kostap
From: Konstantin Porotchkin Add a DM port of Marvell pin control driver. The A8K SoC family contains several silicone dies interconnected in a single package. Every die is normally equipped with its own pin controller unit. There are 2 pin controllers in A70x0 SoC and 3 in A80x0 SoC. Changes for

[U-Boot] [PATCH 1/3] arm64: mvebu: Add L3 cache flush functionality to A8K family

2016-12-04 Thread kostap
From: Konstantin Porotchkin Add missing L3 cache flush functionality which absence prevents Linux kernel from normal boot in case the L3 cache is enabled by ATF. The L3 cache is named the "last level" cache in order to keep the terminology similar to the ATF code. This cache should not be disable

[U-Boot] [PATCH 3/3] arm64: mvebu: Enable hush parser in A8K default configuration

2016-12-04 Thread kostap
From: Konstantin Porotchkin Enable hush parser in Armada-7040 and Armada-8040 DB default configurations. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits Cc: Omri Itach Cc: Igal Liberman Cc: Haim Boot Cc: Hanna Hawa --- configs/mvebu_db-88f

[U-Boot] [PATCH 0/3] arm64: mvebu: Linux kernel boot support

2016-12-04 Thread kostap
From: Konstantin Porotchkin This set of patches adds features for allowing Linux kernel boot and root on NFS for Marvell A8K family boards. These changes were tested when applied on top of previously sent series of patches named: "arm64: mvebu: Armada-8K family patches" version 2. Changes in thi

[U-Boot] [PATCH 2/3] arm64: mvebu: Enable PCIe support in Armada-7040 configuration

2016-12-04 Thread kostap
From: Konstantin Porotchkin Enable PCIe bus support in Armada-7040 DB default configuration Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits Cc: Omri Itach Cc: Igal Liberman Cc: Haim Boot Cc: Hanna Hawa --- configs/mvebu_db-88f7040_defconfi

[U-Boot] Please pull u-boot-mpc85xx master

2016-12-04 Thread york sun
Tom, The following changes since commit 6b29a395b62965eef6b5065d3a526a8588a92038: Merge git://git.denx.de/u-boot-mpc85xx (2016-11-29 19:42:48 -0500) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git for you to fetch changes up to 54db3c20bdc43c458854446939b706b

[U-Boot] check_config.sh produces false positive error?

2016-12-04 Thread Mirza Krak
Hi. Recently a check was added to if new ad-hoc CONFIG options where added and produced an error. The exact commit is [1]. While building (2016.11) with some out of tree files in include folder I get the following error: Build error: | Error: You must add new CONFIG options using Kconfig | The f

Re: [U-Boot] [PATCH 1/1] rpi: set serial port clock to 48 MHz

2016-12-04 Thread Mirza Krak
2016-12-01 10:34 GMT+01:00 Mirza Krak : > 2016-11-30 19:07 GMT+01:00 Stephen Warren : >> On 11/29/2016 11:47 PM, Mirza Krak wrote: >>> >>> 2016-11-30 5:05 GMT+01:00 Stephen Warren : On 11/27/2016 11:05 PM, Mirza Krak wrote: > > > From: Mirza Krak > > Recently the defa

[U-Boot] [PATCH] omap4_sdp4430: Disable SPL_OS_BOOT

2016-12-04 Thread Tom Rini
We are tight on space on this board so drop SPL_OS_BOOT Signed-off-by: Tom Rini --- configs/omap4_sdp4430_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/omap4_sdp4430_defconfig b/configs/omap4_sdp4430_defconfig index 57dcf32e224a..de339ca2c9c3 100644 --- a/configs/omap4_sdp

Re: [U-Boot] Please pull u-boot-dm (take 2)

2016-12-04 Thread Tom Rini
On Sat, Dec 03, 2016 at 11:26:13AM -0700, Simon Glass wrote: > Hi Tom, > > (new version with more patches) > > Here are some buildman enhancements, a new TPM driver, the beginnings > of the USB gadget DM conversion along with a few fixes and improvements. > > The following changes since commit

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

2016-12-04 Thread Tom Rini
On Sun, Dec 04, 2016 at 05:02:19PM +, york sun wrote: > Tom, > > The following changes since commit 6b29a395b62965eef6b5065d3a526a8588a92038: > >Merge git://git.denx.de/u-boot-mpc85xx (2016-11-29 19:42:48 -0500) > > are available in the git repository at: > >git://git.denx.de/u-boo

Re: [U-Boot] [U-Boot,02/12] mtd: cfi_flash: fix indentation

2016-12-04 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:50:06AM +, Andre Przywara wrote: > The indentation is misleading here and suggests that the write command > will be only executed in the else clause. > It seems like this is not intended, so fix the indentation to avoid > both compiler warnings and puzzled readers. >

Re: [U-Boot] [U-Boot,03/12] net: e1000: fix indentation

2016-12-04 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:50:07AM +, Andre Przywara wrote: > Apparently the indentation is off here, for the IGB model just want to > bail out early. > Fix this to avoid both compiler warnings and puzzled readers. > > Pointed out by GCC 6.2's -Wmisleading-indentation warning. > > Signed-off

Re: [U-Boot] [U-Boot, 05/12] net: rtl8169: remove unneeded definition

2016-12-04 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:50:09AM +, Andre Przywara wrote: > The rtl8169_intr_mask variable isn't used anywhere in the code, so > just remove it to avoid a GCC 6.2 compiler warning. > > Signed-off-by: Andre Przywara > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,07/12] usb: eth: r8152_fw: fix indentation

2016-12-04 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:50:11AM +, Andre Przywara wrote: > Apparently the indentation is wrong here, fix this to avoid compiler > warnings and puzzled readers. > > Pointed out by GCC 6.2's -Wmisleading-indentation warning. > > Signed-off-by: Andre Przywara > Reviewed-by: Marek Vasut > A

Re: [U-Boot] [U-Boot,06/12] marvell: comphy_a3700: fix bitmask

2016-12-04 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:50:10AM +, Andre Przywara wrote: > Obviously the mask for the rx and tx select field cannot be right, > as it would overlap in one and exceed the 32-bit register in the other > case. From looking at the neighbouring bits it looks like the mask > should be really 4 bi

Re: [U-Boot] [U-Boot, 12/12] usb: gadget: remove unused shortname variable

2016-12-04 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:50:16AM +, Andre Przywara wrote: > The shortname variable isn't referenced anywhere in the code, so just > remove it. > > Pointed out by a GCC 6.2 default warning option. > > Signed-off-by: Andre Przywara > Reviewed-by: Marek Vasut > Acked-by: Lukasz Majewski A

Re: [U-Boot] [U-Boot,08/12] davinci: da8xxevm: fix indentation

2016-12-04 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:50:12AM +, Andre Przywara wrote: > Apparently the indentation is wrong in this case, as the second message > should be printed indepdently of the if statement. > > Fix this indentation to avoid both compiler warnings and puzzled readers. > > Pointed out by GCC 6.2'

Re: [U-Boot] [U-Boot, 12/12] usb: gadget: remove unused shortname variable

2016-12-04 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:50:16AM +, Andre Przywara wrote: > The shortname variable isn't referenced anywhere in the code, so just > remove it. > > Pointed out by a GCC 6.2 default warning option. > > Signed-off-by: Andre Przywara > Reviewed-by: Marek Vasut > Acked-by: Lukasz Majewski A

Re: [U-Boot] common: image: Remove FIT header update from image post-processing

2016-12-04 Thread Tom Rini
On Mon, Nov 21, 2016 at 02:37:09PM -0600, Andrew F. Davis wrote: > After an image is selected out of a FIT blob for further processing we > run an optional, platform specific, post-processing function on this > component. This post-processing may modify the position and size of the > image, so aft

Re: [U-Boot] defconfig: am43xx_evm: Enable DM_SPI and DM_SPI_FLASH

2016-12-04 Thread Tom Rini
On Tue, Nov 22, 2016 at 02:42:56PM +0530, Vignesh R wrote: > Commit 4c4e3b37750f3("ARM: AM43xx: Enable FIT") accidentally disabled > DM_SPI and DM_SPI_FLASH. Add back DM_SPI and DM_SPI_FLASH to > am43xx_evm_defconfig in order to make use of DM framework for QSPI. > > Signed-off-by: Vignesh R > A

Re: [U-Boot] [U-Boot, U-BOOT, TEST, 1/5] Cosmetic api: api_storage.c Align parenthesis

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:26:10AM -0500, Walt Feasel wrote: > Make checkpatch style modification for > CHECK: Alignment should match open parenthesis > > Signed-off-by: Walt Feasel Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, U-BOOT, TEST, 2/5] Cosmetic api: api_storage.c Blank line after {

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:26:11AM -0500, Walt Feasel wrote: > Make checkpatch style modification for > CHECK: Blank lines aren't necessary after > an open brace '{' > > Signed-off-by: Walt Feasel Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, U-BOOT, TEST, 3/5] Cosmetic api: api_storage.c Line over 80 char

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:26:12AM -0500, Walt Feasel wrote: > Make checkpatch style modification for > WARNING: line over 80 characters > > Signed-off-by: Walt Feasel Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, U-BOOT, TEST, 4/5] Cosmetic api: api_storage.c Comment style

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:26:13AM -0500, Walt Feasel wrote: > Make comment style modifications > > Signed-off-by: Walt Feasel Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [U-Boot, U-BOOT, TEST, 5/5] Cosmetic api: api_storage.c Spelling correction

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:26:14AM -0500, Walt Feasel wrote: > Make spelling correction for 'from' > > Signed-off-by: Walt Feasel Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [U-Boot, v2, 1/3] ARM: OMAP4+: Add support for dynamically selecting OPPs

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 12:54:39PM +0530, Lokesh Vutla wrote: > It can be expected that different paper spins of a SoC can have > different definitions for OPP and can have their own constraints > on the boot up OPP for each voltage rail. In order to have this > flexibility, add support for dynami

Re: [U-Boot] [U-Boot, v2, 2/3] ARM: DRA7: Redefine voltage and efuse macros per OPP using Kconfig

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 12:54:40PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Redefine the macros used to define the voltage values and the > efuse register offsets based on OPP for all the voltage domains. > This is done using Kconfig macros that can be set in a defconfig > or selected d

Re: [U-Boot] [U-Boot, v2, 3/3] ARM: DRA7: Fixup DSPEVE, IVA and GPU clock frequencies based on OPP

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 12:54:41PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > This patch adds support to update the device-tree blob to adjust the > DSP and IVA DPLL clocks pertinent to the selected OPP choice, with > the default being OPP_NOM. The voltage settings are done in u-boot, > b

Re: [U-Boot] [U-Boot, 01/11] board: ti: dra71x-evm: Add epprom support

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:24PM +0530, Lokesh Vutla wrote: > The dra71x-evm is a board based on TI's DRA718 processor targeting > BOM-optimized > entry infotainment systems such as display audio and is a software compatible > derivative of the highly successful DRA74 and DRA72 processor famili

Re: [U-Boot] [U-Boot, 02/11] board: ti: dra71x-evm: Add mux settings

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:25PM +0530, Lokesh Vutla wrote: > Add mux and iodelay settings for dra71x-evm. > Data generated using PCT_DRA71x_SR2.0_v1.0.0.0 version (June 2016). > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 03/11] board: ti: dra72: Introduce optimization for rgmii timing for rev C

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:26PM +0530, Lokesh Vutla wrote: > From: Nishanth Menon > > Rev C version of EVM does require IODelay to be configured for RGMII > pins in MANUAL_1 configuration. Update the same based on PG2.0 initial > simulation values. > Data based on PCT_DRA72x_SR2.0_SR1.0_v1.3.

Re: [U-Boot] [U-Boot, 04/11] board: ti: dra71x-evm: Add PMIC support

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:27PM +0530, Lokesh Vutla wrote: > From: Keerthy > > Add the pmic_data for LP873x PMIC which is used to power > up dra71x-evm. > > Note: As per the DM[1] DRA71x supports only OP_NOM. So, updating > the efuse registers only to use OPP_NOM irrespective of any > CONFIG

Re: [U-Boot] [U-Boot, 05/11] ARM: OMAP4+: Add support for getting pbias info from board

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:28PM +0530, Lokesh Vutla wrote: > Palmas driver assumes it is always TPS659xx regulator on all DRA7xx based > boards to enable mmc regulator. This is not true always like in case of > DRA71x-evm. So get this information based on the board. > > Signed-off-by: Lokesh V

Re: [U-Boot] [U-Boot,07/11] ARM: dts: dra71x-evm: Add DT support

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:30PM +0530, Lokesh Vutla wrote: > Add DT support for dra71-evm and built it as part of FIT image. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 06/11] ARM: dts: dra7xx: sync DT with latest Linux

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:29PM +0530, Lokesh Vutla wrote: > Sync all dra7xx based dts files with latest Linux > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 08/11] configs: ti_omap5_common: Select dtb name for dra71x

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:31PM +0530, Lokesh Vutla wrote: > From: Nishanth Menon > > Select dtb name for dra71x-evm. > > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,09/11] configs: dra7xx: hs: Enable DM_ETH

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:32PM +0530, Lokesh Vutla wrote: > Enable DM_ETH for hs boards. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot, 10/11] configs: dra7xx: Enable pmic/regulator options

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:33PM +0530, Lokesh Vutla wrote: > Enable pmic/regulator config options. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,11/11] configs: dra7xx: Enable lp873x options

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 01:25:34PM +0530, Lokesh Vutla wrote: > From: Keerthy > > DRA71-evm uses LP873x regulator. Enable lp873x PMIC config options. > > Signed-off-by: Keerthy > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc D

Re: [U-Boot] post: cosmetic: fix typo

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 02:52:32PM +0200, tomas.me...@vaisala.com wrote: > From: Niko Mauno > > Change 'date' to 'data'. > > Signed-off-by: Tomas Melin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] [U-Boot, v2, 1/4] serial: Update docs to indicate mcfuart supports DM_SERIAL

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 06:01:29AM -0700, Simon Glass wrote: > This driver was converted so we should remove it from the list. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v2,2/4] arm: Remove smdk2410 board

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 06:01:30AM -0700, Simon Glass wrote: > This board has not been converted to DM_SERIAL by the deadline. > Remove it. > > Signed-off-by: Simon Glass > Acked-by: David Müller Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v2,3/4] arm: Remove VCMA9 board

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 06:01:31AM -0700, Simon Glass wrote: > This board has not been converted to DM_SERIAL by the deadline. > Remove it. > > Signed-off-by: Simon Glass > Acked-by: David Müller > Reviewed-by: Jagan Teki Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v2, 4/4] serial: Drop the s3c24x0 serial driver

2016-12-04 Thread Tom Rini
On Wed, Nov 23, 2016 at 06:01:32AM -0700, Simon Glass wrote: > This is not used by any boards. Drop it. > > Signed-off-by: Simon Glass > Acked-by: David Müller > Reviewed-by: Jagan Teki Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 1/9] ARM: dts: am57xx: sync DT with latest Linux

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:18AM +0530, Lokesh Vutla wrote: > Sync all am57xx based dts files with latest Linux > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 2/9] board: ti: am57xx: Add support for detection of reva3 variations for GPEVM

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:19AM +0530, Lokesh Vutla wrote: > From: Nishanth Menon > > AM57xx evm Rev A3 with SR2.0 platform have incompatible changes for HDMI > GPIO requiring new dtb support. This implies we have to properly identify > the platform now as well. Hence provide a different boar

Re: [U-Boot] [U-Boot, 3/9] board: ti: am57xx: Add support for detection of X15 revb1

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:20AM +0530, Lokesh Vutla wrote: > BeagleBoard-X15 Rev B1 with SR1.1 platform have incompatible changes for HDMI > GPIO requiring new dtb support. This implies we have to properly identify > the platform now as well. Hence provide a different board name for the > Rev B

Re: [U-Boot] [U-Boot, 4/9] board: ti: am57xx: Update SR1.1 RGMII0 iodelay timings for x15/GPEVM

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:21AM +0530, Lokesh Vutla wrote: > From: Nishanth Menon > > Update the timing for RGMII0 interface based on > PCT_DRA75x_DRA74x_SR1.1_v1.3.10 version (Jan 2016). This update > is for SR1.1 > > Signed-off-by: Nishanth Menon > Signed-off-by: Lokesh Vutla > Reviewed-

Re: [U-Boot] [U-Boot, 5/9] board: ti: am572x: Add pinmux for X15/GPEVM SR2.0 using latest PMT

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:22AM +0530, Lokesh Vutla wrote: > From: Nishanth Menon > > Update the board pinmux for AM572x-IDK board using latest PMT[1] and the > board files named am572x_gp_evm_A3a_sr2p0 that were autogenerated on > 19th October, 2016 by "Ahmad Rashed". > > [1] https://dev.ti

Re: [U-Boot] [U-Boot, 6/9] board: ti: am572x-idk: Update pinmux using latest PMT

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:23AM +0530, Lokesh Vutla wrote: > Update the board pinmux for AM572x-IDK board using latest PMT[1] and the > board files named am572x_idk_v1p3b_sr2p0 that were autogenerated on > 20th October, 2016 by "Steve Kipisz " and > "Tom Johnson ". > > [1] https://dev.ti.com/p

Re: [U-Boot] [U-Boot, 7/9] board: ti: am57xx: Add support for the am571x idk

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:24AM +0530, Lokesh Vutla wrote: > From: Steve Kipisz > > The AM571x Industrial Development Kit (IDK) is a board based on TI's > AM571x SoC which has a single core 1.5GHz Cortex-A15processor. This > board is a development platform for the Industrial Market with: > >

Re: [U-Boot] [U-Boot,8/9] ARM: dts: AM571x-IDK Initial Support

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:25AM +0530, Lokesh Vutla wrote: > From: Schuyler Patton > > Add initial DTS support for AM571-IDK evm. > > Signed-off-by: Schuyler Patton > Signed-off-by: Nishanth Menon > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -

Re: [U-Boot] [PATCH] omap4_sdp4430: Disable SPL_OS_BOOT

2016-12-04 Thread Tom Rini
On Sun, Dec 04, 2016 at 05:21:14PM -0500, Tom Rini wrote: > We are tight on space on this board so drop SPL_OS_BOOT > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailin

Re: [U-Boot] [U-Boot, 9/9] ti_armv7_common: env: Increase IO buffer size

2016-12-04 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:14:26AM +0530, Lokesh Vutla wrote: > There are certain environment variables whose length is greater than > the defined IO buffer size. So, increase the IO buffer size to print the > entire variables. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to

[U-Boot] [PATCH v2 1/2] test/py: Allow to pass u_boot_log instead of console for run_and_log

2016-12-04 Thread Stefan Brüns
The runner actually has no console dependency, only on the log provided by the console. Accept both u_boot_console or a multiplexed_log. Signed-off-by: Stefan Brüns --- test/py/u_boot_utils.py | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/test/py/u_boo

[U-Boot] [PATCH v2 2/2] test/py: Create tests for ext4 and fat testing on sandbox

2016-12-04 Thread Stefan Brüns
From: Stefan Brüns The following checks are currently implemented: 1. listing a directory 2. verifying size of a file 3. veryfying md5sum for a file region 4. reading the beginning of a file Signed-off-by: Stefan Brüns --- test/py/tests/test_fs.py | 357 +++

[U-Boot] [PATCH v2 02/23] armv8: prevent using THUMB

2016-12-04 Thread Andre Przywara
The predominantely 32-bit ARM targets try to compile the SPL in Thumb mode to reduce code size. The 64-bit AArch64 instruction set does not know an alternative, concise encoding, so the Thumb build option should only be set for 32-bit targets. Likewise -marm machine options are only valid for ARMv7

[U-Boot] [PATCH v2 01/23] sun6i: Restrict some register initialization to Allwinner A31 SoC

2016-12-04 Thread Andre Przywara
These days many Allwinner SoCs use clock_sun6i.c, although out of them only the (original sun6i) A31 has a second MBUS clock register. Also the requirement for setting up the PRCM PLL_CTLR1 register to provide the proper voltage seems to be a property of older SoCs only as well. Restrict the MBUS

[U-Boot] [PATCH v2 03/23] armv8: add lowlevel_init.S

2016-12-04 Thread Andre Przywara
For boards that call s_init() when the SPL runs, we are expected to setup an early stack before calling this C function. Implement the proper AArch64 version of this based on the ARMv7 code. This allows sunxi boards to setup the basic peripherals even on with a 64-bit SPL. Signed-off-by: Andre Prz

[U-Boot] [PATCH v2 00/23] sunxi: Allwinner A64: SPL support

2016-12-04 Thread Andre Przywara
Hi, this is the second spin of the SPL support series for the Allwinner A64 SoC. Thanks for the review comments, I hope I addressed all of them. As v1, this one includes support for both AArch64 and AArch32 SPL builds. The FIT support is still missing, which means the functionality is limited. Due

[U-Boot] [PATCH v2 05/23] move UL() macro from armv8/mmu.h into common.h

2016-12-04 Thread Andre Przywara
The UL() macro is pretty useful in sharing constants between assembly and C files while still being able to specify a type for C. Move the macro from an armv8 specific header into a common header file to be able to use it by arm code (for instance) as well. Signed-off-by: Andre Przywara Reviewed-

[U-Boot] [PATCH v2 04/23] SPL: tiny-printf: add "l" modifier

2016-12-04 Thread Andre Przywara
tiny-printf does not know about the "l" modifier so far, which breaks the crash dump on AArch64, because it uses %lx to print the registers. Add an easy way of handling longs correctly. Also there are printfs using the '-' modifier, which we choose to ignore for simplicity. Using a relatively dece

[U-Boot] [PATCH v2 06/23] SPL: make struct spl_image 64-bit safe

2016-12-04 Thread Andre Przywara
Since entry_point and load_addr are addresses, they should be represented as longs to cover the whole address space and to avoid warning when compiling the SPL in 64-bit. Also adjust debug prints to add the 'l' specifier, where needed. Signed-off-by: Andre Przywara Reviewed-by: Alexander Graf --

[U-Boot] [PATCH v2 09/23] ARM: boot0 hook: remove macro, include whole header file

2016-12-04 Thread Andre Przywara
For prepending some board specific header area to U-Boot images we were so far including a header file with a macro definition containing the actual header specification. This works fine if there are just a few statements and if there is only one alternative. However adding more complex code quickl

[U-Boot] [PATCH v2 07/23] armv8: add simple sdelay implementation

2016-12-04 Thread Andre Przywara
The sunxi DRAM setup code needs an sdelay() implementation, which wasn't defined for armv8 so far. Shamelessly copy the armv7 version and adjust it to work in AArch64. Signed-off-by: Andre Przywara --- arch/arm/cpu/armv8/cpu.c | 13 + 1 file changed, 13 insertions(+) diff --git a/ar

[U-Boot] [PATCH v2 10/23] sunxi: introduce extra config option for boot0 header

2016-12-04 Thread Andre Przywara
The ENABLE_ARM_SOC_BOOT0_HOOK option is a generic option shared with other boards. To allow alternative code to be inserted, we create another, now function specific config symbol on top of it to simplify later additions. No functional change at this time. Signed-off-by: Andre Przywara --- board

[U-Boot] [PATCH v2 11/23] sunxi: A64: do an RMR switch if started in AArch32 mode

2016-12-04 Thread Andre Przywara
The Allwinner A64 SoC starts execution in AArch32 mode, and both the boot ROM and Allwinner's boot0 keep running in this mode. So U-Boot gets entered in 32-bit, although we want it to run in AArch64. By using a "magic" instruction, which happens to be an almost-NOP in AArch64 and a branch in AArch

[U-Boot] [PATCH v2 12/23] sunxi: provide default DRAM config for sun50i in Kconfig

2016-12-04 Thread Andre Przywara
To avoid enumerating the very same DRAM values in defconfig files for each and every Allwinner A64 board out there, let's put some sane default values in the Kconfig file. Boards with different needs can override them at any time. Signed-off-by: Andre Przywara --- board/sunxi/Kconfig |

[U-Boot] [PATCH v2 08/23] armv8: move reset branch into boot hook

2016-12-04 Thread Andre Przywara
The boot0 hook we have so far is applied _after_ the initial branch to the "reset" entry point. An upcoming change requires even this branch to be changed, so we apply the hook macro at the earliest point, and have the branch in the hook file as well. This is no functional change at this point, jus

[U-Boot] [PATCH v2 15/23] sunxi: A64: use H3 DRAM initialization code for A64

2016-12-04 Thread Andre Przywara
From: Jens Kuske The A64 DRAM controller is very similar to the H3 one, so the code can be reused with some small changes. [Andre: fixed up typo, merged in fixes from Jens] Signed-off-by: Jens Kuske Signed-off-by: Andre Przywara --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 1 + arc

[U-Boot] [PATCH v2 16/23] sunxi: H3/A64: fix non-ODT setting

2016-12-04 Thread Andre Przywara
According to Jens disabling the on-die-termination should set bit 5, not bit 1 in the respective register. Fix this. Reported-by: Jens Kuske Signed-off-by: Andre Przywara --- arch/arm/mach-sunxi/dram_sun8i_h3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-su

[U-Boot] [PATCH v2 18/23] sunxi: A64: enable SPL

2016-12-04 Thread Andre Przywara
Now that the SPL is ready to be compiled in AArch64 and the DRAM init code is ready, enable SPL support for the A64 SoC and in the Pine64 defconfig. For now we keep the boot0 header in the U-Boot proper, as this allows to still use boot0 as an SPL replacement without hurting the SPL use case. We di

[U-Boot] [PATCH v2 13/23] sunxi: H3: add and rename some DRAM contoller registers

2016-12-04 Thread Andre Przywara
From: Jens Kuske The IOCR registers got renamed to BDLR to match the public documentation of similar controllers. Signed-off-by: Jens Kuske Signed-off-by: Andre Przywara --- arch/arm/include/asm/arch-sunxi/dram_sun8i_h3.h | 43 ++--- arch/arm/mach-sunxi/dram_sun8i_h3.c

[U-Boot] [PATCH v2 14/23] sunxi: H3: add DRAM controller single bit delay support

2016-12-04 Thread Andre Przywara
From: Jens Kuske Instead of setting the delay for whole bytes allow setting it for each individual bit. Also add support for address/command lane delays. Signed-off-by: Jens Kuske Signed-off-by: Andre Przywara --- arch/arm/mach-sunxi/dram_sun8i_h3.c | 54 ++---

[U-Boot] [PATCH v2 17/23] sunxi: DRAM: fix H3 DRAM size display on aarch64

2016-12-04 Thread Andre Przywara
Fix the output of the DRAM size on AArch64 SPLs. Signed-off-by: Andre Przywara Reviewed-by: Alexander Graf --- arch/arm/mach-sunxi/dram_sun8i_h3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/dram_sun8i_h3.c b/arch/arm/mach-sunxi/dram_sun8i_h3.c index

[U-Boot] [PATCH v2 19/23] SPL: read and store arch property from U-Boot image

2016-12-04 Thread Andre Przywara
Read the specified "arch" value from a legacy or FIT U-Boot image and store it in our SPL data structure. This allows loaders to take the target architecture in account for custom loading procedures. Having the complete string -> arch mapping for FIT based images in the SPL would be too big, so we

[U-Boot] [PATCH v2 22/23] sunxi: introduce RMR switch to enter payloads in 64-bit mode

2016-12-04 Thread Andre Przywara
The ARMv8 capable Allwinner A64 SoC comes out of reset in AArch32 mode. To run AArch64 code, we have to trigger a warm reset via the RMR register, which proceeds with code execution at the address stored in the RVBAR register. If the bootable payload in the FIT image is using a different architectu

[U-Boot] [PATCH v2 20/23] Makefile: use "arm64" architecture for U-Boot image files

2016-12-04 Thread Andre Przywara
At the moment we use the arch/arm directory for arm64 boards as well, so the Makefile will pick up the "arm" name for the architecture to use for tagging binaries in U-Boot image files. Differentiate between the two by looking at the CPU variable being defined to "armv8", and use the arm64 architec

[U-Boot] [PATCH v2 21/23] ARM: SPL/FIT: differentiate between arm and arm64 arch properties

2016-12-04 Thread Andre Przywara
Since the SPL FIT loader can now differentiate between different architectures, teach it how to tell arm and arm64 apart when a FIT image is used. We just support those two for now, as these are so far the only sensible alternatives. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass --- ar

[U-Boot] [PATCH v2 23/23] sunxi: A64: add 32-bit SPL support

2016-12-04 Thread Andre Przywara
When compiling the SPL for the Allwinner A64 in AArch64 mode, we can't use the more compact Thumb2 encoding, which only exists for AArch32 code. This makes the SPL rather big, up to a point where any code additions or even a different compiler may easily exceed the 32KB limit that the Allwinner BRO

Re: [U-Boot] [PATCH v3 0/4] mmc: sdhci: Add support for frequency constrained peripheral interfaces

2016-12-04 Thread Jaehoon Chung
Hi Stefan, On 12/02/2016 10:24 PM, stefan.herbrechtsme...@weidmueller.de wrote: > From: Stefan Herbrechtsmeier > > > The sdhci controller assumes that the base clock frequency is fully > supported by the peripheral and doesn't support hardware limitations. > Distinguish between base clock of th

Re: [U-Boot] Query on qspi driver

2016-12-04 Thread Siva Durga Prasad Paladugu
Hi Jagan, Ping! > -Original Message- > From: Siva Durga Prasad Paladugu > Sent: Tuesday, November 29, 2016 10:30 AM > To: 'Jagan Teki' > Cc: u-boot@lists.denx.de; Michal Simek (michal.si...@xilinx.com) > > Subject: RE: [U-Boot] Query on qspi driver > > > Hi Jagan, > > > -Origina

Re: [U-Boot] [PATCH 06/17] dm: Add callback to modify the device tree

2016-12-04 Thread Simon Glass
Hi, On 1 December 2016 at 01:39, Stefan Roese wrote: > (Adding Simon and Maxim to Cc) > > On 23.11.2016 16:12, Mario Six wrote: >> >> Certain boards come in different variations by way of utilizing daughter >> boards, for example. These boards might contain additional chips, which >> are added to

Re: [U-Boot] [PATCH 07/17] lib: tpm: Add command to flush resources

2016-12-04 Thread Simon Glass
On 1 December 2016 at 01:42, Stefan Roese wrote: > (Adding Simon to Cc) > > On 23.11.2016 16:12, Mario Six wrote: >> >> This patch adds a function to the TPM library, which allows U-Boot to >> flush resources, e.g. keys, from the TPM. >> >> Signed-off-by: Mario Six > > > Simon, do you have any co

Re: [U-Boot] [PATCH 4/5] mmc: tegra: allow disabling external clock loopback

2016-12-04 Thread Simon Glass
On 1 December 2016 at 00:40, Marcel Ziswiler wrote: > > > On December 1, 2016 3:20:55 AM GMT+01:00, Simon Glass > wrote: >>Hi Marcel, >> >>On 30 November 2016 at 09:47, Marcel Ziswiler >>wrote: >>> From: Marcel Ziswiler >>> >>> Introduce CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK to disable the

Re: [U-Boot] uefi: x86: uboot as uefi payload

2016-12-04 Thread Simon Glass
Hi Markus, On 1 December 2016 at 01:58, Markus Valentin wrote: > Hi Simon, > Am Mittwoch, den 30.11.2016, 19:20 -0700 schrieb Simon Glass: >> Hi Markus, >> >> On 30 November 2016 at 04:32, Markus Valentin wrote: >> > >> > Hi, >> > >> > im trying to run u-boot as uefi-payload for qemu this works

  1   2   >