Re: [U-Boot] usb command missing?

2018-03-02 Thread Lukasz Majewski
Hi Duncan, > In the latest git download the usb command appears turned off. > > I checked make menuconfig and usb appears turned on. If you could share the arch and board on which you work on? > > I compared the .config file with my previous, older .config > command and all the usb defines

[U-Boot] usb command missing?

2018-03-02 Thread Duncan Hare
In the latest git download the usb command appears turned off. I checked make menuconfig and usb appears turned on. I compared the .config file with my previous, older .config command and all the usb defines appeared to be the same. Please help me understand how I can get this command working.

[U-Boot] [PATCH] tools: Include U-Boot libfdt headers from their actual path

2018-03-02 Thread Paul Kocialkowski
There are no headers for libfdt in lib/libfdt, as they are instead located in scripts/dtc/libfdt. Specifying lib/libfdt for headers inclusion in host tools results in using the system libfdt headers, which is not what we want. Change this to the proper path. Signed-off-by: Paul Kocialkowski

Re: [U-Boot] [RFC] ns16550: Add support for AUX regs usage on some ARC SoCs

2018-03-02 Thread Alexey Brodkin
Hi Simon, On Thu, 2018-02-22 at 10:29 -0700, Simon Glass wrote: > Hi Alexey, > > On 22 February 2018 at 09:23, Alexey Brodkin > wrote: > > Hi Simon, > > > > On Thu, 2018-02-22 at 09:17 -0700, Simon Glass wrote: [snip] > > > I think a separate driver might be

[U-Boot] [PATCH 1/1] input: indicate that code page 437 is used

2018-03-02 Thread Heinrich Schuchardt
Add a comment indicating that the German key map assumes code page 437. Add support for character ² (square sign) in the German key map. Signed-off-by: Heinrich Schuchardt --- drivers/input/input.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH v3 2/2] efi_loader: provide new doc/README.uefi

2018-03-02 Thread Leif Lindholm
On Fri, Mar 02, 2018 at 07:58:50PM +0100, Heinrich Schuchardt wrote: > Provides information about > > - usage of the bootefi command > - overview of UEFI > - interaction between U-Boot and EFI drivers > > Signed-off-by: Heinrich Schuchardt Well, from my point of view:

Re: [U-Boot] RPi3 Not autobooting from SD-card. {Scanned}

2018-03-02 Thread Peter Robinson
On Fri, Mar 2, 2018 at 10:47 AM, Göran Lundberg wrote: > Hi! > I'm trying to boot from u-boot on a Raspberry Pi 3. But for some reason it > isn't autobooting on the SD-card. > > Is it possible to get more debug output on the screen console? I don't have > a serial console at

[U-Boot] [PATCH 1/1] video: indicate code page of bitmap fonts

2018-03-02 Thread Heinrich Schuchardt
Add comments clarifying that the bitmap fonts support code page 437. Signed-off-by: Heinrich Schuchardt --- drivers/video/vidconsole-uclass.c | 2 +- include/video_font_4x6.h | 4 ++-- include/video_font_data.h | 2 ++ 3 files changed, 5 insertions(+), 3

[U-Boot] [PATCH v3 1/2] efi_loader: delete doc/README.efi

2018-03-02 Thread Heinrich Schuchardt
Delete README.efi. It is replaced by a further patch. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 delete all lines instead of complete file --- doc/README.efi | 86 -- 1 file changed, 86

[U-Boot] [PATCH v3 2/2] efi_loader: provide new doc/README.uefi

2018-03-02 Thread Heinrich Schuchardt
Provides information about - usage of the bootefi command - overview of UEFI - interaction between U-Boot and EFI drivers Signed-off-by: Heinrich Schuchardt --- v3 rename README.efi to README.uefi use UEFI instead of EFI where applicable v2 split the

[U-Boot] [PATCH v3 0/2] efi_loader: provide new doc/README.efi

2018-03-02 Thread Heinrich Schuchardt
Provides information about - usage of the bootefi command - overview of UEFI - interaction between U-Boot and EFI drivers --- v3 rename README.efi to README.uefi use UEFI instead of EFI where applicable v2 split the patch in two: one deleteing all old lines, the other

