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

2016-11-25 Thread ELSOFT AG
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 ___ U-Boot mailing list U-Boot@lists.denx.de

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

2016-11-25 Thread ELSOFT AG
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 ___ U-Boot mailing list U-Boot@lists.denx.de

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

2016-11-25 Thread ELSOFT AG
Simon Glass wrote: > This is not used by any boards. Drop it. > > Signed-off-by: Simon Glass Acked-by: David Müller ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] compiler.h: use u-boot endian macros on OpenBSD

2016-11-25 Thread Jonathan Gray
When building u-boot on sparc64 and powerpc hosts it became clear that u-boot expects endian conversion defines to be macros: lib/crc32.c:87: error: braced-group within expression allowed only inside a function For OpenBSD switch from using system definitions equivalent to the u-boot ones and

Re: [U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths

2016-11-25 Thread Jagan Teki
On Sat, Nov 26, 2016 at 1:08 AM, Simon Glass wrote: > Hi, > > On 25 November 2016 at 09:59, Fabio Estevam wrote: >> On Fri, Nov 25, 2016 at 2:57 PM, Jagan Teki wrote: >> >>> Yeah, ie what if dts has a wrong value and do print that and

[U-Boot] [PATCH v6 11/13] sunxi: Use binman for sunxi boards

2016-11-25 Thread Simon Glass
Move sunxi boards to use binman. This involves adding the image definition to the device tree and using it in the Makefile. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: - Add a dependency on u-boot.dtb for buildman Changes in v4: - Remove RFC tag - Use

[U-Boot] [PATCH v6 13/13] binman: Drop microcode features from ifdtool

2016-11-25 Thread Simon Glass
Now that binman supports creating images with microcode, drop the code from ifdtool. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: - Add a new patch to drop microcode features from ifdtool Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 12/13] x86: Use binman all x86 boards

2016-11-25 Thread Simon Glass
Change x86 boards to use binman to produce the ROM. This involves adding the image definition to the device tree and using it in the Makefile. The existing ifdtool features are no-longer needed. Note that the u-boot.dtsi file is common and is used for all x86 boards which use microcode. A

[U-Boot] [PATCH v6 10/13] tegra: Use a U-Boot-specific .dtsi file

2016-11-25 Thread Simon Glass
With the new device-tree rules it is possible to put device-tree changes needed by U-Boot into their own file. As an example of this approach, move Tegra over to use it. Signed-off-by: Simon Glass --- Changes in v6: - Drop unwanted root-node properties from

[U-Boot] [PATCH v6 05/13] binman: Add support for building x86 ROMs with SPL

2016-11-25 Thread Simon Glass
When building for 64-bit x86 we need an SPL binary in the ROM. Add support for this. Also increase entry test code coverage to 100%. Signed-off-by: Simon Glass --- Changes in v6: - Deal with optional microcode in SPL Changes in v5: - Add a new for optional microcode Changes

[U-Boot] [PATCH v6 06/13] binman: Add support for building x86 images with FSP/CMC

2016-11-25 Thread Simon Glass
Add support for two more from the inexhaustible supply of x86 binary blob types. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: - Add new patch to support building x86 images with FSP/CMC Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 09/13] binman: Automatically include a U-Boot .dtsi file

2016-11-25 Thread Simon Glass
For boards that need U-Boot-specific additions to the device tree, it is a minor annoyance to have to add these each time the tree is synced with upstream. Add a means to include a file (e.g. u-boot.dtsi) automatically into the .dts file before it is compiled. The file uses is the first one that

[U-Boot] [PATCH v6 08/13] binman: Allow configuration options to be used in .dts files

2016-11-25 Thread Simon Glass
It is sometimes useful to be able to reference configuration options in a device tree source file. Add the necessary includes so that this works. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 07/13] binman: Add a build rule for binman

2016-11-25 Thread Simon Glass
Add a standard command definition for binman so that it can be used in makefiles. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 6 ++ 1 file changed, 6 insertions(+) diff

[U-Boot] [PATCH v6 02/13] binman: Add basic entry types for U-Boot

2016-11-25 Thread Simon Glass
Add entries to support some standard U-Boot binaries, such as u-boot.bin, u-boot.dtb, etc. Also add some tests for these. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 01/13] binman: Introduce binman, a tool for building binary images

2016-11-25 Thread Simon Glass
This adds the basic code for binman, including command parsing, processing of entries and generation of images. So far no entry types are supported. These will be added in future commits as examples of how to add new types. See the README for documentation. Signed-off-by: Simon Glass

