Re: [U-Boot] [PATCH v4 12/25] mtd: ensure MTD and NOR drivers are compiled with ENV_IS_IN_FLASH

2018-12-10 Thread Miquel Raynal
Hi Tom, Tom Rini wrote on Mon, 10 Dec 2018 13:10:11 -0500: > On Mon, Dec 10, 2018 at 07:02:45PM +0100, Miquel Raynal wrote: > > Hello, > > > > Miquel Raynal wrote on Sun, 9 Dec 2018 > > 19:07:34 +0100: > > > > > MTD and NOR flash support must be enabled when the environment is in > > >

Re: [U-Boot] [PATCH v2 06/20] riscv: ax25: Hide the ax25-specific Kconfig option

2018-12-10 Thread Bin Meng
Hi Rick, On Tue, Dec 11, 2018 at 3:06 PM Rick Chen wrote: > > > > Subject: [PATCH v2 06/20] riscv: ax25: Hide the ax25-specific Kconfig > > > option > > > > > > There is no need to expose RISCV_NDS to the Kconfig menu as it is an > > > ax25-specific option. > > > > > Hi Bin > > Can you explain

Re: [U-Boot] [PATCH v2 06/20] riscv: ax25: Hide the ax25-specific Kconfig option

2018-12-10 Thread Rick Chen
> > Subject: [PATCH v2 06/20] riscv: ax25: Hide the ax25-specific Kconfig option > > > > There is no need to expose RISCV_NDS to the Kconfig menu as it is an > > ax25-specific option. > > Hi Bin Can you explain why there is no need to expose RISCV_NDS here ? Rick > > Signed-off-by: Bin Meng >

Re: [U-Boot] ARM: rockchip: rv1108: Fix booting with initramfs

2018-12-10 Thread Heiko Stuebner
Hi Philipp, Am Dienstag, 11. Dezember 2018, 00:12:40 CET schrieb Philipp Tomsich: > + Heiko > > > On 10.12.2018, at 01:56, Tom Rini wrote: > > > > On Mon, Dec 10, 2018 at 01:38:36AM +0100, Philipp Tomsich wrote: > >> Tom, > >> > >> On 10.12.2018, at 01:28, Tom Rini wrote: > >>> > >>> On

Re: [U-Boot] [Fwd: [PATCH] mpc83xx: Add support for -msingle-pic-base]

2018-12-10 Thread Mario Six
On Wed, Dec 5, 2018 at 12:56 PM Mario Six wrote: > > Hi Joakim, > On Wed, Dec 5, 2018 at 11:03 AM Joakim Tjernlund > wrote: > > > > Ping ? > > > > On Thu, 2018-11-29 at 14:09 +0100, Joakim Tjernlund wrote: > > > OOPS, I forgot to include you in this patch so I do that now :) > > > > > > > > >

Re: [U-Boot] [PATCH] ARM: at91: Fix 'boot.bin' generation when CONFIG_SD_BOOT is enabled

2018-12-10 Thread Derald D. Woods
On Mon, Dec 10, 2018 at 03:14:05PM +, eugen.hris...@microchip.com wrote: > > > On 10.12.2018 16:54, Derald Woods wrote: > > > > > > On Mon, Dec 10, 2018 at 8:03 AM > > wrote: > > > > > > > > On 10.12.2018 15:01, Derald D. Woods wrote: > > >

Re: [U-Boot] Regression: dm: i2c: Make i2c_get_chip_for_busnum() fail if the chip is not detected

2018-12-10 Thread Heiko Schocher
Hello Stephen, Am 10.12.2018 um 19:23 schrieb Stephen Warren: The following commit: dm: i2c: Make i2c_get_chip_for_busnum() fail if the chip is not detected     i2c_get_chip_for_busnum() really should check the presence of the chip on     the bus. Most of the users of this function assume