Re: [U-Boot] U-Boot

2018-03-02 Thread Nicolas Ferre
On 01/03/2018 at 20:55, Mariano Coromac wrote: I found the problem. In my header file I was reading from eMMC device 1. Not 0. That's why the operations with mmc worked in command line but did not on startup. Please correct me if I'm mistaken but I have a couple questions. 1) Do I need a

Re: [U-Boot] [PATCH] watchdog: omap_wdt: improve watchdog reset path

2018-03-02 Thread Sam Protsenko
On 1 March 2018 at 16:33, Tom Rini wrote: > On Thu, Mar 01, 2018 at 04:10:44PM +0200, Ruslan Bilovol wrote: >> Hi Lukasz, >> >> On Thu, Mar 1, 2018 at 12:53 PM, Lukasz Majewski wrote: >> > Hi Ruslan, >> > >> >> Remove busy looping during watchdog reset. >> >>

Re: [U-Boot] [PATCH] scripts: use CROSS_COMPILE environment variable

2018-03-02 Thread Stefan Agner
Hi Lukasz, On 02.03.2018 17:33, Lukasz Majewski wrote: > Hi Stefan, > >> From: Stefan Agner >> >> Make sure we use objcopy from the cross compiler toolchain. >> >> Signed-off-by: Stefan Agner >> --- >> scripts/get_default_envs.sh | 3 ++- >>

Re: [U-Boot] [linux-sunxi] Re: [PATCH v3 13/20] Revert: arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

2018-03-02 Thread Andre Przywara
Hi, On 02/03/18 16:32, Vincent Legoll wrote: > Hi, > > On Fri, Mar 2, 2018 at 5:24 PM, Andre Przywara wrote: >> Regarding the whole forward/backward compatibility: >> I clearly see the difficulty in coming up with a "perfect" DT from day >> one, especially for badly

Re: [U-Boot] [linux-sunxi] Re: [PATCH v3 13/20] Revert: arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

2018-03-02 Thread Vincent Legoll
Hi, On Fri, Mar 2, 2018 at 5:24 PM, Andre Przywara wrote: > Regarding the whole forward/backward compatibility: > I clearly see the difficulty in coming up with a "perfect" DT from day > one, especially for badly documented SoCs, where mainlining is driven by > hobbyists.

Re: [U-Boot] [PATCH] cmd: nvedit: add whitelist option for env import

2018-03-02 Thread Quentin Schulz
Hi all, On Thu, Jan 04, 2018 at 11:39:15AM +0100, Quentin Schulz wrote: > While the `env export` can take as parameters variables to be exported, > `env import` does not have such a mechanism of variable selection. > > Let's add a `-w` option that asks `env import` to look for the >

Re: [U-Boot] [PATCH] scripts: use CROSS_COMPILE environment variable

2018-03-02 Thread Lukasz Majewski
Hi Stefan, > From: Stefan Agner > > Make sure we use objcopy from the cross compiler toolchain. > > Signed-off-by: Stefan Agner > --- > scripts/get_default_envs.sh | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

[U-Boot] [PATCH] scripts: use CROSS_COMPILE environment variable

2018-03-02 Thread Stefan Agner
From: Stefan Agner Make sure we use objcopy from the cross compiler toolchain. Signed-off-by: Stefan Agner --- scripts/get_default_envs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/get_default_envs.sh

Re: [U-Boot] [PATCH v3 13/20] Revert: arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

2018-03-02 Thread Andre Przywara
Hi, On 02/03/18 15:58, Maxime Ripard wrote: > On Fri, Mar 02, 2018 at 12:56:52AM +, Andre Przywara wrote: >> Linux kernels before 4.12-rc1 don't know about the AXP803 PMIC, so can't >> enable the MMC driver with the current DT anymore, because that now >> depends on this regulator. > > Given

Re: [U-Boot] [PATCH v3 09/20] sunxi: disable direct MMC environment for 64 bit boards