[U-Boot] [PATCH v6 04/13] binman: Add support for u-boot.img as an input binary

2016-11-25 Thread Simon Glass
Add an entry type for u-boot.img (a legacy U-Boot image) and a simple test. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None tools/binman/etype/u_boot_img.py| 17 +

[U-Boot] [PATCH v6 03/13] binman: Add support for building x86 ROMs

2016-11-25 Thread Simon Glass
The structure of x86 ROMs is pretty complex. There are various binary blobs to place in the image. Microcode requires special handling so that it is available to very early code and can be used without any memory whatsoever. Add support for the various entry types that are currently needed, along

[U-Boot] [PATCH v6 00/13] binman: A tool for creating firmware images

2016-11-25 Thread Simon Glass
This series introduces binman, a tool designed to create firmware images. It provides a way to bring together various binaries and place them in an image, at particular positions and with configurable alignment. Packaging of firmware is quite a different task from building the various parts. In

Re: [U-Boot] Macronix NOR_SPI and Quad I/O

2016-11-25 Thread Jagan Teki
On Fri, Nov 25, 2016 at 10:07 PM, Champ, Andy wrote: > Hi all, > > > in the table in drivers/mtd/spi/spi_flash_ids.c there is a flag WR_QPP set > against Macronix devices (including the ones Dumitru is just adding). > > > This is used when programming the devices on a

Re: [U-Boot] [PATCH] armv8/spin_table.c: fix spin table release address

2016-11-25 Thread Masahiro Yamada
2016-11-25 7:38 GMT+09:00 Tsung-Han Lin : > Since only the master core will relocate itself, the spin-table release > address seen by master core and other slave cores is different. > This commit fixes this issue by recalculating the spin-table release > address' offset

Re: [U-Boot] [PATCH v2] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY

2016-11-25 Thread Masahiro Yamada
Hi Simon, 2016-11-26 4:37 GMT+09:00 Simon Glass : > Unfortunately this breaks sandbox - can you please take a look? > > 02: libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY >sandbox: + sandbox sandbox_spl sandbox_noblk > +common/built-in.o: In function

[U-Boot] Please pull u-boot-rockchip (take 2)

2016-11-25 Thread Simon Glass
Hi Tom, I fixed up the checking of voltage and current to correct the test failure. Sorry for not spotting this correctly. The following changes since commit 543bd27353d2c5679057fe09aa2d02259687ff32: MAINTAINERS: SUNXI: Update maintainership (2016-11-22 09:07:26 -0500) are available in the

[U-Boot] [PATCH v3] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY

2016-11-25 Thread Masahiro Yamada
Commit e2f88dfd2d96 ("libfdt: Introduce new ARCH_FIXUP_FDT option") allows us to skip memory setup of DTB, but a problem for ARM is that spin_table_update_dt() and psci_update_dt() are skipped as well if CONFIG_ARCH_FIXUP_FDT is disabled. This commit allows us to skip only

[U-Boot] [PATCH v2 2/3] ARM: ti: consolidate dfu environment variables

2016-11-25 Thread Sekhar Nori
Introduce include/environment/ti/dfu.h that consolidates environment variable definitions for various TI boards that support DFU today. Tested on AM335x EVM, AM437x SK EVM and DRA74x EVM by using DFU to write to SD card. Signed-off-by: Sekhar Nori ---

[U-Boot] [PATCH v2 0/3] ARM: ti: DFU environment consolidation + AM57x DFU

2016-11-25 Thread Sekhar Nori
This patch series consolidates DFU environment variables into newly created include/environment/ti/dfu.h Then goes on to add DFU support for AM57x GP EVM. Build tested using the following buildman commands: $ tools/buildman/buildman -j 16 -b dfu -c 3 -o test am33xx $ tools/buildman/buildman -j

Re: [U-Boot] [PATCH] armv8/spin_table.c: fix spin table release address

2016-11-25 Thread Tsung-Han Lin
Hi, Sorry that I sent this patch twice and they are actually the same one. I thought the first mail was failed because I got a message from the mail server said that it is not sent to one of the maintainers. Regards, Tsung-Han 2016-11-25 19:44 GMT+09:00 Tsung-Han Lin : >

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

2016-11-25 Thread Tom Rini
On Fri, Nov 25, 2016 at 12:39:13PM -0700, Simon Glass wrote: > Hi Tom, > > This includes support for minnie and mickey Chromebooks, rk3036 USB > support, some power improvements and other minor things. > > > The following changes since commit 543bd27353d2c5679057fe09aa2d02259687ff32: > >