Re: [U-Boot] [RESEND PATCH v3 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-12-10 Thread Heiko Schocher
Hello Simon, Am 11.12.2018 um 02:05 schrieb Simon Glass: Hi Tom, On Fri, 7 Dec 2018 at 07:23, Tom Rini wrote: On Fri, Dec 07, 2018 at 02:50:36PM +0100, Jean-Jacques Hiblot wrote: This series remove the usage of the DM_I2C_COMPAT option for all the ti platforms. It also takes this

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

2018-12-10 Thread Keerthy
On Tuesday 11 December 2018 06:34 AM, Simon Glass wrote: > Hi, > > On Tue, 4 Dec 2018 at 21:10, Keerthy wrote: >> >> >> >> On Friday 30 November 2018 08:25 PM, Tom Rini wrote: >>> On Thu, Nov 29, 2018 at 01:55:14PM -0700, Simon Glass wrote: >>> Hi Tom, The following changes

Re: [U-Boot] [PATCH 1/4] scsi: ceva: add ls1046a soc support

2018-12-10 Thread Peng Ma
Hi York, got it, thanks. Best Regards, Peng >-Original Message- >From: York Sun >Sent: 2018年12月11日 5:10 >To: Peng Ma ; u-boot@lists.denx.de >Cc: albert.u.b...@aribaud.net; Mingkai Hu ; >sumit.g...@nxp.com; Pankaj Bansal ; Fabio >Estevam ; Yinbo Zhu ; >michal.si...@xilinx.com;

Re: [U-Boot] [PATCH v2 16/20] riscv: Do some basic architecture level cpu initialization

2018-12-10 Thread Bin Meng
Hi Lukas, On Tue, Dec 11, 2018 at 8:01 AM Auer, Lukas wrote: > > Hi Bin, > > On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > > Implement arch_cpu_init() to do some basic architecture level cpu > > initialization, like FPU enable, etc. > > > > Signed-off-by: Bin Meng > > > > --- > > > >

Re: [U-Boot] [PATCH v2 05/20] timer: Add generic driver for RISC-V privileged architecture defined timer

2018-12-10 Thread Bin Meng
Hi Lukas, On Tue, Dec 11, 2018 at 7:17 AM Auer, Lukas wrote: > > Hi Bin, > > On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > > RISC-V privileged architecture v1.10 defines a real-time counter, > > exposed as a memory-mapped machine-mode register - mtime. mtime must > > run at constant

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

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 09:22:52PM +, York Sun wrote: > Tom, > > The following changes since commit d452f27b3ea806fd99aee4b73a723318032c1d5c: > > Prepare v2019.01-rc1 (2018-12-03 23:50:13 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-fsl-qoriq.git

Re: [U-Boot] travis: Add check for configs without MAINTAINERS entries

2018-12-10 Thread Tom Rini
On Thu, Dec 06, 2018 at 04:39:43PM -0500, Tom Rini wrote: > The genboardscfg.py script will emit a WARNING message if we have new > defconfig files that are not listed in a MAINTAINERS file. Make new > cases of this a failure we catch in Travis-CI. > > Signed-off-by: Tom Rini Applied to

Re: [U-Boot] Please pull u-boot-rockchip/master (for-master-20181210)

2018-12-10 Thread Tom Rini
ion in mv_ddr_plat.{c,h} (2018-12-09 > 17:10:13 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-rockchip.git tags/for-master-20181210 > > for you to fetch changes up to eff43904b7f0c05ed316755e83b5474792059a5c: > > rockchip: rk3399-p

Re: [U-Boot] [GIT PULL] u-boot-mips

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 07:04:32PM +0100, Daniel Schwierzeck wrote: > Hi Tom, > > please pull some fixes for MIPS BCM platforms. > > Would you accept another pull request from u-boot-mips/next with the BMIPS > part > of the original series "dma: add channels support"? The changes are isolated

Re: [U-Boot] [RESEND PATCH v3 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-12-10 Thread Simon Glass
Hi Tom, On Fri, 7 Dec 2018 at 07:23, Tom Rini wrote: > > On Fri, Dec 07, 2018 at 02:50:36PM +0100, Jean-Jacques Hiblot wrote: > > > This series remove the usage of the DM_I2C_COMPAT option for all the ti > > platforms. It also takes this opportunity to not disable DM_I2C in the SPL. > > > >

Re: [U-Boot] [PATCH v2 32/32] dm: MIGRATION: spi: Update SPI driver status

2018-12-10 Thread Simon Glass
On Sun, 25 Nov 2018 at 10:40, Jagan Teki wrote: > > Update the spi driver dm-conversion status. > > Signed-off-by: Jagan Teki > --- > doc/driver-model/MIGRATION.txt | 18 +- > 1 file changed, 1 insertion(+), 17 deletions(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 0/7] Remove defines for SPI default speed and mode

2018-12-10 Thread Simon Goldschmidt
Am 10.12.2018 um 21:17 schrieb Adam Ford: On Mon, Dec 10, 2018 at 1:20 PM Simon Goldschmidt wrote: Am 10.12.2018 um 16:42 schrieb Adam Ford: On Mon, Dec 10, 2018 at 4:54 AM Patrick Delaunay wrote: This patch-set finish (after the last Simmon comment) and depends on the previous serie

Re: [U-Boot] [PATCH v2 2/8] fdt: parse "reserved-memory" for memory reservation

2018-12-10 Thread Simon Glass
Hi Simon, On Thu, 29 Nov 2018 at 13:40, Simon Goldschmidt wrote: > > On 27.11.2018 06:40, Simon Goldschmidt wrote: > > On Tue, Nov 27, 2018 at 2:02 AM Simon Glass wrote: > >> Hi Simon, > >> > >> On Sat, 17 Nov 2018 at 02:18, Simon Goldschmidt > >> wrote: > >>> boot_fdt_add_mem_rsv_regions()

Re: [U-Boot] Question regarding early pinctrl and driver model in u-boot

2018-12-10 Thread Simon Glass
Hi Lukasz, On Thu, 6 Dec 2018 at 01:50, Lukasz Majewski wrote: > > Hi Simon, > > > Hi Lukasz, > > > > On Mon, 3 Dec 2018 at 15:13, Lukasz Majewski wrote: > > > > > > Dear All, > > > > > > I've stumbled upon a following issue: > > > > > > - I do have a vybrid SoC which is not using SPL. It only

Re: [U-Boot] [PATCH v2] spl: implement CRC check on U-Boot uImage

2018-12-10 Thread Simon Glass
On Wed, 28 Nov 2018 at 13:52, Simon Goldschmidt wrote: > > SPL currently does not check uImage CRCs when loading U-Boot. > > This patch adds checking the uImage CRC when SPL loads U-Boot. It does > this by reusing the existing config option SPL_CRC32_SUPPORT to allow > leaving out the CRC check

Re: [U-Boot] [PATCH] misc: fs_loader: Switching private data allocation to DM auto allocation

2018-12-10 Thread Simon Glass
On Mon, 10 Dec 2018 at 06:29, wrote: > > From: Tien Fong Chee > > Switching private data manual allocation to driver model auto allocation > so users no longer need to deallocate themself because this would be > deallocated by driver model when the device is no longer required. > >

Re: [U-Boot] [PATCH v5 1/9] test: add test for lib/lmb.c

2018-12-10 Thread Simon Glass
On Sun, 9 Dec 2018 at 13:45, Simon Goldschmidt wrote: > > Add basic tests for the lmb memory allocation code used to reserve and > allocate memory during boot. > > Signed-off-by: Simon Goldschmidt > --- > > Changes in v5: > - this patch is new in v5 > > test/lib/Makefile | 1 + >

Re: [U-Boot] [PATCH v5 7/9] bootm: use new common function lmb_init_and_reserve

2018-12-10 Thread Simon Glass
On Sun, 9 Dec 2018 at 13:46, Simon Goldschmidt wrote: > > This reduces duplicate code only. > > Signed-off-by: Simon Goldschmidt > --- > > Changes in v5: None > Changes in v4: None > Changes in v2: None > > common/bootm.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) >

Re: [U-Boot] [PATCH v2 1/2] bootcount: add uclass for bootcount

2018-12-10 Thread Simon Glass
Hi Philipp, On Tue, 27 Nov 2018 at 15:00, Philipp Tomsich wrote: > > The original bootcount methods do not provide an interface to DM and > rely on a static configuration for I2C devices (e.g. bus, chip-addr, > etc. are configured through defines statically). On a modern system > that exposes

Re: [U-Boot] [PATCH] test: hexdump: fix misplaced return

2018-12-10 Thread Simon Glass
On Sun, 9 Dec 2018 at 13:53, Simon Goldschmidt wrote: > > Am 05.12.2018 um 13:55 schrieb Simon Glass: > > On Tue, 4 Dec 2018 at 13:30, Simon Goldschmidt > > wrote: > >> > >> One of the hexdump tests in test/lib/hexdump.c returns right at the > >> start of the function without testing anything. >

Re: [U-Boot] [PATCH v5 4/9] fdt: parse "reserved-memory" for memory reservation

2018-12-10 Thread Simon Glass
On Sun, 9 Dec 2018 at 13:46, Simon Goldschmidt wrote: > > boot_fdt_add_mem_rsv_regions() adds reserved memory sections to an lmb > struct. Currently, it only parses regions described by /memreserve/ > entries. > > Extend this to the more commonly used scheme of the "reserved-memory" > node. > >

Re: [U-Boot] [PATCH v5 6/9] fs: prevent overwriting reserved memory

2018-12-10 Thread Simon Glass
On Sun, 9 Dec 2018 at 13:46, Simon Goldschmidt wrote: > > This fixes CVE-2018-18440 ("insufficient boundary checks in filesystem > image load") by using lmb to check the load size of a file against > reserved memory addresses. > > Signed-off-by: Simon Goldschmidt > --- > > Changes in v5: None >

Re: [U-Boot] [PATCH] sandbox: add memset_io(..), memcpy_fromio(..) and memcpy_toio(..)

2018-12-10 Thread Simon Glass
On Tue, 4 Dec 2018 at 12:35, Christian Gmeiner wrote: > > From: Christian GMEINER > > These functions could be used by drivers. > > Signed-off-by: Christian GMEINER > --- > arch/sandbox/include/asm/io.h | 12 > 1 file changed, 12 insertions(+) > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v4 1/6] common: command: Fix command auto-completion

2018-12-10 Thread Simon Glass
Hi Boris, On Mon, 3 Dec 2018 at 14:54, Boris Brezillon wrote: > > When auto-completing command arguments, the last argument is not > necessarily the one we need to auto-complete. When the last character is > a space, a tab or '\0' what we want instead is list all possible values, > or if there's

Re: [U-Boot] [PATCH v4 06/10] dm: usb: create a new UCLASS ID for USB gadget devices

2018-12-10 Thread Simon Glass
Hi Jean-Jacques, On Thu, 29 Nov 2018 at 02:54, Jean-Jacques Hiblot wrote: > > UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host > controllers, not gadget devices. > Adding a new UCLASS for gadget devices alone. > > Also move the generic DM code for USB gadgets in a separate file

Re: [U-Boot] [RESEND PATCH v3 16/19] lib: fdtdec: Add function re-setup the fdt more effeciently

2018-12-10 Thread Simon Glass
On Fri, 7 Dec 2018 at 06:51, Jean-Jacques Hiblot wrote: > > In some cases it may be useful to be able to change the fdt we have been > using and use another one instead. For example, the TI platforms uses an > EEPROM to store board information and, based on the type of board, > different dtbs are

Re: [U-Boot] [RFC] fit: include uncompression into fit_image_load

2018-12-10 Thread Simon Glass
Hi Simon, On Tue, 20 Nov 2018 at 14:03, Simon Goldschmidt wrote: > > On Fri, Nov 16, 2018 at 3:05 AM Simon Glass wrote: > > > > Hi, > > > > On 22 October 2018 at 11:55, Simon Goldschmidt > > wrote: > > > On 22.10.2018 19:49, Simon Glass wrote: > > >> > > >> Hi Simon, > > >> > > >> On 19

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

2018-12-10 Thread Simon Glass
Hi, On Tue, 4 Dec 2018 at 21:10, Keerthy wrote: > > > > On Friday 30 November 2018 08:25 PM, Tom Rini wrote: > > On Thu, Nov 29, 2018 at 01:55:14PM -0700, Simon Glass wrote: > > > >> Hi Tom, > >> > >> The following changes since commit > >> e16c888fab5014b022d5781dc534f204460a073b: > >> > >>

Re: [U-Boot] [PATCH V2 2/2] spl: introduce function prototypes

2018-12-10 Thread Simon Glass
On Sat, 17 Nov 2018 at 02:10, Peng Fan wrote: > > Introduce function prototypes for board_spl_fit_size_align and > board_spl_fit_post_load > > Signed-off-by: Peng Fan > --- > > V2: > New file per Simon's comments > > include/spl.h | 12 > 1 file changed, 12 insertions(+)

Re: [U-Boot] [PATCH] blk: Rework guard around part_init call

2018-12-10 Thread Simon Glass
On Sun, 25 Nov 2018 at 10:37, Tom Rini wrote: > > The function part_init() will only be built when we have both > CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set. Protect the call to > this function with both of these tests now. > > Cc: Simon Glass > Signed-off-by: Tom Rini > --- >

Re: [U-Boot] Port old board to Kconfig

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 11:13:31AM +1100, Tim Godfrey wrote: > Hello! > > I am working with a VAR-SOM-AM43 dev board from a company called Variscite. > The company doesn't support u-boot builds for this board after the > migration to Kconfig (maintenance happens on a 2014.07 branch), and I would

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Ezequiel Garcia
On Mon, 2018-12-10 at 19:48 -0500, Tom Rini wrote: > On Mon, Dec 10, 2018 at 05:35:56PM -0300, Ezequiel Garcia wrote: > > > As the subject says, this series adds support for CI20. > > > > Most of the work was done by Paul Burton, and then by Marek Vasut. > > I've just rescued the work from the

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 05:35:56PM -0300, Ezequiel Garcia wrote: > As the subject says, this series adds support for CI20. > > Most of the work was done by Paul Burton, and then by Marek Vasut. > I've just rescued the work from the dark wastelands of Mordor, > did some cleaning here and there

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 09:27:53PM -0300, Ezequiel Garcia wrote: > On Mon, 2018-12-10 at 18:41 -0500, Tom Rini wrote: > > On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote: > > > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: > > [snip] > > > > Further, it would be very

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Ezequiel Garcia
On Mon, 2018-12-10 at 18:41 -0500, Tom Rini wrote: > On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote: > > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: > [snip] > > > Further, it would be very helpful - given the history of this patchset - > > > to indicate which

Re: [U-Boot] [PATCH 04/19] cpu: Add a RISC-V CPU driver

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 21:59 +0800, Bin Meng wrote: > Hi Lukas, > > On Thu, Nov 15, 2018 at 5:57 AM Auer, Lukas > wrote: > > > > Hi Bin, > > > > On Tue, 2018-11-13 at 00:21 -0800, Bin Meng wrote: > > > This adds a driver for RISC-V CPU. Note the driver will bind > > > a RISC-V timer

Re: [U-Boot] [PATCH v2 16/20] riscv: Do some basic architecture level cpu initialization

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > Implement arch_cpu_init() to do some basic architecture level cpu > initialization, like FPU enable, etc. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - use csr_set() to set MSTATUS_FS > - only enabling the cycle, time,

Re: [U-Boot] [PATCH 6/7] doc: android: Add simple guide for A/B updates

2018-12-10 Thread Simon Glass
Hi, On Mon, 10 Dec 2018 at 12:11, Ruslan Trofymenko wrote: > > Hi Simon, > > On Thu, 6 Dec 2018 at 03:31, Simon Glass wrote: > > > > Hi, > > > > On Tue, 27 Nov 2018 at 12:57, Ruslan Trofymenko > > wrote: > > > > > > Add a short documentation for A/B enablement and 'android_ab_select' > > >

Re: [U-Boot] [PATCH v2 15/20] riscv: Add indirect stringification to csr_xxx ops

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > With current csr_xxx ops, we cannot pass a macro to parameter > 'csr', hence we need add another level to allow the parameter > to be a macro itself, aka indirect stringification. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > -

Re: [U-Boot] [PATCH v2 14/20] riscv: Add exception codes for xcause register

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > This adds all exception codes in encoding.h. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > arch/riscv/include/asm/encoding.h | 15 +++ > 1 file changed, 15 insertions(+) > Reviewed-by: Lukas Auer

Re: [U-Boot] [PATCH v2 13/20] riscv: Add CSR numbers

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > The standard RISC-V ISA sets aside a 12-bit encoding space for up > to 4096 CSRs. This adds all known CSR numbers as defined in the > RISC-V Privileged Architecture Version 1.10. > > Signed-off-by: Bin Meng > --- > > Changes in v2:

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote: > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: [snip] > > Further, it would be very helpful - given the history of this patchset - > > to indicate which toolchain and version you used for building this. > > > > I've

Re: [U-Boot] [PATCH v2 09/20] riscv: Implement riscv_get_time() API using rdtime instruction

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > From: Anup Patel > > This adds an implementation of riscv_get_time() API that is using > rdtime instruction. > > This is the case for S-mode U-Boot, and is useful for processors > that support rdtime in M-mode too. > > Signed-off-by: Anup

Re: [U-Boot] [PATCH v2 08/20] riscv: Add a SYSCON driver for SiFive's Core Local Interruptor

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > This adds U-Boot syscon driver for SiFive's Core Local Interruptor > (CLINT). The CLINT block holds memory-mapped control and status > registers associated with software and timer interrupts. > > This driver implements the

Re: [U-Boot] [PATCH v2 07/20] riscv: Introduce a Kconfig option for machine mode

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > From: Anup Patel > > So far we have a Kconfig option for supervisor mode. This adds an > option for the machine mode. > > Signed-off-by: Anup Patel > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - incorporated and reworked Anup's

Re: [U-Boot] [PATCH v2 06/20] riscv: ax25: Hide the ax25-specific Kconfig option

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > There is no need to expose RISCV_NDS to the Kconfig menu as it is > an ax25-specific option. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > arch/riscv/cpu/ax25/Kconfig | 8 +++- > 1 file changed, 3 insertions(+), 5

Re: [U-Boot] [PATCH v2 05/20] timer: Add generic driver for RISC-V privileged architecture defined timer

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > RISC-V privileged architecture v1.10 defines a real-time counter, > exposed as a memory-mapped machine-mode register - mtime. mtime must > run at constant frequency, and the platform must provide a mechanism > for determining the

Re: [U-Boot] ARM: rockchip: rv1108: Fix booting with initramfs

2018-12-10 Thread Philipp Tomsich
+ Heiko > On 10.12.2018, at 01:56, Tom Rini wrote: > > On Mon, Dec 10, 2018 at 01:38:36AM +0100, Philipp Tomsich wrote: >> Tom, >> >> On 10.12.2018, at 01:28, Tom Rini wrote: >>> >>> On Mon, Dec 10, 2018 at 01:01:52AM +0100, Philipp Tomsich wrote: > We move the ramdisk_addr_r to

Re: [U-Boot] [PATCH v2 04/20] cpu: Add a RISC-V CPU driver

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > This adds a driver for RISC-V CPU. Note the driver will bind > a RISC-V timer driver if "timebase-frequency" property is > present in the device tree. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - pass NULL as the timer device

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Paul Burton
Hi Ezequiel, On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote: > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: > > Am 10.12.18 um 21:35 schrieb Ezequiel Garcia: > > > Please note that I've added Paul's SOB to all the patches > > > he authored, to make the authorship

Re: [U-Boot] [PATCH v2 1/2] spl_spi: Read default speed and mode values from DT

2018-12-10 Thread Adam Ford
On Mon, Nov 19, 2018 at 11:55 AM Patrick Delaunay wrote: > > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. > > Signed-off-by: Christophe Kerello > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: > - use variables to avoid

Re: [U-Boot] [PATCH 1/6] misc: Add JZ47xx efuse driver

2018-12-10 Thread Marek Vasut
On 12/10/2018 11:02 PM, Ezequiel Garcia wrote: > On Mon, 2018-12-10 at 21:56 +0100, Marek Vasut wrote: >> On 12/10/2018 09:35 PM, Ezequiel Garcia wrote: >>> From: Paul Burton >>> >>> Add driver for the efuse block in the JZ47xx SOC. >>> >>> Cc: Daniel Schwierzeck >>> Signed-off-by: Paul Burton

Re: [U-Boot] [PATCH 1/6] misc: Add JZ47xx efuse driver

2018-12-10 Thread Ezequiel Garcia
On Mon, 2018-12-10 at 21:56 +0100, Marek Vasut wrote: > On 12/10/2018 09:35 PM, Ezequiel Garcia wrote: > > From: Paul Burton > > > > Add driver for the efuse block in the JZ47xx SOC. > > > > Cc: Daniel Schwierzeck > > Signed-off-by: Paul Burton > > Signed-off-by: Marek Vasut > > [...] > >

Re: [U-Boot] [PATCH 2/2] mtd: Get rid of board_mtdparts_default()

2018-12-10 Thread Enric Balletbo Serra
+Ladis who might be also interested. Missatge de Boris Brezillon del dia dl., 10 de des. 2018 a les 16:38: > > The only implementer of this function has been patched to use > CONFIG_MTD{IDS,PARTS}_DEFAULT instead. Let's get rid of this function > and the associated CONFIG_SYS_MTDPARTS_RUNTIME

Re: [U-Boot] [PATCH 1/2] configs: igep: Define default mtdids/mtdparts

2018-12-10 Thread Enric Balletbo Serra
+Ladis who might be also interested. Missatge de Boris Brezillon del dia dl., 10 de des. 2018 a les 16:38: > > We are trying to get rid of the weak board_mtdparts_default() function > and we need to make sure igep defconfigs have proper proper > CONFIG_MTD{IDS,PARTS}_DEFAULT before doing that. >

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Andreas Färber
Am 10.12.18 um 22:31 schrieb Ezequiel Garcia: > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: >> Also this is surely not a v1 patch! Marek had posted CI20 before, so >> this should be v2 (doesn't look like I posted mine as v2, it didn't >> fully build yet) and thus your next iteration

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Ezequiel Garcia
On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: > Hi Ezequiel, > > Am 10.12.18 um 21:35 schrieb Ezequiel Garcia: > > Please note that I've added Paul's SOB to all the patches > > he authored, to make the authorship chain more clear. > > That's only permitted if Paul agreed to that

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

2018-12-10 Thread York Sun
On 12/10/18 1:22 PM, York Sun wrote: > Tom, > > The following changes since commit d452f27b3ea806fd99aee4b73a723318032c1d5c: > > Prepare v2019.01-rc1 (2018-12-03 23:50:13 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-fsl-qoriq.git

[U-Boot] Please pull fsl-qoriq master

2018-12-10 Thread York Sun
Tom, The following changes since commit d452f27b3ea806fd99aee4b73a723318032c1d5c: Prepare v2019.01-rc1 (2018-12-03 23:50:13 -0500) are available in the Git repository at: git://git.denx.de/u-boot-fsl-qoriq.git tags/fsl-qoriq-for-v2019.01-rc2 for you to fetch changes up to

Re: [U-Boot] [PATCH][v2] armv8:fsl-layerscape: Add support for Chassis 3.2

2018-12-10 Thread York Sun
On 10/29/18 2:11 AM, Priyanka Jain wrote: > NXP layerscape architecture Chassis 3.2 builds upon chassis3 > architecture with changes like DDR Memory map change, > removal of IFC and support of upto 8 I2C controller. > > Patch add README.lsch3_2 and the above changes under > macro

Re: [U-Boot] [PATCH][v3] armv8: lx2160a: Add LX2160A SoC Support

2018-12-10 Thread York Sun
On 10/29/18 2:17 AM, Priyanka Jain wrote: > LX2160A Soc is based on Layerscape Chassis Generation 3.2 Architecture. > Features: > 16 ARM v8 Cortex-A72 cores in 8 cluster, CCN508, SEC, > two 64-bit DDR4 memory controller, RGMII, 8 I2C controllers, > 3 serdes modules, USB 3.0, SATA, 4 PL011 SBSA

Re: [U-Boot] [PATCH] board/freescale/vid: Add vdd table for NXP LX2160A SoC

2018-12-10 Thread York Sun
On 10/10/18 10:22 PM, Priyanka Jain wrote: > Signed-off-by: Priyanka Jain > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH][v2] armv8: lsch3: Add support of serdes3 module

2018-12-10 Thread York Sun
On 9/26/18 10:02 PM, Priyanka Jain wrote: > Some lsch3 based SoCs like lx2160a contains three > serdes modules. > Add support for third serdes protocol in lsch3 > > Signed-off-by: Priyanka Jain > --- > Changes for v2: > Updated copyright > Renamed CONFIG_SYS_FSL_SRDS_3 to

Re: [U-Boot] [PATCH] board/freescale/vid: Add correction for ltc3882 read error.

2018-12-10 Thread York Sun
On 10/10/18 10:11 PM, Priyanka Jain wrote: > Voltage regulator LTC3882 device has 0.5% voltage read error. > So for NXP SoC devices this generally equates to 2mV > > Update set_voltage_to_LTC for below: > 1.Add coorection of upto 2mV in voltage comparison > to take care of voltage read error of

Re: [U-Boot] [PATCH] ls1088a: Move CONFIG_FSL_QSPI to defconfig

2018-12-10 Thread York Sun
On 10/12/18 2:18 AM, Ashish Kumar wrote: > Signed-off-by: Rajat Srivastava > Signed-off-by: Ashish Kumar > --- This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] armv8: ls1088ardb_pb: Add support for board detection

2018-12-10 Thread York Sun
On 10/12/18 7:04 AM, Pramod Kumar wrote: > ls1088ardb-pb and ls1088ardb both boards are ls1088a based soc, > board type detection is dynamic at boot time > > Signed-off-by: Pramod Kumar > --- This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH] arm: ls1021a: Add timer_init() in board_init_f for SPL