2018-03-02 Thread Andre Przywara
Hi, On 02/03/18 15:56, Maxime Ripard wrote: > Hi, > > On Fri, Mar 02, 2018 at 12:56:48AM +, Andre Przywara wrote: >> Since the dawn of time for the Allwinner support in mainline U-Boot >> we store the environment to the SD card and write directly at >> 544KB from the beginning of the device.

Re: [U-Boot] [PATCH v3 00/20] sunxi: sync H3, H5, A64 DTs from mainline Linux

2018-03-02 Thread Maxime Ripard
On Fri, Mar 02, 2018 at 12:56:39AM +, Andre Przywara wrote: > This is an extended version of the EMAC DT binding update, this time > including the full Linux DTs for all H3, H5 and A64 boards. > Patch 01 should be merged *now*, to leave some hint in the README for > the v2018.03 release.

Re: [U-Boot] [PATCH v3 13/20] Revert: arm64: allwinner: a64: pine64: Use dcdc1 regulator for mmc0

2018-03-02 Thread Maxime Ripard
On Fri, Mar 02, 2018 at 12:56:52AM +, Andre Przywara wrote: > Linux kernels before 4.12-rc1 don't know about the AXP803 PMIC, so can't > enable the MMC driver with the current DT anymore, because that now > depends on this regulator. Given that only I2C, USB and MMC were supported at the

Re: [U-Boot] [PATCH v3 09/20] sunxi: disable direct MMC environment for 64 bit boards

2018-03-02 Thread Maxime Ripard
Hi, On Fri, Mar 02, 2018 at 12:56:48AM +, Andre Przywara wrote: > Since the dawn of time for the Allwinner support in mainline U-Boot > we store the environment to the SD card and write directly at > 544KB from the beginning of the device. This leads to problems when > the U-Boot proper image

Re: [U-Boot] U-Boot

2018-03-02 Thread Lothar Waßmann
Hi, On Thu, 1 Mar 2018 13:55:19 -0600 Mariano Coromac wrote: > I found the problem. In my header file I was reading from eMMC device 1. > Not 0. That's why the operations with mmc worked in command line but did > not on startup. > Please correct me if I'm mistaken but I have a couple questions. >

[U-Boot] [PATCH v2 05/10] video: add MIPI DSI host controller bridge

2018-03-02 Thread yannick fertre
Add a Synopsys Designware MIPI DSI host bridge driver, based on the Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs. Signed-off-by: yannick fertre --- drivers/video/Kconfig | 9 + drivers/video/Makefile | 1 + drivers/video/dw_mipi_dsi.c

[U-Boot] [PATCH v2 07/10] video: add support of panel rm68200

2018-03-02 Thread yannick fertre
Support for Raydium rm68200 720p dsi 2dl video mode panel. Signed-off-by: yannick fertre --- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/raydium-rm68200.c | 329 3 files changed,

[U-Boot] [PATCH v2 02/10] video: stm32: stm32_ltdc: update debug log

2018-03-02 Thread yannick fertre
Replace macro debug by pr_error, pr_warn or pr_info. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 62 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c

[U-Boot] [PATCH v2 09/10] arm: dts: stm32: add display for STM32F769 disco board

2018-03-02 Thread yannick fertre
Enable the display controller, mipi dsi bridge & panel. Set panel display timings. Signed-off-by: yannick fertre --- arch/arm/dts/stm32f769-disco.dts | 71 1 file changed, 71 insertions(+) diff --git

[U-Boot] [PATCH v2 06/10] video: add support of STM32 MIPI DSI controller driver

2018-03-02 Thread yannick fertre
Add the STM32 DSI controller driver that uses the Synopsys DesignWare MIPI DSI host controller bridge. Signed-off-by: yannick fertre --- drivers/video/stm32/Kconfig | 10 + drivers/video/stm32/Makefile| 1 + drivers/video/stm32/stm32_dsi.c | 427

[U-Boot] [PATCH v2 08/10] arm: dts: stm32: add dsi for STM32F746

2018-03-02 Thread yannick fertre
Add mipi dsi bridge node in device-tree. Signed-off-by: yannick fertre --- arch/arm/dts/stm32f746.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index e4d32bf..4ec954d 100644 ---