[U-Boot] [PATCH 14/14] mips: jz47xx: Add Creator CI20 platform

2016-11-25 Thread Marek Vasut
From: Paul Burton Add support for the Creator CI20 platform based on the JZ4780 SoC. The DTS file comes from Linux 4.6 as of revision 78800558d104e003f9ae92e0107f1de39cf9de9f So far, there are still a few details which will have to be fixed once they are fleshed out in

[U-Boot] [PATCH 13/14] mips: jz47xx: Add minimal JZ MMC node

2016-11-25 Thread Marek Vasut
Add minimal JZ MMC node into the JZ4780 device tree. This piece is picked from the CI20 Linux repository. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Paul Burton --- arch/mips/dts/jz4780.dtsi | 20

[U-Boot] [PATCH 09/14] gpio: Add JZ47xx GPIO driver

2016-11-25 Thread Marek Vasut
From: Paul Burton Add primitive GPIO controller driver for the JZ47xx SoC. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Paul Burton --- drivers/gpio/Kconfig | 8 +

[U-Boot] [PATCH 11/14] mips: Add SPL header

2016-11-25 Thread Marek Vasut
From: Paul Burton Add header with SPL boot mode and type definitions. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Paul Burton --- arch/mips/include/asm/spl.h | 35

[U-Boot] [PATCH 12/14] mips: jz47xx: Add JZ4780 SoC support

2016-11-25 Thread Marek Vasut
From: Paul Burton Add initial support for the Ingenic JZ47xx MIPS SoC. The DTSI file comes from Linux 4.6 as of revision 78800558d104e003f9ae92e0107f1de39cf9de9f Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Paul

[U-Boot] [PATCH 10/14] misc: Add JZ47xx efuse driver

2016-11-25 Thread Marek Vasut
From: Paul Burton Add driver for the efuse block in the JZ47xx SOC. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Paul Burton --- drivers/misc/Kconfig| 6 +++ drivers/misc/Makefile

[U-Boot] [PATCH 04/14] serial: 16550: Add getfcr accessor

2016-11-25 Thread Marek Vasut
Add function which allows fetching the default FCR register setting from platform data for DM , while retaining old behavior for non-DM by returning UART_FCRVAL. Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Simon Glass --- V2: If

[U-Boot] [PATCH 05/14] serial: 16550: Add port type as driver data

2016-11-25 Thread Marek Vasut
Add driver data to each compatible string to identify the type of the port. Since all the ports in the driver are entirely compatible with 16550 for now, all are marked with PORT_NS16550. But, there are ports which have specific quirks, like the JZ4780 UART, which do not have any DT property to

[U-Boot] [PATCH 08/14] mmc: Add JZ47xx SD/MMC controller driver

2016-11-25 Thread Marek Vasut
From: Paul Burton Add driver for the JZ47xx MSC controller. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Paul Burton --- drivers/mmc/Kconfig | 6 + drivers/mmc/Makefile | 1 +

[U-Boot] [PATCH 06/14] serial: 16550: Add Ingenic JZ4780 support

2016-11-25 Thread Marek Vasut
Add compatibility string for the Ingenic JZ4780 SoC, the necessary UART enable bit into FCR and register shift. Neither are encoded in the DTS coming from Linux, so we need to support it this way. Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Simon Glass

[U-Boot] [PATCH 07/14] mmc: Tinification of the mmc code

2016-11-25 Thread Marek Vasut
Add new configuration option CONFIG_MMC_TINY which strips away all memory allocation within the MMC code and code for handling multiple cards. This allows extremely space-constrained SPL code use the MMC framework. Signed-off-by: Marek Vasut Cc: Tom Rini Cc:

[U-Boot] [PATCH 01/14] mips: Let cache.h be included from assembly source

2016-11-25 Thread Marek Vasut
Add ifdef __ASSEMBLY__ around the function prototype to let cache.h be included from assembly code. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Paul Burton --- arch/mips/include/asm/cache.h | 2 ++ 1 file changed,

[U-Boot] [PATCH 03/14] mmc: Fix warning if debug() is not used

2016-11-25 Thread Marek Vasut
If debug() is not used, then the whole content of debug(...) will be removed by the preprocessor, which will result in the following warning. This patch adds __maybe_unused annotation to fix this. drivers/mmc/mmc.c: In function ‘mmc_init’: drivers/mmc/mmc.c:1685:11: warning: variable ‘start’ set