2018-12-10 Thread York Sun
On 10/16/18 1:23 AM, Alison Wang wrote: > I2C is used to access DDR SPD in the DDR initialization for SPL. In > i2c_write process, get_timer() will be called. In board_init_f for SPL, > timer_init() is not called before. The system counter is not enabled and > the counter frequency is not set to

Re: [U-Boot] [PATCH 1/3] scsi: ceva: add ls2080a soc support

2018-12-10 Thread York Sun
On 10/21/18 7:47 PM, Peng Ma wrote: > Add ahci compatible support for ls2080a soc. > > Signed-off-by: Peng Ma > --- This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 7/7] spi: remove define for SPI default SPEED and MODE

2018-12-10 Thread Petr Vorel
Hi Patrick, > On Mon, Dec 10, 2018 at 11:53 AM Patrick Delaunay > wrote: > > In DM mode, the speed and mode defaults value will be taken from DT, > > so these defines should be never used and can be removed. > > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel > > --- > >

Re: [U-Boot] [PATCH 1/3] scsi: ceva: add ls1088a soc support

2018-12-10 Thread York Sun
On 10/21/18 7:43 PM, Peng Ma wrote: > Add ahci compatible support for ls1088a soc. > > Signed-off-by: Peng Ma > --- This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/4] scsi: ceva: add ls1046a soc support