[U-Boot] [PATCH v2 10/10] board: Add STM32F769 SoC, discovery board support

2018-03-02 Thread yannick fertre
Signed-off-by: yannick fertre --- configs/stm32f769-disco_defconfig | 63 +++ 1 file changed, 63 insertions(+) create mode 100644 configs/stm32f769-disco_defconfig diff --git a/configs/stm32f769-disco_defconfig

[U-Boot] [PATCH v2 04/10] video: add support of panel OTM8009A

2018-03-02 Thread yannick fertre
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel. Signed-off-by: yannick fertre --- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/orisetech_otm8009a.c | 329 + 3 files

[U-Boot] [PATCH v2 03/10] video: add support of MIPI DSI interface

2018-03-02 Thread yannick fertre
Mipi_display.c contains a set of dsi helpers. This file is a copy of file drm_mipi_dsi.c (linux kernel). Signed-off-by: yannick fertre --- drivers/video/Kconfig| 7 + drivers/video/Makefile | 1 + drivers/video/mipi_display.c | 807

[U-Boot] [PATCH v2 01/10] video: stm32: stm32_ltdc: add bridge to display controller

2018-03-02 Thread yannick fertre
Manage a bridge insert between the display controller & a panel. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 107 ++- 1 file changed, 71 insertions(+), 36 deletions(-) diff --git

