Re: [U-Boot] [U-Boot,1/2] armv8: Reduce exception handling code

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 12:57:00AM +0100, Andre Przywara wrote: > The arm64 exception handling code is quite big, mostly due to > architectural alignment requirements. Each exception entry spans 32 > instructions, which sounds generous, but is too small to fit all of the > save/branch/restore code

Re: [U-Boot] [U-Boot, v4, 1/9] configs: stm32f429-evaluation: Enable CONFIG_BLK

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 05:49:04PM +0200, Patrice Chotard wrote: > CONFIG_BLK config flag becomes mandatory, enable it. > > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, v4, 7/9] ARM: dts: stm32: remove cd-inverted for stm32429i-eval

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 05:49:10PM +0200, Patrice Chotard wrote: > As cd-inverted property is no more used by arm_pl180_mmci driver, > remove it. Update cd-gpios active level accordingly. > > Reported-by: Tuomas Tynkkynen > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! --

Re: [U-Boot] bootcount: Fix misaligned cache operation

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 11:45:58AM +, Alex Kiernan wrote: > 1947c2d2a0 introduces cache line flushes for the bootcounter, but if > the start address is not aligned then the flush causes warnings of > the form: > > CACHE: Misaligned operation at range [4030b7fc, 4030b83c] > > Align both the

Re: [U-Boot] [U-Boot, 2/2] armv8: make SPL exception vectors optional

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 12:57:01AM +0100, Andre Przywara wrote: > Even though the exception vector table is a fundamental part of the ARM > architecture, U-Boot mostly does not make real use of it, except when > crash dumping. But having it in takes up quite some space, partly due to > the archite

Re: [U-Boot] [U-Boot, v4, 2/9] configs: stm32f746-disco: Enable CONFIG_BLK

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 05:49:05PM +0200, Patrice Chotard wrote: > CONFIG_BLK config flag becomes mandatory, enable it. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v4, 5/9] mmc: arm_pl180_mmci: Add missing clk_free

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 05:49:08PM +0200, Patrice Chotard wrote: > Add missing clk_free() call in case of failure > when enabling the clock. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] docproc: Remove

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 11:42:58AM -0400, Tom Rini wrote: > Now that we have moved to Sphinx documentation we don't need the docproc > app anymore, remove. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot,v2,5/6] configs: stm32mp15: enable ADC

2018-08-04 Thread Tom Rini
On Tue, Jul 24, 2018 at 04:31:32PM +0200, Fabrice Gasnier wrote: > Enable ADC on stm32mp15. > - CONFIG_CMD_ADC > - CONFIG_STM32_ADC > > Signed-off-by: Fabrice Gasnier > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] clk: clk_set_default: accept no-op skip fields

2018-08-04 Thread Tom Rini
On Thu, Jul 26, 2018 at 03:19:32PM +0200, Neil Armstrong wrote: > The Assigned Clock parents and rates misses the fact that a "0" entry can > be passed to skip setting a parent or rate of an assigned clock as > described in the Linux clock bindings at [1]. > > This patch simply skips the clock re

Re: [U-Boot] [U-Boot, v2, 2/6] dm: adc: uclass: get reference regulator once

2018-08-04 Thread Tom Rini
On Tue, Jul 24, 2018 at 04:31:29PM +0200, Fabrice Gasnier wrote: > device_get_supply_regulator() only needs to be called once. > But each time there's call to adc_vxx_value() for instance, it calls > adc_vxx_platdata_update() -> device_get_supply_regulator(). > > So, move device_get_supply_regula

Re: [U-Boot] mailmap: Update mail address (lukma)

2018-08-04 Thread Tom Rini
On Thu, Jul 26, 2018 at 12:37:14AM +0200, Lukasz Majewski wrote: > Update my e-mail address from samsung.com to denx.de > > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, V2] ti_omap3_common: Add CONFIG_SYS_NS16550_COMx entries

2018-08-04 Thread Tom Rini
On Tue, Jul 24, 2018 at 06:06:04PM -0500, Adam Ford wrote: > Several boards do not use the default UART3, so they do a check > for ifdef CONFIG_SPL_BUILD and enable the pointer for > CONFIG_SYS_NS16550_COMx to point to OMAP34XX_UARTx. > > Let's consoldate this all into one place, and remove them

