Re: [U-Boot] [PATCH v4 0/3] RISC-V S-mode support

2018-11-25 Thread Anup Patel
Hi All, Is it possible to include this series for next U-Boot release? Regards, Anup ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 11/58] keymile: Unroll km/km83xx-common.h

2018-11-25 Thread Mario Six
Hi Holger, On Tue, Nov 13, 2018 at 11:42 AM Holger Brunck wrote: > > Hi Mario, > > > Simplify the keymile config files once more by unrolling the > > km/km83xx-common.h, and resolve the #ifdef logic as needed. > > > > Signed-off-by: Mario Six > > > > --- > > > > v1 -> v2: > > No changes > > > >

Re: [U-Boot] [RFC for-v2019.01 3/4] dm: MIGRATION: Add migration plan for CONFIG_SATA

2018-11-25 Thread Chris Packham
Hi Tom, On Mon, Nov 26, 2018 at 7:20 AM Tom Rini wrote: > > As the core of the subsystem has been converted along with some of the > drivers, formalize a deadline for migration. > > Cc: Tuomas Tynkkynen > Cc: Simon Glass > Cc: Bin Meng > Cc: Nikita Kiryanov > Cc: York Sun > Cc: Fabio Estevam

[U-Boot] Antwort: Re: [PATCH] x86: tsc: Add support for APL soc

2018-11-25 Thread Bernhard Messerklinger
Hi Andy, > Von: Bin Meng > An: Andy Shevchenko , > Kopie: Bernhard Messerklinger automation.com>, U-Boot Mailing List > Datum: 25.11.2018 15:50 > Betreff: Re: [U-Boot] [PATCH] x86: tsc: Add support for APL soc > > Hi Andy, > > On Sun, Nov 25, 2018 at 10:43 PM Andy Shevchenko > wrote: > > >

[U-Boot] Uboot send pull request

2018-11-25 Thread uboot
Hi Tom, Please pull the following patch from u-boot-riscv into your tree. Thanks! The following changes since commit 5830791d91d1200854ef78fcb32f808c8080f0f0: Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 17:25:27 -0500) are available in the Git repository at: git://

Re: [U-Boot] [PATCH 66/93] arm: Remove ot1200 board