[U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-02 Thread yannick fertre
Version 2: - Replace debug log by pr_error, pr_warn or pr_info. - Rework bridge between ltdc & dsi panel - Rework backligh management (with or witout gpio) - Rework panel otm8009a - Add new panel raydium rm68200 Version 1: - Initial commit This serie contains all patchsets needed for displaying

[U-Boot] [PATCH v2 7/9] arm: dts: stm32: add display for STM32F746 disco board

2018-03-02 Thread yannick fertre
Enable the display controller , panel & backlight. Set panel display timings & set the RGB data bus. Signed-off-by: yannick fertre --- arch/arm/dts/stm32f746-disco.dts | 70 1 file changed, 70 insertions(+) diff --git

[U-Boot] [PATCH v2 6/9] arm: dts: stm32: add ltdc for STM32F746

2018-03-02 Thread yannick fertre
From: Philippe CORNU Add display controller node in device-tree. Signed-off-by: yannick fertre --- arch/arm/dts/stm32f746.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi

[U-Boot] [PATCH v2 9/9] board: Add display to STM32F746 SoC discovery board

2018-03-02 Thread yannick fertre
Signed-off-by: yannick fertre --- configs/stm32f746-disco_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index f8fa198..0bc9c01 100644 --- a/configs/stm32f746-disco_defconfig +++

[U-Boot] [PATCH v2 5/9] video: stm32: stm32_ltdc: set the blending factor

2018-03-02 Thread yannick fertre
Set the blending factor regarding the pixel format Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 41 ++-- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c

[U-Boot] [PATCH v2 1/9] video: stm32: stm32_ltdc: add reset

2018-03-02 Thread yannick fertre
Add reset of LTDC display controller. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c index b417ac2..d8784f1 100644 ---

[U-Boot] [PATCH v2 4/9] video: stm32: stm32_ltdc: missing set of line interrupt position

2018-03-02 Thread yannick fertre
Set LIPCR (line interrupt position conf) register with line length. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c index

[U-Boot] [PATCH v2 0/9] splash screen on the stm32f746 disco board

2018-03-02 Thread yannick fertre
Version 2: - Add patch to display bitmap stmicroelectronics_uboot_logo_8bit_rle - Add patch to defconfig to add splash screen - Rename panel in dts. Version 1: - Initial commit This serie contains all patchsets needed for displaying a splash screen on the stm32f746 disco board & some display

[U-Boot] [PATCH v2 3/9] video: stm32: stm32_ltdc: set rate of the pixel clock

2018-03-02 Thread yannick fertre
pxclk is useless to set pixel clock. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 52 ++-- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c

[U-Boot] [PATCH v2 2/9] video: stm32: stm32_ltdc: update file header & footer

2018-03-02 Thread yannick fertre
Modified copyright & driver name. Signed-off-by: yannick fertre --- drivers/video/stm32/stm32_ltdc.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c index

Re: [U-Boot] [PATCH] watchdog: omap_wdt: improve watchdog reset path

2018-03-02 Thread Lukasz Majewski
Hi Ruslan, > Hi Lukasz, > > On Thu, Mar 1, 2018 at 12:53 PM, Lukasz Majewski > wrote: > > Hi Ruslan, > > > >> Remove busy looping during watchdog reset. > >> Each polling of W_PEND_WTGR bit ("finish posted > >> write") after watchdog reset takes 120-140us > >> on BeagleBone

[U-Boot] [PATCH] dm: i2c: implement gpio-based I2C deblock

2018-03-02 Thread Alexander Kochetkov
The commit extract gpio description from device tree, setup pins and toggle them until I2C slave device release SDA. Any comments? Ideas? Could someone review the patch and tell that should I do with it in order to bring the patch to u-boot? Signed-off-by: Alexander Kochetkov

[U-Boot] [PATCH] Makefile: always preserve output for images that can contain HAB Blocks

2018-03-02 Thread Rasmus Villemoes
The current makefile logic disables creation of the SPL.log/u-boot-ivt.img.log etc. files when V=1 is given on the command line, the rationale presumably being that the user wants and gets the information on the console. However, from general principles, I don't think a higher V= level should

Re: [U-Boot] Building for MIPS on OSX with OpenWRT toolchain

2018-03-02 Thread Daniel Schwierzeck
Hi Ward, On 02.03.2018 01:02, Ward Willats wrote: > Greetings from California: > > I am a poor sinner trying to build u-boot from source on Max OSX. Forgive me. > > I have a custom MIPS board with a u-boot from a 3rd-party vendor and we'd > like to replace it. The board is MIPS-based and runs

[U-Boot] RPi3 Not autobooting from SD-card. {Scanned}

2018-03-02 Thread Göran Lundberg
Hi! I'm trying to boot from u-boot on a Raspberry Pi 3. But for some reason it isn't autobooting on the SD-card. Is it possible to get more debug output on the screen console? I don't have a serial console at the moment. The output on the screen is: Net: No ehternet found. starting USB...

[U-Boot] Building for MIPS on OSX with OpenWRT toolchain

2018-03-02 Thread Ward Willats
Greetings from California: I am a poor sinner trying to build u-boot from source on Max OSX. Forgive me. I have a custom MIPS board with a u-boot from a 3rd-party vendor and we'd like to replace it. The board is MIPS-based and runs OpenWRT/LEDE. So...I grabbed the u-boot git repo, stuck it on

[U-Boot] Keymap problem {Scanned}

2018-03-02 Thread Göran Lundberg
Hi! I have a problem with the keymap for the u-boot command line on Raspberry Pi. Which keymap is u-boot using? Can it be changed somehow? The problem I have is primarily not being able to write the backslash character \. I have a Swedish keyboard and I have basically tried every possible key

Re: [U-Boot] Kernel panic - not syncing: VFS: Unable to mount rootfs on unknown-block (1, 0)

2018-03-02 Thread Stefano Babic
Hi Zoran, On 26/02/2018 11:57, Zoran S wrote: > Hello Stefano, > >> If it canot be mounted, the cause is in the most of cases in a missing >> configuration in kernel, like initrd not supported, missing compression >> type, and so on. > > After some investigation, I found that you were correct,

[U-Boot] [PATCH v2 2/2] mmc: zynq_sdhci: use correct quirk if CONFIG_ZYNQ_HISPD_BROKEN is defined

2018-03-02 Thread Hannes Schmelzer
The 'SDHCI_QUIRK_NO_HISPD_BIT' is used wrong here. The purpose of this quirk is to tell the sdhci-driver that the IP-core doesn't have a "high- speed-enable" bit in its registers. With this commit we change this to the correct quirk: SDHCI_QUIRK_BROKEN_HISPD_MODE Signed-off-by: Hannes Schmelzer

[U-Boot] [PATCH v2 1/2] mmc: sdhci: add SDHCI_QUIRK_BROKEN_HISPD_MODE

2018-03-02 Thread Hannes Schmelzer
From: Hannes Schmelzer Some IP-core implementations of the SDHCI have different troubles on the silicon where they are placed. On ZYNQ platform for example Xilinx doesn't accept the hold timing of an eMMC chip which operates in High-Speed mode and must be forced to operate in

[U-Boot] Question related to flash organisation

2018-03-02 Thread Christophe LEROY
On my powerpc 8xx board, I have an AM29LV160DB boot flash which is organised as follows: - One 16kb block - Two 8kb block - One 32kb block - Thirty one 64kb blocks At the time being, u-boot is a single piece occupying the 320 first kbytes, then the environment is stored in the following 64kb

Re: [U-Boot] [PATCH] spi: Zap mpc8xx_spi driver

2018-03-02 Thread Christophe LEROY
Le 26/02/2018 à 15:43, Jagan Teki a écrit : - Driver not used by any boards This driver should be used by MCR3000 board. For the time being SPI is not activated on that board because we are struggling with u-boot size. I'm working on re-activating SPI soon on this board. I also have another

[U-Boot] [PATCH v2 10/10] powerpc: mpc8xx: refactorise reginfo

2018-03-02 Thread Christophe Leroy
reginfo is redundant with some of the commands in immap.c, so move reginfo into that file and remove duplicated info. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/Makefile | 1 - arch/powerpc/cpu/mpc8xx/immap.c | 20 +++

[U-Boot] [PATCH v2 04/10] soft_i2c: cleanup - no mpc8xx support

2018-03-02 Thread Christophe Leroy
commit 907208c452999 ("powerpc: Partialy restore core of mpc8xx") didn't bring back support for I2C on the mpc8xx Signed-off-by: Christophe Leroy --- drivers/i2c/soft_i2c.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/i2c/soft_i2c.c

[U-Boot] [PATCH v2 07/10] powerpc: mpc8xx: get rid of get_immr()

2018-03-02 Thread Christophe Leroy
Function get_immr() is almost not used and doesn't bring much added value. Just replace it with mfspr(SPRN_IMMR) at the two needed places. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu.c | 7 +++ arch/powerpc/cpu/mpc8xx/reginfo.c | 2 +-

[U-Boot] [PATCH v2 08/10] powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx

2018-03-02 Thread Christophe Leroy
CONFIG_8xx doesn't mean much outside of arch/powerpc/ This patch renames it CONFIG_MPC8xx just like CONFIG_MPC85xx etc ... It also renames 8xx_immap.h to immap_8xx.h to be consistent with other file names. Signed-off-by: Christophe Leroy --- api/api_platform-powerpc.c

[U-Boot] [PATCH v2 09/10] powerpc: 8xx: get rid of the multiple PVR_ values

2018-03-02 Thread Christophe Leroy
None of those values are used at the time being. Just keep one and call it PVR_8xx Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/processor.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/include/asm/processor.h

[U-Boot] [PATCH v2 05/10] boards: MCR3000: cleanup config

2018-03-02 Thread Christophe Leroy
Some config is redundant with Kconfig. Fix it. Also remove unused configs Move SDRAM_MAX_SIZE in the only place it is used Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 1 + board/cssi/MCR3000/MCR3000.c | 2 ++ configs/MCR3000_defconfig| 2 ++

[U-Boot] [PATCH v2 06/10] powerpc: mpc8xx: cleaning up watchdog

2018-03-02 Thread Christophe Leroy
In preparation of migration to DM watchdog, clean up a bit. The 8xx watchdog really is a HW watchdog, so declare it as is then it goes through Kconfig Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 1 + arch/powerpc/cpu/mpc8xx/cpu.c | 20

[U-Boot] [PATCH v2 03/10] board: MCR3000: Increase Monitor size

2018-03-02 Thread Christophe Leroy
U-boot doesn't fit anymore in a 256kb area, increase it to 320kb Signed-off-by: Christophe Leroy --- include/configs/MCR3000.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h index

[U-Boot] [PATCH v2 02/10] board: MCR3000: replace mtd->priv by mtd_to_nand()

2018-03-02 Thread Christophe Leroy
Since commit 17cb4b8f327eb ("mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data"), mtd_to_nand() has to be used instead of mtd->priv Signed-off-by: Christophe Leroy --- board/cssi/MCR3000/nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH v2 01/10] powerpc: mpc8xx: initialisation of global data