2018-12-10 Thread York Sun
On 10/11/18 3:38 AM, Peng Ma wrote: > Add ahci compatible support for ls1046a soc. > > Signed-off-by: Peng Ma > --- Please remember to sort defconfig using moveconfig.py in the future. This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH 6/7] env: Read default speed and mode values from DT

2018-12-10 Thread Petr Vorel
Hi Patrick, > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel > --- > env/Kconfig | 4 ++-- > env/sf.c| 5 - > 2 files changed, 6 insertions(+), 3 deletions(-) ... >

Re: [U-Boot] [PATCH 20/21] Add inttypes.h

2018-12-10 Thread Simon Glass
Hi Masahiro, On Wed, 5 Dec 2018 at 22:51, Masahiro Yamada wrote: > > On Sat, Nov 24, 2018 at 1:43 PM Simon Glass wrote: > > > > Even if U-Boot does not use this, some libraries do. Add back this header > > file so that the build does not fall back to using the host version, which > > may

Re: [U-Boot] [PATCH v6 00/27] TF-A Boot support for NXP Chassis 2 platforms

2018-12-10 Thread York Sun
On 11/5/18 10:01 AM, Rajesh Bhagat wrote: > Includes changes in u-boot framework to support TF-A for NXP Chassis 2 > platforms. A new defconfig is added namely ls*_tfa_defconfig which will > be used for all boot sources when TF-A is used. > >