2018-11-25 Thread Simon Goldschmidt
[I've cut down the CC list a bit due to some gmail warnings] On Mon, Nov 26, 2018 at 4:00 AM Simon Glass wrote: > > Hi Simon, > > On Sun, 25 Nov 2018 at 14:09, Simon Goldschmidt > wrote: > > > > On Thu, Nov 22, 2018 at 9:50 PM Simon Glass wrote: > > > > > > Hi, > > > > > > On Thu, 22 Nov 2018 at

[U-Boot] [PATCH v16 4/4] efi: Rename bootefi_test_finish() to bootefi_run_finish()

2018-11-25 Thread Simon Glass
This function can be used from do_bootefi_exec() so that we use mostly the same code for a normal EFI application and an EFI test. Rename the function and use it in both places. Signed-off-by: Simon Glass --- Changes in v16: None Changes in v15: - Add a comment about a leaked device path - Drop

[U-Boot] [PATCH v16 2/4] efi: Split out test init/uninit into functions

2018-11-25 Thread Simon Glass
The functions in bootefi are very long because they mix high-level code and control with the low-level implementation. To help with this, create functions which handle preparing for running the test and cleaning up afterwards. Also shorten the awfully long variable names here. Signed-off-by: Simo

[U-Boot] [PATCH v16 1/4] efi: Check for failure to create objects in selftest

2018-11-25 Thread Simon Glass
At present a few error conditions are not checked. Before refactoring this code, add some basic checks. Note that this code still leaks memory in the event of error. This will be tackled after the refactor. Signed-off-by: Simon Glass --- Changes in v16: - Add new patch to check for failure to cr

[U-Boot] [PATCH v16 3/4] efi: Create a function to set up for running EFI code

2018-11-25 Thread Simon Glass
There is still duplicated code in efi_loader for tests and normal operation. Add a new bootefi_run_prepare() function which holds common code used to set up U-Boot to run EFI code. Make use of this from the existing bootefi_test_prepare() function, as well as do_bootefi_exec(). Also shorten a few

[U-Boot] [PATCH v16 0/4] efi_loader: Code refactoring and improvement

2018-11-25 Thread Simon Glass
This collects the patches previously sent to break up the very large functions in efi_loader into smaller pieces. Now that the other sandbox stuff is applied, perhaps it is time to apply these patches. This also adds a few new patches to fix more recent breakages. Unfortunately we still cannot ena

[U-Boot] [PATCH] binman: Add myself as maintainer

2018-11-25 Thread Simon Glass
Add an entry for my maintainership of this tool. Signed-off-by: Simon Glass --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index abdb6dcdb51..72e3390e2cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -358,6 +358,11 @@ S: Maintained T: git

[U-Boot] [PATCH] main: Drop more #ifdefs

2018-11-25 Thread Simon Glass
Now that many things are converted to Kconfig we can drop most of the Signed-off-by: Simon Glass --- common/main.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/common/main.c b/common/main.c index 9802bed229c..07b34bf2b05 100644 --- a/common/main.c

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-25 Thread Simon Glass
Hi Tom. On Sun, 25 Nov 2018 at 18:12, Tom Rini wrote: > > On Sat, Nov 24, 2018 at 12:41:53PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 23 Nov 2018 at 12:38, Tom Rini wrote: > > > > > > On Fri, Nov 23, 2018 at 05:04:46AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-25 Thread Tom Rini
On Sat, Nov 24, 2018 at 12:41:53PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 23 Nov 2018 at 12:38, Tom Rini wrote: > > > > On Fri, Nov 23, 2018 at 05:04:46AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 22 Nov 2018 at 16:31, Tom Rini wrote: > > > > > > > > On Thu, Nov 22, 20

Re: [U-Boot] [PATCH 66/93] arm: Remove ot1200 board

2018-11-25 Thread Simon Goldschmidt
On Thu, Nov 22, 2018 at 9:50 PM Simon Glass wrote: > > Hi, > > On Thu, 22 Nov 2018 at 10:02, Tom Rini wrote: > > > > On Thu, Nov 22, 2018 at 03:44:28PM +0100, Simon Goldschmidt wrote: > > > Am Do., 22. Nov. 2018, 14:44 hat Tom Rini > > > geschrieben: > > > > > > > On Thu, Nov 22, 2018 at 02:24:

Re: [U-Boot] [PATCH] dm: rtc: Fix function name in comment

2018-11-25 Thread Heinrich Schuchardt
On 11/25/18 7:32 PM, Philipp Tomsich wrote: > The documentation comment for dm_rtc_set was referring to dm_rtc_put > instead. Fix it. > > Signed-off-by: Philipp Tomsich > --- > > include/rtc.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/rtc.h b/include/rtc.

Re: [U-Boot] [PATCH] mtd: sf_probe: add jedec,spi-nor compatible

2018-11-25 Thread Simon Goldschmidt
On 14.11.2018 10:15, Jagan Teki wrote: On Wed, Nov 14, 2018 at 2:39 PM Simon Goldschmidt wrote: On Wed, Nov 14, 2018 at 9:59 AM Jagan Teki wrote: On Sat, Nov 10, 2018 at 1:14 AM Simon Goldschmidt wrote: On 06.11.2018 10:24, Neil Armstrong wrote: There is no reason not to use the Linux "jed

[U-Boot] [PATCH] dm: (re)sort uclass ids alphabetically

2018-11-25 Thread Philipp Tomsich
The comment in uclass-id.h states that "U-Boot uclasses start here - in alphabetical order" but the subsequent list is not sorted alphabetically. This reestablishes order. Signed-off-by: Philipp Tomsich --- include/dm/uclass-id.h | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[U-Boot] [PATCH] dm: rtc: Fix function name in comment

2018-11-25 Thread Philipp Tomsich
The documentation comment for dm_rtc_set was referring to dm_rtc_put instead. Fix it. Signed-off-by: Philipp Tomsich --- include/rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rtc.h b/include/rtc.h index 0d964d5..2c3a574 100644 --- a/include/rtc.h +++ b/includ

[U-Boot] [PATCH 2/2] Roll CRC16-CCITT into the hash infrastructure

2018-11-25 Thread Philipp Tomsich
The CRC16-CCITT checksum function is useful for space-constrained applications (such as obtaining a checksum across a 2KBit or 4KBit EEPROM) in boot applications. It has not been accessible from boot scripts until now (due to not having a dedicated command and not being supported by the hash infrst

[U-Boot] [PATCH 1/2] lib: merge CRC16-CCITT into u-boot/crc.h

2018-11-25 Thread Philipp Tomsich
This merges the CRC16-CCITT headers into u-boot/crc.h to prepare for rolling CRC16 into the hash infrastructure. Given that CRC8, CRC32 and CRC32-C already have their prototypes in a single header file, it seems a good idea to also include CRC16-CCITT in the same. Signed-off-by: Philipp Tomsich

[U-Boot] [RFC for-v2019.01 2/4] dm: MIGRATION: Add migration plan for DM_USB

2018-11-25 Thread Tom Rini
As much of the USB system has been migrated to DM now, formalize a deadline for migration. Cc: Marek Vasut Cc: Simon Glass Signed-off-by: Tom Rini --- Makefile | 7 +++ doc/driver-model/MIGRATION.txt | 10 ++ 2 files changed, 17 insertions(+) diff --git a/Ma

[U-Boot] [RFC for-v2019.01 4/4] dm: MIGRATION: Update migration plan for BLK

2018-11-25 Thread Tom Rini
The biggest part of migration to using CONFIG_BLK is that we need to have the various subsystems migrated first, so reword the plan here to reference the new deadlines. Cc: Simon Glass Signed-off-by: Tom Rini --- doc/driver-model/MIGRATION.txt | 12 +--- 1 file changed, 5 insertions(+),

[U-Boot] [RFC for-v2019.01 3/4] dm: MIGRATION: Add migration plan for CONFIG_SATA

2018-11-25 Thread Tom Rini
As the core of the subsystem has been converted along with some of the drivers, formalize a deadline for migration. Cc: Tuomas Tynkkynen Cc: Simon Glass Cc: Bin Meng Cc: Nikita Kiryanov Cc: York Sun Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic Cc: Stefan Roese Signed-off-by: Tom Rini

[U-Boot] [RFC for-v2019.01 1/4] dm: MIGRATION: Add migration plan for DM_MMC

2018-11-25 Thread Tom Rini
Given that at this point the MMC subsystem itself has been migrated along with a number of subsystem drivers, formalize a deadline for migration. Cc: Simon Glass Cc: Jaehoon Chung Signed-off-by: Tom Rini --- Makefile | 7 +++ doc/driver-model/MIGRATION.txt | 9 +++

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (24.11.2018)

2018-11-25 Thread Marek Vasut
On 11/24/2018 11:11 PM, Lukasz Majewski wrote: > Dear Marek, > > The following changes since commit > 5830791d91d1200854ef78fcb32f808c8080f0f0: > > Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 > 17:25:27 -0500) > > are available in the git repository at: > > git://git.

Re: [U-Boot] [PATCH v2 25/32] spi: Zap sh_spi driver-related code

2018-11-25 Thread Marek Vasut
On 11/25/2018 06:28 PM, Jagan Teki wrote: (trimming the insane and utterly useless To: list) > Dropped > - sh_spi driver > - CONFIG_SH_SPI,SH_SPI_BASE > > Dropped becuase > - no active updates > - no dm conversion > - multiple pings for asking dm-conversion I haven't received a single notificat

[U-Boot] [PATCH v2 31/32] spi: fsl_dspi: Drop non-dm code

2018-11-25 Thread Jagan Teki
Look like all defconfigs are using DM_SPI, but it may grow the size if enable it globally. but due to DM_SPI migration policy remove non-dm code, and will discuss footprint issues if any? Signed-off-by: Jagan Teki --- Makefile | 6 +- drivers/spi/Makefile | 2 +- drivers/spi/

[U-Boot] [PATCH v2 30/32] spi: Zap fsl_espi driver-related code

2018-11-25 Thread Jagan Teki
Dropped - fsl_espi driver Dropped becuase - no active updates - no dm conversion - multiple pings for asking dm-conversion - driver-model migration expiry Signed-off-by: Jagan Teki --- board/Arcturus/ucp1020/ucp1020.c | 6 + drivers/spi/Kconfig | 7 - drivers/spi/Makefile

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

2018-11-25 Thread Jagan Teki
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(-) diff --git a/doc/driver-model/MIGRATION.txt b/doc/driver-model/MIGRATION.txt index 5ebefd608b..b2d1488aeb 100644 ---

[U-Boot] [PATCH v2 29/32] spi: atmel: Drop non-dm code

2018-11-25 Thread Jagan Teki
Drop the non-dm code, those board which uses non-dm need to define DM_SPI. u-boot build trigger the warning for the same. Signed-off-by: Jagan Teki --- Makefile| 5 +- drivers/spi/Makefile| 2 +- drivers/spi/atmel_spi.c | 198 3 fi

[U-Boot] [PATCH v2 27/32] spi: mxc: Drop non-dm code

2018-11-25 Thread Jagan Teki
Drop the non-dm code, those board which uses non-dm need to define DM_SPI. u-boot build trigger the warning for the same. Signed-off-by: Jagan Teki --- Makefile | 2 +- drivers/spi/Makefile | 2 +- drivers/spi/mxc_spi.c | 123 ++ 3 files

[U-Boot] [PATCH v2 28/32] spi: omap3: Drop non-dm code

2018-11-25 Thread Jagan Teki
Drop the non-dm code, those board which uses non-dm need to define DM_SPI. u-boot build trigger the warning for the same. Signed-off-by: Jagan Teki --- Makefile| 2 +- drivers/spi/Makefile| 2 +- drivers/spi/omap3_spi.c | 126 3 fi

[U-Boot] Reboot and audio on Orange Pi mini (was: [linux-sunxi] Re: [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3)

2018-11-25 Thread Stefan Monnier
> Well, f you have the hardware, then there's only one way to find out: > > 1) Apply patchset > 2) Add following into boards defconfig: > CONFIG_AXP_ALDO3_INRUSH_QUIRK=y > 3) If it still fails to reboot, add following > CONFIG_AXP_ALDO3_VOLT_SLOPE_08=y Hmm... I tried it and it worked: it now reboo

[U-Boot] [PATCH v2 23/32] spi: Zap lpc32xx_ssp driver-related code

2018-11-25 Thread Jagan Teki
Dropped - lpc32xx_ssp driver - CONFIG_LPC32XX_SSP, LPC32XX_SSP_TIMEOUT items Dropped becuase - no active updates - no dm conversion - multiple pings for asking dm-conversion - no reponse for dm converted patch - driver-model migration expiry Signed-off-by: Jagan Teki --- configs/devkit3250_defc

[U-Boot] [PATCH v2 25/32] spi: Zap sh_spi driver-related code

2018-11-25 Thread Jagan Teki
Dropped - sh_spi driver - CONFIG_SH_SPI,SH_SPI_BASE Dropped becuase - no active updates - no dm conversion - multiple pings for asking dm-conversion - no reponse for dm converted patch - driver-model migration expiry Signed-off-by: Jagan Teki --- configs/sh7752evb_defconfig | 1 - configs/sh

[U-Boot] [PATCH v2 24/32] spi: Zap mxs_spi driver-related code

2018-11-25 Thread Jagan Teki
Dropped - mxs_spi driver - CONFIG_MXS_SPI Dropped becuase - no active updates - no dm conversion - multiple pings for asking dm-conversion - no reponse for dm converted patch - driver-model migration expiry Signed-off-by: Jagan Teki --- configs/bg0900_defconfig| 1 - configs/m

[U-Boot] [PATCH v2 11/32] spi: mpc8xxx: Simplify if

2018-11-25 Thread Jagan Teki
From: Mario Six Instead of having a nested if block, just have two branches within the overarching if block to eliminate one nesting level. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/spi/mpc8xx

[U-Boot] [PATCH v2 22/32] spi: Zap cf_spi driver-related code

2018-11-25 Thread Jagan Teki
Dropped - cf_spi driver - CF_DSPI code - CONFIG_CF_SPI, CF_DSPI items Dropped becuase - no active usage - no dm conversion - multiple pings for asking dm-conversion - driver-model migration expiry Signed-off-by: Jagan Teki --- arch/m68k/cpu/mcf5227x/cpu_init.c | 54 --- arch/m68k/c

[U-Boot] [PATCH v2 26/32] spi: Zap soft_spi_legacy driver-related code

2018-11-25 Thread Jagan Teki
Dropped - soft_spi_legacy driver - CONFIG_SOFT_SPI Dropped becuase - no active updates - no dm conversion - multiple pings for asking dm-conversion - driver-model migration expiry Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 12 +-- drivers/spi/Makefile | 1 - drive

[U-Boot] [PATCH v2 21/32] spi: mpc8xxx: Convert to DM

2018-11-25 Thread Jagan Teki
Support DM in the MPC8xxx SPI driver, and remove the legacy SPI interface. Signed-off-by: Mario Six [jagan: build for board which doesn't enable DM_SPI] Signed-off-by: Jagan Teki --- Makefile | 3 +- drivers/spi/Makefile | 2 +- drivers/spi/mpc8xxx_spi.c | 144

[U-Boot] [PATCH v2 10/32] spi: mpc8xxx: Use IO accessors

2018-11-25 Thread Jagan Teki
From: Mario Six Accesses to the register map are currently done by directly reading and writing the structure. Switch to the appropriate IO accessors instead. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 38 +++--- 1 file changed, 19 insertions(+),

[U-Boot] [PATCH v2 06/32] spi: mpc8xxx: Rename camel-case variables

2018-11-25 Thread Jagan Teki
From: Mario Six There are three variables that have camel-case names, which is not the preferred naming style. Give those variables more compliant names instead. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(

[U-Boot] [PATCH v2 08/32] spi: mpc8xxx: Fix function names in strings

2018-11-25 Thread Jagan Teki
From: Mario Six Replace the function name with a "%s" format string and the __func__ variable in debug statements (as proposed by checkpatch). Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/spi/mpc8xxx

[U-Boot] [PATCH v2 07/32] spi: mpc8xxx: Fix space after cast

2018-11-25 Thread Jagan Teki
From: Mario Six Fix all "superfluous space after case" style errors. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c index 0393765b6f..1424e7febe 100644 --- a/

[U-Boot] [PATCH v2 18/32] spi: mpc8xxx: Re-order transfer setup

2018-11-25 Thread Jagan Teki
From: Mario Six Minize the time the adapter is disabled (via SPI_MODE_EN clearing/setting) to just the character length setting, and only set up the temporary data writing variable right before we need it, so there is a more clear distinction between setting up the SPI adapter, and setting up the

[U-Boot] [PATCH v2 19/32] spi: mpc8xxx: Fix if check

2018-11-25 Thread Jagan Teki
From: Mario Six Decreasing the bit length and increasing the write data pointer should be done when there are more than 32 bit of data, not 16 bit. This did not produce incorrect behavior, because the only time where the two checks produce different outcomes is the case of 16 < bitlen < 32, and

[U-Boot] [PATCH v2 17/32] spi: mpc8xxx: Document LEN setting better

2018-11-25 Thread Jagan Teki
From: Mario Six Instead of having a table right before the code implementing the length setting for documentation, have inline comments for the if branches actually implementing the length setting described table's entries (which is readable thanks to the set_char_len function). Signed-off-by: M

[U-Boot] [PATCH v2 15/32] spi: mpc8xxx: Make code more readable

2018-11-25 Thread Jagan Teki
From: Mario Six Introduce the to_prescale_mod and set_char_len inline functions to make the code more readable. Note that the added "if (bitlen > 16)" check does not change the semantics of the current code, and hence only preserves the current error (this will be fixed in a later patch in the s

[U-Boot] [PATCH v2 14/32] spi: mpc8xxx: Reduce scope of loop variables

2018-11-25 Thread Jagan Teki
From: Mario Six The transmission loop starts with setting some variables, which are only used inside the loop. Reduce the scope to the loop to make the declaration and initialization of these variables coincide. In the case of char_size this also always initializes the variable immediately with

[U-Boot] [PATCH v2 16/32] spi: mpc8xxx: Rename variable

2018-11-25 Thread Jagan Teki
From: Mario Six The variable "char_size" holds the number of bits to be transferred in the current loop iteration. A better name would be "xfer_bitlen", which we rename this variable to. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 8 1 file changed, 4 insertions(+), 4 del

[U-Boot] [PATCH v2 09/32] spi: mpc8xxx: Replace defines with enums

2018-11-25 Thread Jagan Teki
From: Mario Six Replace pre-processor defines with proper enums, and use the BIT macro where applicable. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/sp

[U-Boot] [PATCH v2 12/32] spi: mpc8xxx: Get rid of is_read

2018-11-25 Thread Jagan Teki
From: Mario Six Get rid of the is_read variable, and just keep the state of the "not empty" and "not full" events in two boolean variables within the loop body. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v2 20/32] spi: mpc8xxx: Use get_timer

2018-11-25 Thread Jagan Teki
From: Mario Six The comment before the transmission loop in conjunction with the definition of SPI_TIMEOUT as 1000 implies that the loop is supposed to have a timeout value of 1000 ms. But since there is no mdelay(1) or similar in the loop body, the loop just runs 1000 times, without regard for t

[U-Boot] [PATCH v2 05/32] spi: mpc8xxx: Fix comments

2018-11-25 Thread Jagan Teki
From: Mario Six There are some comments on the same line as the code they document. Put comments above the code lines they document, so the line length is not unnecessarily increased. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 22 ++ 1 file changed, 14 inserti

[U-Boot] [PATCH v2 04/32] spi: mpc8xxx: Use short type names

2018-11-25 Thread Jagan Teki
From: Mario Six The function signatures in the driver are quite long as is. Use short type names (uint etc.) to make them more readable. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/spi/mpc8xxx_s

[U-Boot] [PATCH v2 13/32] spi: mpc8xxx: Simplify logic a bit

2018-11-25 Thread Jagan Teki
From: Mario Six We do nothing in the loop if the "not empty" event was not detected. To simplify the logic, check if this is the case, and skip the execution of the loop early to reduce the nesting level and flag checking. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 23 +++

[U-Boot] [PATCH v2 03/32] spi: ti_qspi: Full dm conversion

2018-11-25 Thread Jagan Teki
ti_qspi now support dt along with platform data, respective boards need to switch into dm for the same. Cc: Tom Rini Cc: Vitaly Andrianov Cc: Peter Howard Signed-off-by: Jagan Teki --- Makefile | 2 +- drivers/spi/Makefile | 2 +- drivers/sp

[U-Boot] [PATCH v2 02/32] spi: kirkwood: Full dm conversion

2018-11-25 Thread Jagan Teki
kirkwood now support dt along with platform data, respective boards need to switch into dm for the same. Signed-off-by: Jagan Teki --- Makefile| 2 +- drivers/spi/Makefile| 2 +- drivers/spi/kirkwood_spi.c | 218 ---

[U-Boot] [PATCH v2 01/32] spi: davinci: Full dm conversion

2018-11-25 Thread Jagan Teki
davinci_spi now support dt along with platform data, respective boards need to switch into dm for the same. Cc: Adam Ford Cc: Vitaly Andrianov Cc: Stefano Babic Cc: Peter Howard Cc: Tom Rini Signed-off-by: Jagan Teki --- Makefile | 9 +++ drivers/spi/Makefile | 2 +

[U-Boot] [PATCH v2 00/32] spi: DM_SPI migration timeout, remainder(2)

2018-11-25 Thread Jagan Teki
This series fix, build issues and comments from previous series [1]. We have not heard any positive feed back about dm-conversion on spi drivers along with no response for the work done by Akash and me. Plan is to send the same series remainder recursively based on the dm conversion updates and f

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

2018-11-25 Thread Tom Rini
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 --- drivers/block/blk-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 del

Re: [U-Boot] [PATCH] x86: tsc: Add support for APL soc

2018-11-25 Thread Bin Meng
Hi Andy, On Sun, Nov 25, 2018 at 10:43 PM Andy Shevchenko wrote: > > On Sun, Nov 25, 2018 at 4:31 PM Andy Shevchenko > wrote: > > On Sat, Nov 24, 2018 at 5:39 PM Bin Meng wrote: > > > > Are you saying that if doing cpu_mhz_from_cpuid() you can't get > > > correct frequency? Can you investigate

Re: [U-Boot] [PATCH] x86: tsc: Add support for APL soc

2018-11-25 Thread Andy Shevchenko
On Sun, Nov 25, 2018 at 4:31 PM Andy Shevchenko wrote: > On Sat, Nov 24, 2018 at 5:39 PM Bin Meng wrote: > > Are you saying that if doing cpu_mhz_from_cpuid() you can't get > > correct frequency? Can you investigate why your core crystal clock is > > always zero? > > Yes, this has to be investig

Re: [U-Boot] [PATCH] x86: tsc: Add support for APL soc

2018-11-25 Thread Andy Shevchenko
On Sat, Nov 24, 2018 at 5:39 PM Bin Meng wrote: > On Fri, Nov 23, 2018 at 5:13 PM Bernhard Messerklinger > wrote: > > > APL means ApolloLake? Could you please spell it out? > > I will fix this. > > > > --- a/drivers/timer/tsc_timer.c > > > > +++ b/drivers/timer/tsc_timer.c > > > > @@ -64,6 +64,

[U-Boot] [PATCH 1/1] efi_selftest: incorrect use of bitwise or

2018-11-25 Thread Heinrich Schuchardt
We should use a logical or when combining logical values. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_loaded_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_selftest/efi_selftest_loaded_image.c b/lib/efi_selftest/efi_selftest_loaded_i

[U-Boot] Good news on migration

2018-11-25 Thread Simon Glass
Hi, I just wanted to mention that the CONFIG whitelist file started out two years ago at 8420 lines and is now only 4690 line, a reduction of close to half, in about 550 commits. So the Kconfig conversion has gone quite well. Good news! Regards, Simon

Re: [U-Boot] [PATCH v15 4/4] efi: Rename bootefi_test_finish() to bootefi_run_finish()

2018-11-25 Thread Simon Glass
Hi Alex, On Sun, 25 Nov 2018 at 06:27, Alexander Graf wrote: > > > > On 25.11.18 13:53, Simon Glass wrote: > > Hi Alex, > > > > On Sat, 24 Nov 2018 at 14:26, Alexander Graf wrote: > >> > >> > >> > >> On 22.11.18 21:46, Simon Glass wrote: > >>> This function can be used from do_bootefi_exec() so

Re: [U-Boot] [U-Boot, v15, 1/4] sandbox: smbios: Update to support sandbox

2018-11-25 Thread Alexander Graf
> At present this code casts addresses to pointers so cannot be used with > sandbox. Update it to use mapmem instead. > > Signed-off-by: Simon Glass Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/l

Re: [U-Boot] [PATCH v15 4/4] efi: Rename bootefi_test_finish() to bootefi_run_finish()

2018-11-25 Thread Alexander Graf
On 25.11.18 13:53, Simon Glass wrote: > Hi Alex, > > On Sat, 24 Nov 2018 at 14:26, Alexander Graf wrote: >> >> >> >> On 22.11.18 21:46, Simon Glass wrote: >>> This function can be used from do_bootefi_exec() so that we use mostly the >>> same code for a normal EFI application and an EFI test. >

Re: [U-Boot] [PATCH v15 4/4] efi: Rename bootefi_test_finish() to bootefi_run_finish()

2018-11-25 Thread Simon Glass
Hi Alex, On Sat, 24 Nov 2018 at 14:26, Alexander Graf wrote: > > > > On 22.11.18 21:46, Simon Glass wrote: > > This function can be used from do_bootefi_exec() so that we use mostly the > > same code for a normal EFI application and an EFI test. > > > > Rename the function and use it in both plac

Re: [U-Boot] [PATCH v3 1/3] spi: pl022: Simplify platdata code

2018-11-25 Thread Quentin Schulz
Hi Jagan, On Sat, Nov 24, 2018 at 05:41:03PM +0530, Jagan Teki wrote: > On Thu, Nov 22, 2018 at 1:48 PM Quentin Schulz > wrote: > > > > Hi Jagan, > > > > On Thu, Nov 22, 2018 at 01:31:25PM +0530, Jagan Teki wrote: > > > On Thu, Nov 22, 2018 at 1:21 PM Quentin Schulz > > > wrote: > > > > > > > >