2018-03-02 Thread Christophe Leroy
Global data pointer has to be initialised Global data area has to be zeroised Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu_init.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/powerpc/cpu/mpc8xx/cpu_init.c

[U-Boot] [PATCH v2 00/10] Powerpc: mpc8xx: cleanup before migration to DM model

2018-03-02 Thread Christophe Leroy
The purpose of this serie is to clean the mpc8xx code a bit prior to moving to OF and DM model. Christophe Leroy (10): powerpc: mpc8xx: initialisation of global data board: MCR3000: replace mtd->priv by mtd_to_nand() board: MCR3000: Increase Monitor size soft_i2c: cleanup - no mpc8xx

Re: [U-Boot] [UBOOT PATCH v2 2/2] arm64: zynqmp: mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI1

2018-03-02 Thread Michal Simek
On 2.3.2018 10:01, Jaehoon Chung wrote: > On 03/02/2018 04:44 PM, Michal Simek wrote: >> On 2.3.2018 07:27, Jaehoon Chung wrote: >>> On 03/02/2018 12:13 AM, Michal Simek wrote: On 28.2.2018 08:42, Jaehoon Chung wrote: > Hi, > > On 02/28/2018 03:28 PM, Vipul Kumar wrote: >>

Re: [U-Boot] [PATCH] watchdog: omap_wdt: improve watchdog reset path