[U-Boot] [PATCH 02/14] spl: mmc: Fix build without LIBCOMMON_SUPPORT

2016-11-25 Thread Marek Vasut
If CONFIG_SPL_LIBCOMMON_SUPPORT is undefined, the following error will happen, so fix it. In file included from common/spl/spl_mmc.c:11:0: common/spl/spl_mmc.c: In function ‘spl_mmc_load_image’: include/spl.h:18:30: error: label at end of compound statement #define MMCSD_MODE_UNDEFINED 0

[U-Boot] [PATCH 13/14] tools: Allow crc8 to be used

2016-11-25 Thread Olliver Schinagl
This patch enables crc8 to be used from within the tools directory using u-boot/crc.h. Signed-off-by: Olliver Schinagl Reviewed-by: Joe Hershberger Signed-off-by: Olliver Schinagl --- include/u-boot/crc.h | 3 +++

[U-Boot] Rockchip RK3288 u-boot with mainline kernel

2016-11-25 Thread Rick Bronson
Hi All, I've got unsupported RK3288 hardware running the latest git u-boot to SPL as explained in http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.rockchip. My goal is to run the mainline (ie. not Android) Linux kernel on this hardware and wondered: - Do I need to get the latest git

[U-Boot] [PATCH] armv8/spin_table.c: fix spin table release address

2016-11-25 Thread Tsung-Han Lin
Since only the master core will relocate itself, the spin-table release address seen by master core and other slave cores is different. This commit fixes this issue by recalculating the spin-table release address' offset instead of leaving it to compiler. Signed-off-by: Tsung-Han Lin