Re: [U-Boot] [BUG] ut overlay fails with v2018.03 and later on qemu-arm64_defconfig

2018-12-10 Thread Simon Goldschmidt
Am 10.12.2018 um 21:43 schrieb Tom Rini: On Sat, Dec 08, 2018 at 09:35:06AM +0100, Heinrich Schuchardt wrote: Hello Simon, on qemu-arm_defconfig fails with => ut overlay Running 9 overlay tests Test: fdt_overlay_add_node_by_path test/overlay/cmd_ut_overlay.c:127,

Re: [U-Boot] [PATCH 5/7] mips: mt76xx: gardena-smart-gateway: Read default speed and mode values from DT

2018-12-10 Thread Petr Vorel
Hi Patrick, > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel Kind regards, Petr ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 4/7] dfu: sf: Read default speed and mode values from DT

2018-12-10 Thread Petr Vorel
Hi Patrick, > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel Kind regards, Petr ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Andreas Färber
Hi Ezequiel, Am 10.12.18 um 21:35 schrieb Ezequiel Garcia: > Please note that I've added Paul's SOB to all the patches > he authored, to make the authorship chain more clear. That's only permitted if Paul agreed to that beforehand - did he? Never add other people's Signed-off-by if their patches

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Marek Vasut
On 12/10/2018 09:35 PM, Ezequiel Garcia wrote: > As the subject says, this series adds support for CI20. > > Most of the work was done by Paul Burton, and then by Marek Vasut. > I've just rescued the work from the dark wastelands of Mordor, > did some cleaning here and there and submitted. > >