2018-03-02 Thread Lokesh Vutla
On Thursday 01 March 2018 06:45 AM, Ruslan Bilovol wrote: > Remove busy looping during watchdog reset. > Each polling of W_PEND_WTGR bit ("finish posted > write") after watchdog reset takes 120-140us > on BeagleBone Black board. Current U-Boot code > has watchdog resets in random places and

Re: [U-Boot] [UBOOT PATCH v2 2/2] arm64: zynqmp: mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI1

2018-03-02 Thread Jaehoon Chung
On 03/02/2018 04:44 PM, Michal Simek wrote: > On 2.3.2018 07:27, Jaehoon Chung wrote: >> On 03/02/2018 12:13 AM, Michal Simek wrote: >>> On 28.2.2018 08:42, Jaehoon Chung wrote: Hi, On 02/28/2018 03:28 PM, Vipul Kumar wrote: > This patch added Kconfig support for

[U-Boot] [PATCH] pinctrl: Kconfig: Fix typo

2018-03-02 Thread Marek Behún
Signed-off-by: Marek Behun --- drivers/pinctrl/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 0a4dd3c0cf..ad0b8daba6 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig

Re: [U-Boot] [PULL] u-boot-sh/master

2018-03-02 Thread Marek Vasut
On 03/02/2018 03:32 AM, Tom Rini wrote: > On Thu, Mar 01, 2018 at 06:34:29PM +0100, Marek Vasut wrote: > >> The following changes since commit 4bafceff0e9e5a36908031e41c69a6b37e82da58: >> >> Merge git://git.denx.de/u-boot-mmc (2018-02-25 22:28:59 -0500) >> >> are available in the Git repository

Re: [U-Boot] [PATCH 04/13] mmc: uniphier-sd: Add R8A77965 M3N entries

2018-03-02 Thread Jaehoon Chung
On 03/02/2018 06:14 AM, Marek Vasut wrote: > Add entries for the R8A77965 M3N SoC. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu > Cc: Jaehoon Chung > Cc: Masahiro Yamada

Re: [U-Boot] [PATCH] mmc: sdhci: consider SDHCI_QUIRK_NO_HISPD_BIT in host_caps

2018-03-02 Thread Hannes Schmelzer
> > Dear Hannes, Dear Jaehoon, > >> Instead, its bit is used to other purpose. > > > > Please explain me more about this other purpose, > > maybe i'm missunterstand here something. > > SD Host Controller has the HOST Controller register (Offset 0x28). > BIT[2] is "High speed enable". > -