Re: [U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence

2016-11-25 Thread Dr. Philipp Tomsich
Jagan, > On 25 Nov 2016, at 17:18, Jagan Teki wrote: > > On Wed, Nov 16, 2016 at 7:10 AM, Andre Przywara > wrote: >> From: Philipp Tomsich >> >> To send a parametrized command to the PHY over MDIO, we should

[U-Boot] (no subject)

2016-11-25 Thread Rick Bronson
Hi All, I've got nsupported RK3288 hardware running the latest git u-boot to SPL as explained in http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.rockchip. My goal is to run the mainline (ie. not Android) Linux kernel on this hardware and wondered: - Do I need to get the latest git

[U-Boot] [PATCH] armv8/spin_table.c: fix spin table release address

2016-11-25 Thread Tsung-Han Lin
Since only the master core will relocate itself, the spin-table release address seen by master core and other slave cores is different. This commit fixes this issue by recalculating the spin-table release address' offset instead of leaving it to compiler. Signed-off-by: Tsung-Han Lin

[U-Boot] About U-boot's TPM

2016-11-25 Thread Ronny Ko
Hi Simon, I have a question about using a TPM from U-Boot. I try to run U-Boot on Minnowboard MAX, which has a firmware TPM (fTPM), instead of discrete TPM (dTPM). I wonder if the way of using fTPM from U-Boot is the same as using dTPM. I suppose the answer is yes, if an fTPM is simply a virtual

[U-Boot] Macronix NOR_SPI and Quad I/O

2016-11-25 Thread Champ, Andy
Hi all, in the table in drivers/mtd/spi/spi_flash_ids.c there is a flag WR_QPP set against Macronix devices (including the ones Dumitru is just adding). This is used when programming the devices on a 4-bit bus to select the command to use for programming - either CMD_QUAD_PAGE_PROGRAM (0x32)

[U-Boot] [PATCH 14/14] tools: Add tool to add crc8 to a mac address

2016-11-25 Thread Olliver Schinagl
This patch adds a little tool that takes a generic MAC address and generates a CRC byte for it. The output is the full MAC address without any separators, ready written into an EEPROM. Signed-off-by: Olliver Schinagl Signed-off-by: Olliver Schinagl

[U-Boot] [PATCH] arm: imx: wandboard: fix compile error if CONFIG_VIDEO is deactivated

2016-11-25 Thread Sven Ebenfeld
When I tried to deactivate VIDEO support for the Wandboard, it still tried to initialize the Framebuffer and so on. That is the reason for the added ifdefs. CONFIG_VIDEO is enabled in the configuration as default and therefore nothing changes for the default user. The structs mx6dl_i2c2_pad_info

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

2016-11-25 Thread Tom Rini
On Fri, Nov 25, 2016 at 07:42:02PM +0530, Jagan Teki wrote: > On Fri, Nov 25, 2016 at 6:32 AM, Chen-Yu Tsai wrote: > > Hi, > > > > On Fri, Nov 25, 2016 at 3:00 AM, Jagan Teki wrote: > >> Hi Tom, > >> > >> These are the pending patches, from u-boot-sunxi/next. >

Re: [U-Boot] [PATCH] mx6sx: Add initial support for UDOO Neo Board

2016-11-25 Thread Fabio Estevam
On Fri, Nov 25, 2016 at 4:56 PM, Breno Lima wrote: > UDOO Neo Board is a development board from Seco that has three models: > - UDOO Neo Basic > - UDOO Neo Basic Kick Starter > - UDOO Neo Extended > - UDOO Neo Full > > All versions are based on the i.MX6 SoloX processor. >

Re: [U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths

2016-11-25 Thread Fabio Estevam
On Fri, Nov 25, 2016 at 5:38 PM, Simon Glass wrote: > So it is correct to print an error, and then continue? This error will > almost never occur and thus it wastes code space. SPI is sensitive > because it can be used in SPL. Linux doesn't care about code size as > much. > >

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-11-25 Thread Simon Glass
Hi, On 16 November 2016 at 06:43, Fabian Vogt wrote: > Hi, > > any news on this? As far as I can tell nothing happened after my last > reply to this thread, so: Ping! Adding Tom - the patches are assigned to him in Patchwork. - Simon > > Thanks, > Fabian > > Am Montag, 26.

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

2016-11-25 Thread Simon Glass
+Tom On 25 November 2016 at 09:51, Simon Glass wrote: > Hi Tom. > > The following changes since commit 543bd27353d2c5679057fe09aa2d02259687ff32: > > MAINTAINERS: SUNXI: Update maintainership (2016-11-22 09:07:26 -0500) > > are available in the git repository at: > >

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

2016-11-25 Thread Simon Glass
Hi Tom, This includes support for minnie and mickey Chromebooks, rk3036 USB support, some power improvements and other minor things. The following changes since commit 543bd27353d2c5679057fe09aa2d02259687ff32: MAINTAINERS: SUNXI: Update maintainership (2016-11-22 09:07:26 -0500) are

Re: [U-Boot] [PATCH v2 2/4] board: popmetal: de-assert the host rst pin in board init

2016-11-25 Thread Simon Glass
Hi Kever, On 24 November 2016 at 00:29, Kever Yang wrote: > The PopMetal board have a on board FE1.1 usb 2.0 hub which connect to > the usb host port, we need to de-assert its reset pin to enable it. > > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [PATCH v2 22/22] rockchip: Add support for veyron-mickey (Chromebit)

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:22, Simon Glass wrote: > This adds support for the Asus Chromebit, and RK3288-based device designed > to plug directly into an HDMI monitor. The device tree file comes from > Linux v4.8. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH v2 17/22] rockchip: veyron: Add a note about the SDRAM voltage

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:22, Simon Glass wrote: > Add a comment to indicate that we are not supporting the PWM regulator > yet. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new patch with note about the SDRAM voltage > >

Re: [U-Boot] [PATCH v2 19/22] rockchip: clk: Support setting ACLK

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:22, Simon Glass wrote: > Add basic support for setting the ARM clock, since this allows us to run > at maximum speed in U-Boot. Currently only a single speed is supported > (1.8GHz). > > Signed-off-by: Simon Glass > --- > > Changes

Re: [U-Boot] [PATCH v2 13/22] video: Track whether a display is in use

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:22, Simon Glass wrote: > Mark a display as in use when display_enable() is called. This can avoid > a display being used by multiple video-output devices. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 16/22] rockchip: Rename jerry files to veyron

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:22, Simon Glass wrote: > At present we have a single rk3288-based Chromebook: chromebook_jerry. But > all such Chromebooks can use the same binary with only device-tree > differences. The family name is 'veyron', so rename the files accordingly. > >

Re: [U-Boot] [PATCH v2 12/22] video: Use cache-alignment in video_sync()

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:22, Simon Glass wrote: > Sometimes the frame buffer is not a multiple of the cache line size. > Adjust the cache-flushing code to avoid cache warnings/errors in this > case. > > Signed-off-by: Simon Glass > --- > > Changes in v2:

Re: [U-Boot] [PATCH v2 06/22] stdio: Correct numbering logic in stdio_probe_device()

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:22, Simon Glass wrote: > The current code assumes that the devices are ordered corresponding to > their alias value. But (for example) video1 can come before video0 in the > device tree. > > Correct this, by always looking for device 0 first. After