Re: [U-Boot] [U-Boot, v4, 4/9] mmc: arm_pl180_mmci: Update to support CONFIG_BLK

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 05:49:07PM +0200, Patrice Chotard wrote: > Config flag CONFIG_BLK becomes mandatory, update arm_pl180_mmci > to support this config. > > This driver is used by STM32Fx and by Vexpress platforms. > Only STM32Fx are DM ready. No DM code is isolated and will be > removed easi

Re: [U-Boot] [U-Boot, v4, 3/9] configs: stm32f469-disco: Enable CONFIG_BLK

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 05:49:06PM +0200, Patrice Chotard wrote: > CONFIG_BLK config flag becomes mandatory, enable it. > > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] kconfig: Replace spaces with tabs

2018-08-04 Thread Tom Rini
On Tue, Jul 24, 2018 at 02:47:43PM +0200, Michal Simek wrote: > Trivial Kconfig cleanup. Use tabs instead of spaces. > > Signed-off-by: Michal Simek > Reviewed-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2, 3/6] dt-bindings: Document STM32 ADC DT bindings

2018-08-04 Thread Tom Rini
On Tue, Jul 24, 2018 at 04:31:30PM +0200, Fabrice Gasnier wrote: > This patch adds documentation of device tree bindings for the STM32 ADC. > It's based on linux-v4.18-rc* dt-bindings, at the time of writing: > - Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt > > Signed-off-by: Fabric

Re: [U-Boot] [U-Boot,v2,6/6] ARM: dts: stm32mp157: Add ADC DT node

2018-08-04 Thread Tom Rini
On Tue, Jul 24, 2018 at 04:31:33PM +0200, Fabrice Gasnier wrote: > Add ADC device tree node. This allows to get analog conversions on > stm32mp157. > > Signed-off-by: Fabrice Gasnier > Reviewed-by: Simon Glass This doesn't apply currently, please rebase, thanks! -- Tom signature.asc Descri

Re: [U-Boot] [U-Boot,v2,1/6] clk: add clk_valid()

2018-08-04 Thread Tom Rini
On Tue, Jul 24, 2018 at 04:31:28PM +0200, Fabrice Gasnier wrote: > Add clk_valid() to check for optional clocks are valid. > Call clk_valid() in test/dm/clk.c and add relevant test routine to > sandbox clk tests. > > Signed-off-by: Fabrice Gasnier > Reviewed-by: Simon Glass Applied to u-boot/m

Re: [U-Boot] [U-Boot, v4, 6/9] mmc: arm_pl180_mmci: Remove cd_inverted host's struct field

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 05:49:09PM +0200, Patrice Chotard wrote: > As platform uses GPIOs for card detection, it's > simpler and more readable to use GPIO_ACTIVE_(LOW|HIGH) > in the gpio flags instead of using the cd-inverted > property. > > Reported-by: Tuomas Tynkkynen > Signed-off-by: Patrice

Re: [U-Boot] [U-Boot,v2] Add Beaglebone Enhanced support

2018-08-04 Thread Tom Rini
On Wed, Jul 18, 2018 at 10:13:59AM +0200, Koen Kooi wrote: > The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, > but with the following differences: > > * Gigabit capable PHY > * Extra USB hub, optional i2c control > * lps3331ap barometer connected over i2c > * MPU6050 6

Re: [U-Boot] [U-Boot,v2,4/6] adc: Add driver for STM32 ADC

2018-08-04 Thread Tom Rini
On Tue, Jul 24, 2018 at 04:31:31PM +0200, Fabrice Gasnier wrote: > This patch adds support for STMicroelectronics STM32 ADC (analog to > digital converter). It's originally based on Linux kernel v4.18-rcs > drivers/iio/adc/stm32-adc*. It's composed of: > - core driver (UCLASS_SIMPLE_BUS) manages c

Re: [U-Boot] [U-Boot, u-boot, 2/2] clk: clk_meson: Add mux and div support for reparent and rate setting

2018-08-04 Thread Tom Rini
On Thu, Jul 26, 2018 at 03:54:04PM +0200, Neil Armstrong wrote: > This patch adds support for : > - Rate calculation through muxes and generic dividers > - Basic gate setting propagation > - Reparenting for muxes > - Clock rate setting through generic dividers without reparenting > > Support is o

Re: [U-Boot] [U-Boot, v4, 9/9] ARM: dts: stm32: remove cd-inverted for stm32f746-disco