Re: [U-Boot] [PATCH 1/6] misc: Add JZ47xx efuse driver

2018-12-10 Thread Marek Vasut
On 12/10/2018 09:35 PM, Ezequiel Garcia wrote: > From: Paul Burton > > Add driver for the efuse block in the JZ47xx SOC. > > Cc: Daniel Schwierzeck > Signed-off-by: Paul Burton > Signed-off-by: Marek Vasut [...] > +static void jz4780_efuse_read_chunk(size_t addr, size_t count, u8 *buf) >

Re: [U-Boot] [PATCH] Drivers: USB: MUSB: Remove legacy CONFIG_USB_DA8XX

2018-12-10 Thread Marek Vasut
On 12/10/2018 05:35 PM, Adam Ford wrote: > There don't appear to be any boards enabling CONFIG_USB_DA8XX, > and there is a newer version of the MUSB driver, so let's remove > the legacy version of it. > > Signed-off-by: Adam Ford CCing Jean, I'd like his A-B/R-B. Looks good to me, so I'll pick

Re: [U-Boot] [PATCH 3/7] da850evm: sf: Read default speed and mode values from DT

2018-12-10 Thread Petr Vorel
Hi Patrick, > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel Kind regards, Petr ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/7] spi: update management of default speed and mode

2018-12-10 Thread Simon Goldschmidt
Am 10.12.2018 um 21:49 schrieb Petr Vorel: Hi Patrick, On Mon, Dec 10, 2018 at 11:53 AM Patrick Delaunay wrote: The 2 default values for SPI mode and speed are only if CONFIG_DM_SPI_FLASH is not defined - CONFIG_SF_DEFAULT_SPEED - CONFIG_SF_DEFAULT_MODE Inverse the logic of the test to