Re: [U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths

2016-11-25 Thread Simon Glass
Hi, On 25 November 2016 at 09:59, Fabio Estevam wrote: > On Fri, Nov 25, 2016 at 2:57 PM, Jagan Teki wrote: > >> Yeah, ie what if dts has a wrong value and do print that and continue >> with default width, so-that the user will update this for next run.

Re: [U-Boot] [PATCH v2 05/22] stdio: Correct code style nits

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:21, Simon Glass wrote: > Fix a few code style nits in stdio_get_by_name(). > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > common/stdio.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to

Re: [U-Boot] [PATCH 3/4] dts: arm: rk3036: add usb vbus node

2016-11-25 Thread Simon Glass
On 11 November 2016 at 09:17, Simon Glass wrote: > On 8 November 2016 at 03:13, Kever Yang wrote: >> add fix regulator node for usb vbus power control. >> >> Signed-off-by: Kever Yang >> --- >> >>

Re: [U-Boot] [PATCH v2 03/22] rockchip: Allow jerry to use of-platdata

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:21, Simon Glass wrote: > This board always boots from SPI, so update the code to support that with > of-platdata. The boot source is not currently available with of-platdata. > > Signed-off-by: Simon Glass > --- > > Changes in v2:

Re: [U-Boot] [PATCH 1/4] config: rk3036: enable configs for USB HOST

2016-11-25 Thread Simon Glass
On 11 November 2016 at 09:16, Simon Glass wrote: > Hi Kever, > > On 8 November 2016 at 03:13, Kever Yang wrote: >> rk3036 using dwc2 usb controller, need enable relate configs for it. >> >> Signed-off-by: Kever Yang >> ---

Re: [U-Boot] [PATCH 2/4] config: rk3036: enable fix regulator

2016-11-25 Thread Simon Glass
On 11 November 2016 at 09:17, Simon Glass wrote: > On 8 November 2016 at 03:13, Kever Yang wrote: >> usb host vbus power is using gpio fix regulator, enable it. >> >> Signed-off-by: Kever Yang >> --- >> >>

Re: [U-Boot] [PATCH v2 01/22] rockchip: video: Correct HDMI data source selection

2016-11-25 Thread Simon Glass
On 13 November 2016 at 14:21, Simon Glass wrote: > This code currently always selects the second source. It only worked > because both sources are set up. > > With the change to only init video devices that are present in the stdout > environment variable, this fails. Fix it. >

Re: [U-Boot] [PATCH] evb-rk3399: deduced the dram node size when space reserved

2016-11-25 Thread Simon Glass
On 11 November 2016 at 09:16, Simon Glass wrote: > On 7 November 2016 at 02:40, Andreas Färber wrote: >> Am 07.11.2016 um 09:30 schrieb Kever Yang: >>> The size dram node need to be deduced by the same amount of reserved space. >>> >>> >> >> Reported-by:

Re: [U-Boot] [PATCH] config: evb-rk3399: enable PWM_ROCKCHIP

2016-11-25 Thread Simon Glass
On 11 November 2016 at 09:16, Simon Glass wrote: > On 7 November 2016 at 01:30, Kever Yang wrote: >> PWM_ROCKCHIP need to enable for PWM regulator, this config >> is missing during rebase and new patch set in previous submission. >> >> Signed-off-by:

Re: [U-Boot] [PATCH 2/3] power: regulator: Add limits checking while setting voltage

2016-11-25 Thread Simon Glass
On 26 October 2016 at 10:31, Simon Glass wrote: > On 26 October 2016 at 01:12, Keerthy wrote: >> Currently the specific set ops functions are directly >> called without any check for voltage limits for a regulator. >> Check for them and proceed. >> >>

Re: [U-Boot] [PATCH] arm: rockchip: Fix typo in ROCKCHIP_RK3288 help

2016-11-25 Thread Simon Glass
On 2 November 2016 at 14:14, Simon Glass wrote: > On 2 November 2016 at 11:03, Andreas Färber wrote: >> UART,s -> UARTs, to avoid this spreading via copy >> >> Signed-off-by: Andreas Färber >> --- >> arch/arm/mach-rockchip/Kconfig | 2 +-

Re: [U-Boot] [PATCH 1/3] power: regulator: Introduce regulator_set_value_force function

2016-11-25 Thread Simon Glass
On 26 October 2016 at 10:31, Simon Glass wrote: > On 26 October 2016 at 01:12, Keerthy wrote: >> In case we want to force a particular value on a regulator >> irrespective of the min/max constraints for testing purposes >> one can call

Re: [U-Boot] [PATCH] arm: dts: Fix Rockchip sort order

2016-11-25 Thread Simon Glass
On 2 November 2016 at 14:14, Simon Glass wrote: > On 2 November 2016 at 11:02, Andreas Färber wrote: >> Sort rk3036 before rk3288. >> >> Signed-off-by: Andreas Färber >> --- >> arch/arm/dts/Makefile | 2 +- >> 1 file changed, 1

Re: [U-Boot] [PATCH 3/3] power: regulator: Add limits checking while setting current

2016-11-25 Thread Simon Glass
On 27 October 2016 at 19:52, Simon Glass wrote: > Hi Keethy, > > On 26 October 2016 at 20:20, Keerthy wrote: >> >> >> On Wednesday 26 October 2016 10:01 PM, Simon Glass wrote: >>> >>> Hi Keerthy, >>> >>> On 26 October 2016 at 01:12, Keerthy

Re: [U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-11-25 Thread Simon Glass
Hi Andreas, On 15 November 2016 at 17:18, Simon Glass wrote: > Hi Andreas, > > On 15 November 2016 at 10:07, Andreas Färber wrote: >> Hi Simon, >> >> Am 28.10.2016 um 03:52 schrieb Simon Glass: >>> On 27 October 2016 at 05:44, Andreas Färber

Re: [U-Boot] [PATCH 00/82] x86: Add initial support for 64-bit U-Boot

2016-11-25 Thread Simon Glass
Hi Bin, On 17 October 2016 at 19:25, Bin Meng wrote: > Hi Simon, > > On Tue, Oct 18, 2016 at 6:17 AM, Simon Glass wrote: >> Hi Bin, >> >> On 10 October 2016 at 23:36, Bin Meng wrote: >>> Hi Simon, >>> >>> On Mon, Sep 26, 2016 at 11:33

Re: [U-Boot] [PATCH v2] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY

2016-11-25 Thread Simon Glass
Hi, On 23 October 2016 at 21:01, Simon Glass wrote: > On 21 October 2016 at 01:12, Alexey Brodkin > wrote: >> Hello Masahiro-san, >> >> On Fri, 2016-10-21 at 10:58 +0900, Masahiro Yamada wrote: >>> Hi Alexey, >>> >>> 2016-10-20 20:55 GMT+09:00

[U-Boot] [PATCH] mx6sx: Add initial support for UDOO Neo Board

2016-11-25 Thread Breno Lima
UDOO Neo Board is a development board from Seco that has three models: - UDOO Neo Basic - UDOO Neo Basic Kick Starter - UDOO Neo Extended - UDOO Neo Full All versions are based on the i.MX6 SoloX processor. For more details about the UDOO Neo board, please refer to:

[U-Boot] [PATCH v2 3/3] ARM: am57xx_evm: enable DFU support

2016-11-25 Thread Sekhar Nori
AM57xx GP EVM has USB2 port of the SoC exposed as USB client port. It is useful to be able to use this port for USB DFU downloads. Enable USB DFU support. Tested on AM57x GP EVM Rev A3 using DFU to download to connected SD card. configs for HS version of the AM57x EVM are included in the patch

[U-Boot] [PATCH v2 1/3] board: ti: am57xx-evm: fix build warnings

2016-11-25 Thread Sekhar Nori
USB1 is not used on AM57xx GP EVM in device mode. Enabling DWC3 USB support for AM57xx EVM gives the following warnings: CC board/ti/am57xx/board.o ../board/ti/am57xx/board.c:448:27: warning: 'usb_otg_ss1' defined but not used [-Wunused-variable] static struct dwc3_device usb_otg_ss1 = {

Re: [U-Boot] [PATCH] usb: xhci: Limit transfer length in a single TD

2016-11-25 Thread Marek Vasut
On 11/22/2016 03:42 AM, Dongwoo Lee wrote: > On 2016년 11월 18일 23:01, Marek Vasut wrote: >> On 11/18/2016 08:24 AM, Jaehoon Chung wrote: >>> Hi, >>> >>> Added Marek as USB maintainer. >>> >>> On 11/17/2016 01:21 PM, Dongwoo Lee wrote: The transfer request exceeding 4032KB (the maximum number

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-25 Thread Jagan Teki
On Fri, Nov 25, 2016 at 11:16 PM, Marek Vasut wrote: > On 11/25/2016 06:42 PM, Jagan Teki wrote: >> On Thu, Nov 24, 2016 at 11:05 AM, Vignesh R wrote: >>> According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC >>> TRM SPRUHY8D[1], the external

[U-Boot] [PATCH] MAINTAINERS: Fix ALTERA SOCFPGA Files

2016-11-25 Thread Jagan Teki
Replace arch/arm/cpu/armv7/socfpga/ path with arch/arm/mach-socfpga/ and removed board file path since board/altera has different boards with relevant board maintainers. Cc: Marek Vasut Signed-off-by: Jagan Teki --- MAINTAINERS | 3 +-- 1 file changed, 1

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-25 Thread Marek Vasut
On 11/25/2016 06:42 PM, Jagan Teki wrote: > On Thu, Nov 24, 2016 at 11:05 AM, Vignesh R wrote: >> According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC >> TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit >> data interface writes until the

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-25 Thread Jagan Teki
On Thu, Nov 24, 2016 at 11:05 AM, Vignesh R wrote: > According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC > TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit > data interface writes until the last word of an indirect transfer > otherwise

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-25 Thread Marek Vasut
On 11/24/2016 06:35 AM, Vignesh R wrote: > According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC > TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit > data interface writes until the last word of an indirect transfer > otherwise indirect writes is known to

Re: [U-Boot] [PATCH v2 3/14] bch: Allow to build for the host

2016-11-25 Thread Jagan Teki
On Tue, Nov 22, 2016 at 6:08 PM, Maxime Ripard wrote: > We will need the bch functions in the tool to generate the SPL images for > the Allwinner SoCs. > > Do the needed adjustments so that we can use it on the host. > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths

2016-11-25 Thread Fabio Estevam
On Fri, Nov 25, 2016 at 2:57 PM, Jagan Teki wrote: > Yeah, ie what if dts has a wrong value and do print that and continue > with default width, so-that the user will update this for next run. > Since it's not key a attribute to break or decide functionality better > to go

Re: [U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths

2016-11-25 Thread Jagan Teki
Hi Simon, On Thu, Nov 24, 2016 at 7:51 AM, Simon Glass wrote: > Hi Jagan, > > On 21 November 2016 at 10:57, Jagan Teki wrote: >> On Sun, Nov 20, 2016 at 2:19 AM, Fabio Estevam wrote: >>> On Sat, Nov 19, 2016 at 6:04 PM, Simon Glass

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

2016-11-25 Thread Simon Glass
Hi Tom. The following changes since commit 543bd27353d2c5679057fe09aa2d02259687ff32: MAINTAINERS: SUNXI: Update maintainership (2016-11-22 09:07:26 -0500) are available in the git repository at: git://git.denx.de/u-boot-fdt.git for you to fetch changes up to

Re: [U-Boot] [PATCH v2 1/4] usb: dwc2: add support for external vbus supply

2016-11-25 Thread Marek Vasut
On 11/24/2016 08:29 AM, Kever Yang wrote: > Some board do not use the dwc2 internal VBUS_DRV signal, but > use a gpio pin to enable the 5.0V VBUS power, add interface to > enable the power in dwc2 driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None >

Re: [U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence

2016-11-25 Thread Jagan Teki
On Wed, Nov 16, 2016 at 7:10 AM, Andre Przywara wrote: > From: Philipp Tomsich > > To send a parametrized command to the PHY over MDIO, we should write > the data first, the trigger the execution by the command register > write. Fix

Re: [U-Boot] [PATCH v2 2/8] spi: cadence_qspi: Fix baud rate calculation

2016-11-25 Thread Jagan Teki
On Fri, Nov 25, 2016 at 9:23 PM, Marek Vasut wrote: > On 11/25/2016 04:19 PM, Phil Edworthy wrote: >> Hi Marek, >> >> On 25 November 2016 14:58 Marek Vasut wrote: >>> On 11/25/2016 03:38 PM, Phil Edworthy wrote: With the existing code, when the requested SPI clock rate is near

Re: [U-Boot] [PATCH v2 4/8] spi: cadence_qspi: Use #define for bits instead of bit shifts

2016-11-25 Thread Jagan Teki
On Fri, Nov 25, 2016 at 8:08 PM, Phil Edworthy wrote: > Most of the code already uses #defines for the bit value, rather > than the shift required to get the value. This changes the remaining > code over. > > Whislt at it, fix the names of the "Rd Data Capture" register

  1   2   >