2018-08-04 Thread Tom Rini
On Wed, Jul 25, 2018 at 05:49:12PM +0200, Patrice Chotard wrote: > As cd-inverted property is no more used by arm_pl180_mmci driver, > remove it. Update cd-gpios active level accordingly. > > Reported-by: Tuomas Tynkkynen > Signed-off-by: Patrice Chotard > --- > > Changes in v4: None > Changes

[U-Boot] [PATCH] arm: armv7-a: Compile and tune for armv7-a instead of armv5

2018-08-04 Thread Adam Ford
arch/arm/Makefile references armv5 for backwards compatibility with older compilers. This patch removes those references to armv5, since by now newer compilers are required which should have armv7 support enabled. The Makefile also also has a list of options for mtune, but the entry for CONFIG_CP

[U-Boot] [RFC 1/1] efi_loader: relocate pointer to tables

2018-08-04 Thread Heinrich Schuchardt
When applying a virtual memory map we have to update the pointer to the list of configuration tables. Fixes: 4182a129ef73 ("efi_loader: allocate configuration table array") Reported-by: Mark Kettenis Signed-off-by: Heinrich Schuchardt --- Hello Mark, could you, please, test if this solves the p

[U-Boot] [RFC 1/1] efi_loader: relocate pointer to tables

2018-08-04 Thread Heinrich Schuchardt
When applying a virtual memory map we have to update the pointer to the list of configuration tables. Fixes: 4182a129ef73 ("efi_loader: allocate configuration table array") Reported-by: Mark Kettenis Signed-off-by: Heinrich Schuchardt --- Hello Mark, could you, please, test if this solves the p

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

2018-08-04 Thread Tom Rini
On Sun, Aug 05, 2018 at 02:58:46AM +0800, Icenowy Zheng wrote: > > > 于 2018年8月5日 GMT+08:00 上午2:51:43, Tom Rini 写到: > >On Sat, Aug 04, 2018 at 11:18:43PM +0530, Jagan Teki wrote: > >> On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini wrote: > >> > On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrot

[U-Boot] [PATCH 0/7] ARM: dts: sunxi: Update dts(i) files from Linux-4.18-rc3

2018-08-04 Thread Jagan Teki
This series is trying to update SoC dtsi and board dts files for Allwinner sun4i, 5i, 6i, 8i-a23/a33/a83t, r40 SoC's from Linux-4.18-rc3 These update is useful for supporting features CLK, RESET, DM_MMC etc Since H3/H5/A64 is already updated with Linux-4.18-rc3, this series use same version to ma

[U-Boot] [PATCH 7/7] ARM: dts: sun8i: Update R40/V40 dts(i) files from Linux

2018-08-04 Thread Jagan Teki
Update all R40/V40 devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit: R40: commit c36fd5a48bd20820855e3e91a89297eeaa31836e Author: Chen-Yu Tsai Date: Wed May 2 00:12:25 2018 +0800 ARM: dts: sun8i: r40: bananapi-m2-ultra: Enable GMAC ethernet controller V40: commit c5f0

[U-Boot] [PATCH 6/7] ARM: dts: sun8i: Update A83T dts(i) files from Linux

2018-08-04 Thread Jagan Teki
Update all A83T devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit: commit 221cb9fd2ee3042689fe0e6613d0f34eb46a5af6 Author: Mylène Josserand Date: Fri May 4 21:05:44 2018 +0200 ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC Note: bananapi-m3 and cubi

[U-Boot] [PATCH 5/7] ARM: dts: sun8i: Update A23/A33/r16 dts(i) files from Linux

2018-08-04 Thread Jagan Teki
Update all A23/A33/r16 devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commits. A23: commit bc3bd041fe766219a44688b182c260064007f0cc Author: Miquel Raynal Date: Tue Apr 24 17:55:02 2018 +0200 ARM: dts: sun8i: a23/a33: declare NAND pins A33: commit 88fe315d2c0a397ef42d7639ad

[U-Boot] [PATCH 3/7] ARM: dts: sun6i: Update A31/A31s dts(i) files from Linux

2018-08-04 Thread Jagan Teki
Update all A31/A31s devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit: commit b240b419db5d624ce7a5a397d6f62a1a686009ec Merge: 9c2dd8405c0c 518d2f43c358 Author: Linus Torvalds Date: Thu Apr 5 21:18:09 2018 -0700 Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux

[U-Boot] [PATCH 0/7] ARM: dts: sunxi: Update dts(i) files from

2018-08-04 Thread Jagan Teki
This series is trying to update SoC dtsi and board dts files for Allwinner sun4i, 5i, 6i, 8i-a23/a33/a83t, r40 SoC's from Linux-4.18-rc3 These update is useful for supporting features CLK, RESET, DM_MMC etc Since H3/H5/A64 is already updated with Linux-4.18-rc3, this series use same version to ma

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

2018-08-04 Thread Icenowy Zheng
于 2018年8月5日 GMT+08:00 上午2:51:43, Tom Rini 写到: >On Sat, Aug 04, 2018 at 11:18:43PM +0530, Jagan Teki wrote: >> On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini wrote: >> > On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote: >> >> On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini >wrote: >> >> > On Wed,

[U-Boot] [PATCH] sunxi: disable Pine A64 model detection code on non-A64 SoCs

2018-08-04 Thread Icenowy Zheng
The Pine A64 Plus/non-Plus model detection code is now built on all 64-bit ARM SoCs, even if the code cannot be triggered when H5/H6 is in use. Disable them when the SoC is not A64 by use #ifdef to wrap them. On GCC 7.3.1 this makes the size of the function reduces 184 bytes, and saves a 104 byte

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

2018-08-04 Thread Icenowy Zheng
于 2018年8月5日 GMT+08:00 上午2:51:43, Tom Rini 写到: >On Sat, Aug 04, 2018 at 11:18:43PM +0530, Jagan Teki wrote: >> On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini wrote: >> > On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote: >> >> On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini >wrote: >> >> > On Wed,

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

2018-08-04 Thread Tom Rini
On Sat, Aug 04, 2018 at 11:18:43PM +0530, Jagan Teki wrote: > On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini wrote: > > On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote: > >> On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini wrote: > >> > On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote: >

Re: [U-Boot] 2018.09-rc1 breakage on orangepi pc2

2018-08-04 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Sat, 4 Aug 2018 14:21:17 +0200 > > On 08/03/2018 12:07 AM, Mark Kettenis wrote: > >> Date: Thu, 2 Aug 2018 22:55:23 +0200 (CEST) > >> From: Mark Kettenis > >> > >> I can no longer boot OpenBSD on the orangepi pc2. The kernel faults > >> somewhere in the EFI d

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

2018-08-04 Thread Icenowy Zheng
于 2018年8月5日 GMT+08:00 上午1:48:43, Jagan Teki 写到: >On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini wrote: >> On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote: >>> On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini wrote: >>> > On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote: >>> >> On Wed,

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

2018-08-04 Thread Icenowy Zheng
于 2018年8月5日 GMT+08:00 上午1:48:43, Jagan Teki 写到: >On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini wrote: >> On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote: >>> On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini wrote: >>> > On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote: >>> >> On Wed,

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

2018-08-04 Thread Jagan Teki
On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini wrote: > On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote: >> On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini wrote: >> > On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote: >> >> On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki >> >> wrote: >> >>

Re: [U-Boot] [PATCH] efi_loader: don't allocate unusable RAM

2018-08-04 Thread Stephen Warren
On 08/04/2018 10:56 AM, Heinrich Schuchardt wrote: > On 08/02/2018 07:00 PM, Stephen Warren wrote: >> On 08/01/2018 11:57 PM, Heinrich Schuchardt wrote: >>> On 08/01/2018 06:17 PM, Stephen Warren wrote: On 08/01/2018 12:07 AM, Heinrich Schuchardt wrote: > On 07/31/2018 09:44 PM, Stephen Wa

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-08-04 Thread Icenowy Zheng
于 2018年8月5日 GMT+08:00 上午12:36:14, Jagan Teki 写到: >On Sat, Aug 4, 2018 at 9:36 PM, Icenowy Zheng wrote: >> 在 2018-07-31二的 11:30 +0530,Jagan Teki写道: >>> On Sat, Jul 21, 2018 at 1:50 PM, Icenowy Zheng >>> wrote: >>> > This patchset trys to add support for Allwinner H6 SoC to U-Boot. >>> > >>> > A

Re: [U-Boot] [PATCH] efi_loader: don't allocate unusable RAM