[U-Boot] [PATCH] am3517_evm: Use ttyS2 instead of ttyO2

2018-12-10 Thread Adam Ford
The serial driver in the kernel moved from ttyOx to ttySx a while ago. This patch updates the console parameter to align with the kernel change. Signed-off-by: Adam Ford diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index 4e7e5209d4..eb50012ff7 100644 ---

Re: [U-Boot] [PATCH v3 03/11] drivers: spi: cf_spi: convert to driver model

2018-12-10 Thread Angelo Dureghello
Hi Jagan, still sorry for the delay, fixed all the points except 2, ready to send patch v4, please read below. On Tue, Oct 23, 2018 at 04:58:22PM +0530, Jagan Teki wrote: > On Sun, Oct 14, 2018 at 1:00 PM Angelo Dureghello wrote: > > > > Converting to driver model and removes non-dm code. > >

Re: [U-Boot] [PATCH 2/7] spi: add comment for spi_flash_probe_bus_cs function

2018-12-10 Thread Petr Vorel
Hi Patrick, > On Mon, Dec 10, 2018 at 11:53 AM Patrick Delaunay > wrote: > > Add Kernel style documentation for spi_flash_probe_bus_cs(). > > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel > > --- > > include/spi_flash.h | 14 ++ > > 1 file changed, 14 insertions(+)

Re: [U-Boot] [PATCH 1/7] spi: update management of default speed and mode

2018-12-10 Thread Petr Vorel
Hi Patrick, > On Mon, Dec 10, 2018 at 11:53 AM Patrick Delaunay > wrote: > > The 2 default values for SPI mode and speed are > > only if CONFIG_DM_SPI_FLASH is not defined > > - CONFIG_SF_DEFAULT_SPEED > > - CONFIG_SF_DEFAULT_MODE > > Inverse the logic of the test to remove these two defines.

Re: [U-Boot] CONFIG_CMD_SETEXPR disabled in many defconfigs

2018-12-10 Thread Tom Rini
On Sun, Dec 09, 2018 at 10:15:21AM +0100, Jan Kiszka wrote: > Hi all, > > for some distro script [1], I need setexpr enabled. However, lots of > defconfigs have that disabled, although it is default y in kconfig. I > strongly suspect that this propagated via blind copy, rather than >

Re: [U-Boot] [BUG] ut overlay fails with v2018.03 and later on qemu-arm64_defconfig

2018-12-10 Thread Tom Rini
On Sat, Dec 08, 2018 at 09:35:06AM +0100, Heinrich Schuchardt wrote: > Hello Simon, > > on qemu-arm_defconfig fails with > > => ut overlay > Running 9 overlay tests > Test: fdt_overlay_add_node_by_path > test/overlay/cmd_ut_overlay.c:127, fdt_overlay_add_node_by_path(): off >= 0 > Test:

[U-Boot] [PATCH 4/6] mips: Add SPL header

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add header with SPL boot mode and type definitions. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut --- arch/mips/include/asm/spl.h | 35 +++ 1 file changed, 35 insertions(+) create mode 100644

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

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add support for the Creator CI20 platform based on the JZ4780 SoC. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut Signed-off-by: Ezequiel Garcia --- arch/mips/dts/Makefile| 1 + arch/mips/dts/ci20.dts| 120 +++

[U-Boot] [PATCH 5/6] mips: jz47xx: Add JZ4780 SoC support

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add initial support for the Ingenic JZ47xx MIPS SoC. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut Signed-off-by: Ezequiel Garcia --- arch/mips/Kconfig | 7 + arch/mips/Makefile| 1

[U-Boot] [PATCH 3/6] mmc: Add JZ47xx SD/MMC controller driver

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add driver for the JZ47xx MSC controller. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut Signed-off-by: Ezequiel Garcia --- drivers/mmc/Kconfig | 6 + drivers/mmc/Makefile | 1 + drivers/mmc/jz_mmc. | 0 drivers/mmc/jz_mmc.c | 491

  1   2   3   >