2018-08-04 Thread Heinrich Schuchardt
On 08/02/2018 07:00 PM, Stephen Warren wrote: > On 08/01/2018 11:57 PM, Heinrich Schuchardt wrote: >> On 08/01/2018 06:17 PM, Stephen Warren wrote: >>> On 08/01/2018 12:07 AM, Heinrich Schuchardt wrote: On 07/31/2018 09:44 PM, Stephen Warren wrote: > From: Stephen Warren > > Some

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-08-04 Thread Jagan Teki
On Sat, Aug 4, 2018 at 9:36 PM, Icenowy Zheng wrote: > 在 2018-07-31二的 11:30 +0530,Jagan Teki写道: >> On Sat, Jul 21, 2018 at 1:50 PM, Icenowy Zheng >> wrote: >> > This patchset trys to add support for Allwinner H6 SoC to U-Boot. >> > >> > Allwinner H6 is a quite new Allwinner SoC, with several part

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

2018-08-04 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks, Jagan. The following changes since commit a839c3641e4de98981695056eeeb2ec17ba1a4ab: ARM: tegra: align carveout size (2018-08-01 20:06:10 -0400) are available in the Git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch changes up

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-08-04 Thread Icenowy Zheng
在 2018-07-31二的 11:30 +0530,Jagan Teki写道: > On Sat, Jul 21, 2018 at 1:50 PM, Icenowy Zheng > wrote: > > This patchset trys to add support for Allwinner H6 SoC to U-Boot. > > > > Allwinner H6 is a quite new Allwinner SoC, with several parts > > changed a > > lot (memory map, DRAM controller, CCU, s

Re: [U-Boot] armv5 and OMAP3 Question

2018-08-04 Thread Tom Rini
On Sat, Aug 04, 2018 at 09:39:12AM -0500, Adam Ford wrote: > On Sat, Aug 4, 2018 at 6:44 AM Tom Rini wrote: > > > > On Sat, Aug 04, 2018 at 05:32:18AM -0500, Adam Ford wrote: > > > On Fri, Aug 3, 2018 at 10:20 AM Tom Rini wrote: > > > > > > > > On Fri, Aug 03, 2018 at 10:02:17AM -0500, Adam Ford

Re: [U-Boot] armv5 and OMAP3 Question

2018-08-04 Thread Adam Ford
On Sat, Aug 4, 2018 at 6:44 AM Tom Rini wrote: > > On Sat, Aug 04, 2018 at 05:32:18AM -0500, Adam Ford wrote: > > On Fri, Aug 3, 2018 at 10:20 AM Tom Rini wrote: > > > > > > On Fri, Aug 03, 2018 at 10:02:17AM -0500, Adam Ford wrote: > > > > On Fri, Aug 3, 2018 at 10:00 AM Tom Rini wrote: > > > >

[U-Boot] [PATCH 2/2] sunxi: SPI: reset bus when enabling clock

2018-08-04 Thread Fahad Sadah
--- drivers/spi/sun6i_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/sun6i_spi.c b/drivers/spi/sun6i_spi.c index 3192548e83..3c6a13e40e 100644 --- a/drivers/spi/sun6i_spi.c +++ b/drivers/spi/sun6i_spi.c @@ -215,6 +215,7 @@ static inline void sun6i_spi_enable_clock(void)

[U-Boot] [PATCH 1/2] sunxi: SPI: add AHB gate and reset offsets

2018-08-04 Thread Fahad Sadah
--- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h index d328df9597..71a1673fa8 100644 --- a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h +++ b/arc

[U-Boot] sunxi: SPI: reset bus when enabling clock

2018-08-04 Thread Fahad Sadah
Hi all, The sun6i SPI peripheral needs to be reset before it can be used. Add the necessary offset #defines and perform this reset. Applies to the allwinner-spi head on the u-boot-spi tree. Tested on Orange Pi R1 (Allwinner H2+ / sun8i) and successfully booted from SPI Thanks, Signed-off-by: Fa

Re: [U-Boot] 2018.09-rc1 breakage on orangepi pc2

2018-08-04 Thread Heinrich Schuchardt
On 08/03/2018 12:07 AM, Mark Kettenis wrote: >> Date: Thu, 2 Aug 2018 22:55:23 +0200 (CEST) >> From: Mark Kettenis >> >> I can no longer boot OpenBSD on the orangepi pc2. The kernel faults >> somewhere in the EFI detection code, almost certainly where it looks >> through the configuration table e

[U-Boot] [PATCH 0/2] sunxi: SPI: reset bus when enabling clock

2018-08-04 Thread Fahad Sadah
Hi all, The sun6i SPI peripheral needs to be reset before it can be used Add the necessary offset #defines and perform this reset Tested on Orange Pi R1 (Allwinner H2+ / sun8i) and successfully booted from SPI Thanks, Signed-off-by: Fahad Sadah Fahad Sadah (2): sunxi: SPI: add AHB gate and

[U-Boot] [PATCH 1/2] sunxi: SPI: add AHB gate and reset offsets

2018-08-04 Thread Fahad Sadah
--- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h index d328df9597..71a1673fa8 100644 --- a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h +++ b/arc

[U-Boot] [PATCH 2/2] sunxi: SPI: reset bus when enabling clock

2018-08-04 Thread Fahad Sadah
--- drivers/spi/sun6i_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/sun6i_spi.c b/drivers/spi/sun6i_spi.c index 3192548e83..3c6a13e40e 100644 --- a/drivers/spi/sun6i_spi.c +++ b/drivers/spi/sun6i_spi.c @@ -215,6 +215,7 @@ static inline void sun6i_spi_enable_clock(void)

Re: [U-Boot] armv5 and OMAP3 Question

2018-08-04 Thread Tom Rini
On Sat, Aug 04, 2018 at 05:32:18AM -0500, Adam Ford wrote: > On Fri, Aug 3, 2018 at 10:20 AM Tom Rini wrote: > > > > On Fri, Aug 03, 2018 at 10:02:17AM -0500, Adam Ford wrote: > > > On Fri, Aug 3, 2018 at 10:00 AM Tom Rini wrote: > > > > > > > > On Fri, Aug 03, 2018 at 05:43:46AM -0500, Adam Ford

Re: [U-Boot] armv5 and OMAP3 Question

2018-08-04 Thread Adam Ford
On Fri, Aug 3, 2018 at 10:20 AM Tom Rini wrote: > > On Fri, Aug 03, 2018 at 10:02:17AM -0500, Adam Ford wrote: > > On Fri, Aug 3, 2018 at 10:00 AM Tom Rini wrote: > > > > > > On Fri, Aug 03, 2018 at 05:43:46AM -0500, Adam Ford wrote: > > > > On Tue, Jul 25, 2017 at 11:08 AM Tom Rini wrote: > > >

Re: [U-Boot] [PATCH v6 00/27] SPI-NAND support

2018-08-04 Thread Miquel Raynal
Hi Boris, Boris Brezillon wrote on Sat, 4 Aug 2018 10:34:55 +0200: > On Sat, 4 Aug 2018 09:23:05 +0200 > Miquel Raynal wrote: > > > Hi Jagan, > > > > Jagan Teki wrote on Fri, 3 Aug 2018 > > 17:38:33 +0530: > > > > > On Fri, Aug 3, 2018 at 3:20 PM, Jagan Teki > > > wrote: > > > > On

Re: [U-Boot] [PATCH v6 00/27] SPI-NAND support

2018-08-04 Thread Boris Brezillon
On Sat, 4 Aug 2018 09:23:05 +0200 Miquel Raynal wrote: > Hi Jagan, > > Jagan Teki wrote on Fri, 3 Aug 2018 > 17:38:33 +0530: > > > On Fri, Aug 3, 2018 at 3:20 PM, Jagan Teki > > wrote: > > > On Fri, Aug 3, 2018 at 1:57 PM, Miquel Raynal > > > wrote: > > >> Hi Jagan, Tom, > > >> > > >

Re: [U-Boot] [PATCH v6 00/27] SPI-NAND support

2018-08-04 Thread Miquel Raynal
Hi Jagan, Jagan Teki wrote on Fri, 3 Aug 2018 17:38:33 +0530: > On Fri, Aug 3, 2018 at 3:20 PM, Jagan Teki wrote: > > On Fri, Aug 3, 2018 at 1:57 PM, Miquel Raynal > > wrote: > >> Hi Jagan, Tom, > >> > >> Miquel Raynal wrote on Wed, 1 Aug 2018 > >> 10:18:21 +0200: > >> > >>> During the