Re: [U-Boot] [PATCH v2] gpio: xilinx: Not read output values via regs

2018-08-05 Thread Stefan Herbrechtsmeier
Am 02.08.2018 um 14:54 schrieb Michal Simek: Reading registers for finding out output value is not working because input value is read instead in case of tristate. Reported-by: Stefan Herbrechtsmeier Signed-off-by: Michal Simek --- Changes in v2: - Rebased on the top of reviewed patches - Cha

Re: [U-Boot] [PATCH] gpio: xilinx: Add support for using label property

2018-08-05 Thread Stefan Herbrechtsmeier
Am 02.08.2018 um 13:31 schrieb Michal Simek: Add support for reading label property from DT and set up bank name based on that. If label property is not present full device node name is used. Signed-off-by: Michal Simek --- drivers/gpio/xilinx_gpio.c | 14 -- drivers/gpio/zynq_g

[U-Boot] [PATCH] drivers: esdhc: add support for coldfire mcf5441x family

2018-08-05 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- drivers/mmc/fsl_esdhc.c | 21 - include/fsl_esdhc.h | 1 + 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 4528345c67..e376926c53 100644 --- a/drivers/mmc/fsl_esdh

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

2018-08-05 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Sat, 4 Aug 2018 23:16:06 +0200 > > 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

[U-Boot] [PATCH] m68k: fix multiple memory accesses on swap operations

2018-08-05 Thread Angelo Dureghello
On a u32 val = __sw32(*addr); multiple memory accesses are not welcome, since "addr" may be an IO peripheral register address. This patch changes __sw16/32 to perform a single memory access for the source value. Signed-off-by: Angelo Dureghello --- arch/m68k/include/asm/byteorder.h | 34

[U-Boot] [PATCH] m68k: ColdFire mcf5441x, add eSDHC support

2018-08-05 Thread Angelo Dureghello
This patch adds mcf5441x eSDHC support for the mcf5441x family. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/cpu_init.c | 10 ++ arch/m68k/cpu/mcf5445x/speed.c | 2 ++ arch/m68k/include/asm/global_data.h | 3 +++ 3 files changed, 15 insertions(+) diff --git a/arc

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

2018-08-05 Thread Tom Rini
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a: > > Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) > > are available in the Git repository a

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

2018-08-05 Thread Tom Rini
On Sat, Aug 04, 2018 at 09:43:24PM +0530, Jagan Teki wrote: > 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 r

[U-Boot] [PATCH 1/2] tpm: sandbox: fix wrong check on pcr_map

2018-08-05 Thread Miquel Raynal
The second check on pcr_map in sandbox_tpm2_xfer() is wrong. It should check for pcr_map not being empty. Instead, it is a pure copy/paste of the first check which is redundant. This has been found thanks to a Coverity Scan report: CID 183370: Memory - illegal accesses (UNINIT) Using un

[U-Boot] [PATCH 2/2] tpm: sandbox: fix wrong assignment with a simplification

2018-08-05 Thread Miquel Raynal
The recv variable in sandbox_tpm2_fill_buf() is a pointer on a pointer of a char array. It means accessing *recv is the char array pointer itself while **recv is the first character of that array. There is no need for such indirection here, so simplify the code. Simplifying things will make the la

[U-Boot] [PATCH 0/5] Get socfpga gen5 SPL working again.

2018-08-05 Thread Simon Goldschmidt
Socfpga gen5 SPL has been broken since moving to DM serial with v2018.07.. Also, U-Boot console output has been broken since then. This series fixes this and makes some related small improvements. Simon Goldschmidt (5): arm: socfpga: fix SPL on gen5 after moving to DM serial arm: socfpga: fix

[U-Boot] [PATCH 1/5] arm: socfpga: fix SPL on gen5 after moving to DM serial

2018-08-05 Thread Simon Goldschmidt
There were some NULL pointers dereferenced because DM was used too early without correct initialization. This fixes commit 73172753f4f3 ("ARM: socfpga: Convert to DM serial") Signed-off-by: Simon Goldschmidt --- arch/arm/mach-socfpga/spl_gen5.c | 10 +++--- 1 file changed, 7 insertions(+),

[U-Boot] [PATCH 2/5] arm: socfpga: fix device trees to work with DM serial

2018-08-05 Thread Simon Goldschmidt
Device trees need to have the serial console device available before relocation and require a stdout-path in chosen at least for SPL to have a console. Signed-off-by: Simon Goldschmidt --- arch/arm/dts/socfpga.dtsi | 1 + arch/arm/dts/socfpga_arria5_socdk.dts | 1 +

[U-Boot] [PATCH 3/5] arm: socfpga: cyclone5: handle debug uart

2018-08-05 Thread Simon Goldschmidt
If CONFIG_DEBUG_UART is enabled, correctly initialize the debug uart before console is initialized to debug early boot problems in SPL. This also changes a printf in reset_manager_gen5 to a debug to prevent calling into debug uart before it is initialized. Signed-off-by: Simon Goldschmidt ---

[U-Boot] [PATCH 5/5] malloc_simple: calloc: don't call memset if malloc failed

2018-08-05 Thread Simon Goldschmidt
malloc_simple() can return 0 if out of memory. Don't call memset from calloc() in this case but rely on the caller checking the return value. Signed-off-by: Simon Goldschmidt --- common/malloc_simple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/malloc_simple.c

[U-Boot] [PATCH 4/5] board_init.c: fix simple malloc by storing malloc_limit

2018-08-05 Thread Simon Goldschmidt
board_init_f_init_reserve() sets gd->malloc_base but does not set gd->malloc_limit. This results in malloc_simple() failing, so let's set this here. Signed-off-by: Simon Goldschmidt --- common/init/board_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/init/board_init.c b/commo

[U-Boot] [PATCH V3 00/32] i.MX: Add i.MX8QXP support

2018-08-05 Thread Peng Fan
This patchset is to upstream i.MX8QXP and mek board support, with some drivers update to support i.MX8QXP. The information about the processor could be found https://www.nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-processors/i.mx-8-processors/i.mx-8x-f

[U-Boot] [PATCH V3 01/32] dt-bindings: pinctrl: add i.MX8QXP pads definition

2018-08-05 Thread Peng Fan
Add i.MX8QXP pads definition Signed-off-by: Peng Fan Cc: Stefano Babic --- include/dt-bindings/pinctrl/pads-imx8qxp.h | 757 + 1 file changed, 757 insertions(+) create mode 100644 include/dt-bindings/pinctrl/pads-imx8qxp.h diff --git a/include/dt-bindings/pinctrl/p

[U-Boot] [PATCH V3 02/32] dt-bindings: clock: dt-bindings: pinctrl: add i.MX8QXP clocks definition

2018-08-05 Thread Peng Fan
Add i.MX8QXP clocks definition Signed-off-by: Peng Fan --- include/dt-bindings/clock/imx8qxp-clock.h | 583 ++ 1 file changed, 583 insertions(+) create mode 100644 include/dt-bindings/clock/imx8qxp-clock.h diff --git a/include/dt-bindings/clock/imx8qxp-clock.h b/in

[U-Boot] [PATCH V3 03/32] dt-bindings: soc: add i.MX8QXP pm and rsrc definition

2018-08-05 Thread Peng Fan
Add i.MX8QXP power and resource definition Signed-off-by: Peng Fan Cc: Stefano Babic --- include/dt-bindings/soc/imx8_pd.h | 188 + include/dt-bindings/soc/imx_rsrc.h | 557 + 2 files changed, 745 insertions(+) create mode 100644 include/dt-bind

[U-Boot] [PATCH V3 04/32] imx8: add scfw macro definition

2018-08-05 Thread Peng Fan
Add SCFW macro definition. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8/sci/rpc.h | 158 arch/arm/include/asm/arch-imx8/sci/sci.h | 57 ++ arch/arm/include/asm/arch-imx8/sci/svc/misc/api.h | 30 +++ arch/arm/include/asm/arch-imx8/sci/svc/pad

[U-Boot] [PATCH V3 05/32] imx: add Kconfig entry for i.MX8QXP

2018-08-05 Thread Peng Fan
Add Kconfig entry for i.MX8QXP Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/Kconfig | 8 arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/imx8/Kconfig | 13 + 3 files changed, 22 insertions(+) create mode 100644 arch/arm/mach-imx/imx8/Kconf

[U-Boot] [PATCH V3 07/32] misc: add i.MX8 misc driver

2018-08-05 Thread Peng Fan
Add i.MX8 MISC driver to handle the communication between A35 Core and SCU. Signed-off-by: Peng Fan --- drivers/misc/Makefile | 1 + drivers/misc/imx8/Makefile | 3 + drivers/misc/imx8/scu.c| 247 + 3 files changed, 251 insertions(+) crea

[U-Boot] [PATCH V3 09/32] arm: global_data: add scu_dev for i.MX8

2018-08-05 Thread Peng Fan
Add scu_dev for i.MX8, this will be used as a handle to communite with SCU from A35. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/global_data.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h

[U-Boot] [PATCH V3 08/32] misc: imx8: add scfw api impementation

2018-08-05 Thread Peng Fan
Add clk/misc/pad/pm/rm scfw api implementaion for different drivers to invoke. The low level code is using misc_call to invoke imx8_scu driver. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/arch-imx8/sci/sci.h | 31 +- drivers/misc/imx8/Makefile | 2 +

[U-Boot] [PATCH V3 06/32] arm: build mach-imx for i.MX8

2018-08-05 Thread Peng Fan
Build mach-imx for i.MX8 Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index cac58bdc4d..40c8f6fe13 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -104,7 +104,7

[U-Boot] [PATCH V3 20/32] imx8: add iomux configuration api

2018-08-05 Thread Peng Fan
Add iomux configuration api. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8/iomux.h | 40 +++ arch/arm/mach-imx/imx8/Makefile| 2 +- arch/arm/mach-imx/imx8/iomux.c | 43 ++ 3 files changed, 84 insertions(+),

[U-Boot] [PATCH V3 12/32] imx8: pins: include i.MX8QXP pin header when CONFIG_IMX8QXP defined

2018-08-05 Thread Peng Fan
Include i.MX8QXP pin header when CONFIG_IMX8QXP defined, if no SoC macro defined, report error. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/arch-imx8/imx8-pins.h | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 arch/arm/include/asm/arch-imx8/imx8

[U-Boot] [PATCH V3 18/32] imx8: add mmu and dram related functiions

2018-08-05 Thread Peng Fan
Add mmu memmap, some memory regions are reserved by M4, Arm Trusted Firmware, so need to get memreg using SCFW API and setup the memmap. Add dram_init, dram_init_banksize, get_effective_memsize functions, according to the memreg. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/mach-imx/

[U-Boot] [PATCH V3 13/32] imx: add i.MX8 cpu type

2018-08-05 Thread Peng Fan
Add i.MX8 cpu type and is_imx8/is_imx8qxp help macros. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/arch-imx/cpu.h | 5 + arch/arm/include/asm/mach-imx/sys_proto.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/include/asm/arch-imx/cpu.h b/arch

[U-Boot] [PATCH V3 15/32] imx8: add basic cpu support

2018-08-05 Thread Peng Fan
Add basic cpu support, including cpu revision, cpu type, cpu core detection. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/mach-imx/imx8/Makefile | 7 arch/arm/mach-imx/imx8/cpu.c| 93 + 2 files changed, 100 insertions(+) create mode 1

[U-Boot] [PATCH V3 11/32] imx8: add imx-regs header file

2018-08-05 Thread Peng Fan
Add imx-regs header file to include the register base definition Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/arch-imx8/imx-regs.h | 46 +++ 1 file changed, 46 insertions(+) create mode 100644 arch/arm/include/asm/arch-imx8/imx-regs.h diff --g

[U-Boot] [PATCH V3 23/32] pinctrl: Add pinctrl driver for i.MX8

2018-08-05 Thread Peng Fan
Add pinctrl driver for i.MX8. The pads configuration is controlled by SCU, so need to ask SCU to configure pads through scfw API. Add pinctrl-scu to invoke sc_pad_set to configue pads. Add a new flag IMX8_USE_SCU to differentiate i.MX8 from other platforms which could directly configure pads from A

[U-Boot] [PATCH V3 14/32] armv8: add cpu core helper functions

2018-08-05 Thread Peng Fan
Add helper functions to identify different armv8 variants. Signed-off-by: Peng Fan --- arch/arm/include/asm/armv8/cpu.h | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 arch/arm/include/asm/armv8/cpu.h diff --git a/arch/arm/include/asm/armv8/cpu.h b/arch/arm

[U-Boot] [PATCH V3 10/32] imx: boot_mode: Add FLEXSPI boot entry

2018-08-05 Thread Peng Fan
i.MX8 support FLEXSPI boot support. So add FLEXSPI boot entry. Signed-off-by: Peng Fan --- arch/arm/include/asm/mach-imx/boot_mode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/mach-imx/boot_mode.h b/arch/arm/include/asm/mach-imx/boot_mode.h index 8766e9d180..3a483b

[U-Boot] [PATCH V3 16/32] imx8: add boot device detection

2018-08-05 Thread Peng Fan
Add get_boot_device to detect boot device. Add print_bootinfo to print the boot device info. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/arch-imx8/sys_proto.h | 10 arch/arm/mach-imx/imx8/cpu.c | 85 ++ 2 files changed, 95 in

[U-Boot] [PATCH V3 22/32] gpio: mxc_gpio: add support for i.MX8

2018-08-05 Thread Peng Fan
Add i.MX8 support, there are 8 GPIO banks. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/arch-imx8/gpio.h | 21 + drivers/gpio/mxc_gpio.c | 30 +- 2 files changed, 42 insertions(+), 9 deletions(-) create mode 10

[U-Boot] [PATCH V3 19/32] imx8: add arch_cpu_init arch_cpu_init_dm

2018-08-05 Thread Peng Fan
Add arch_cpu_init(_dm) mainly to open the channel between ACore and SCU. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/arch-imx8/sys_proto.h | 9 ++ arch/arm/mach-imx/imx8/cpu.c | 51 ++ 2 files changed, 60 insertions(+) diff

[U-Boot] [PATCH V3 26/32] serial_lpuart: Update lpuart driver to support i.MX8

2018-08-05 Thread Peng Fan
Add i.MX8 compatible string and cpu type support to lpuart driver, to use little endian 32 bits configurations. Also, accroding to RM, the Receive FIFO Enable (RXFE) field in LPUART FIFO register is bit 3, so the definition should change to 0x08 not 0x40 for i.MX8, otherwise the Receive FIFO is no

[U-Boot] [PATCH V3 30/32] mmc: fsl_esdhc: add uclass clk support

2018-08-05 Thread Peng Fan
When CONIFG_CLK is enabled, use uclass clk api to handle the clock. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: Stefano Babic --- drivers/mmc/fsl_esdhc.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdh

[U-Boot] [PATCH V3 17/32] imx8: implement mmc_get_env_dev

2018-08-05 Thread Peng Fan
Implement mmc_get_env_dev for i.MX8. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/mach-imx/imx8/cpu.c | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c index 90b6ea4211..0cacaa895c 100644 -

[U-Boot] [PATCH V3 24/32] power: Add power domain driver for i.MX8

2018-08-05 Thread Peng Fan
Add the power domain DM driver for i.MX8, that it depends on the DTB power domain trees to generate the power domain provider devices. Users needs add power domain trees with property "compatible = "nxp,imx8-pd";" When power on one PD device, the driver will power on its ancestor PD devices in pow

[U-Boot] [PATCH V3 25/32] clk: imx: add clk driver for i.MX8QXP

2018-08-05 Thread Peng Fan
Add clk driver for i.MX8QXP, support clk enable/disable/get_rate/set_rate operations. Signed-off-by: Peng Fan Cc: Stefano Babic --- drivers/clk/Kconfig| 1 + drivers/clk/Makefile | 1 + drivers/clk/imx/Kconfig| 6 ++ drivers/clk/imx/Makefile | 5 ++ drivers/clk/imx/c

[U-Boot] [PATCH V3 32/32] imx: add i.MX8QXP MEK board support

2018-08-05 Thread Peng Fan
Add i.MX8QXP MEK board support Enabled pinctrl/clk/power domain/mmc/i2c driver. Added README file. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Anatolij Gustschin --- arch/arm/dts/Makefile | 2 + arch/arm/dts/fsl-imx8qxp-mek.dts | 136

[U-Boot] [PATCH V3 21/32] imx8: add dummy clock

2018-08-05 Thread Peng Fan
This driver is mostly used to avoid build error. We use uclass clk driver to clk related operations. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8/clock.h | 27 +++ arch/arm/mach-imx/imx8/clock.c | 21 + 2 files changed, 48 inserti

[U-Boot] [PATCH V3 29/32] fsl_esdhc: Update usdhc driver to support i.MX8

2018-08-05 Thread Peng Fan
From: Ye Li Add CONFIG_ARCH_IMX8 to use the 64bits support in usdhc driver. Signed-off-by: Ye Li Signed-off-by: Peng Fan Cc: Jaehoon Chung --- drivers/mmc/fsl_esdhc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c

Re: [U-Boot] [PATCH 3/9] common: include always

2018-08-05 Thread Masahiro Yamada
2018-08-04 0:01 GMT+09:00 Tom Rini : > On Thu, Aug 02, 2018 at 10:56:11AM -0600, Simon Glass wrote: >> +Tom >> >> Hi Masahiro, >> >> On 30 July 2018 at 19:41, Masahiro Yamada >> wrote: >> > 2018-07-26 22:59 GMT+09:00 Philipp Tomsich >> > : >> >> With the ram-size variable changed to u64, we'll ne

[U-Boot] [PATCH V3 31/32] arm: dts: introduce dtsi for i.MX8QXP

2018-08-05 Thread Peng Fan
Introduce dtsi for i.MX8QXP, since there is other variants i.MX8DX(P), so add them there, because i.MX8QXP includes the dtsi of them. Signed-off-by: Peng Fan --- arch/arm/dts/fsl-imx8-ca35.dtsi | 66 ++ arch/arm/dts/fsl-imx8dx.dtsi| 444 arch/arm

[U-Boot] [PATCH V3 28/32] serial: lpuart: support uclass clk api

2018-08-05 Thread Peng Fan
Modify most APIs to use udevice as the first param, then it will be easy to get the clk reference by using udevice pointer. Use uclass api to get lpuart clk when CONFIG_CLK enabled. Signed-off-by: Peng Fan --- drivers/serial/serial_lpuart.c | 78 -- 1 file

[U-Boot] [PATCH V3 27/32] serial: lpuart: Enable RX and TX FIFO

2018-08-05 Thread Peng Fan
From: Ye Li Enable the RX and TX FIFO in LPUART driver to avoid the input lost during u-boot boot up. Signed-off-by: Ye Li Acked-by: Peng Fan --- drivers/serial/serial_lpuart.c | 33 ++--- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/drivers/seria

Re: [U-Boot] [PATCH V2] drivers: regulator: fixed: add u-boot, off-on-delay-us

2018-08-05 Thread Peng Fan
Hi, Would anyone pick up this patch? Thanks, Peng. > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: 2018年7月27日 1:06 > To: Peng Fan > Cc: s...@chromium.org; yamada.masah...@socionext.com; > u-boot@lists.denx.de > Subject: Re: [PATCH V2] drivers: regulator: fixed:

Re: [U-Boot] [PATCH V2 1/4] power-domain: add dummy functions when CONFIG_POWER_DOMAIN not defined

2018-08-05 Thread Peng Fan
Hi Simon, Jaehoon Would you pick up this patchset? https://patchwork.ozlabs.org/patch/949962/ https://patchwork.ozlabs.org/patch/949963/ https://patchwork.ozlabs.org/patch/949964/ https://patchwork.ozlabs.org/patch/949965/ Thanks, Peng. > -Original Message- > From: s...@google.com [mail

[U-Boot] Unable to boot evb-ast2500

2018-08-05 Thread Joel Stanley
Hello, I am attempting to boot evb-ast2500 in Qemu before flashing it to a system. It doesn't get past the DRAM step, due to getting stuck endlessly looping in some libfdt code. With some debugging turned on, I get this: OF: translating address: 0040781e OF: parent translation for: OF:

[U-Boot] [PATCH] ARM: omap3: evm: Enable CONFIG_BLK and misc. cleanup

2018-08-05 Thread Derald D. Woods
This commit enables CONFIG_BLK and removes USB_STORAGE which is awaiting proper implementation for current U-Boot interfaces. Additionally the console selection is now handled by Kconfig and no longer needs to be in the config header. CONFIG_SYS_MALLOC_F_LEN=0x2000 was added to sync with other boar

Re: [U-Boot] Two CRC32 implementation in U-Boot, why?

2018-08-05 Thread Bin Meng
On Wed, Aug 1, 2018 at 9:50 PM, Heinrich Schuchardt wrote: > > > On 08/01/2018 02:13 PM, Bin Meng wrote: >> Hi, >> >> Currently it seems that we have two CRC32 implementation in U-Boot. >> Two headers files are provided. >> >> 1. include/linux/crc32.h >> The implementation is drivers/mtd/ubi/crc32

Re: [U-Boot] boot partition access at HS200 speed in eMMC

2018-08-05 Thread Faiz Abbas
Hi, +JJ, Jaehoon Chung I had CCd them in my original mail but they seem to have been dropped in the U-boot list. On Thursday 02 August 2018 03:14 PM, Faiz Abbas wrote: > Hi Everyone, > > After the following patch from JJ, U-boot shifts to a lower speed mode > from HS200 when accessing a boot pa

[U-Boot] [PATCH] gpio: xilinx: Return 0 from xilinx_gpio_set_value

2018-08-05 Thread Michal Simek
.set_value functions have no specified return value and gpio_uclass is not working with it too. But this patch is returning 0 to be in sync with others DM gpio drivers. Reported-by: Stefan Herbrechtsmeier Signed-off-by: Michal Simek --- drivers/gpio/xilinx_gpio.c | 2 +- 1 file changed, 1 inse

[U-Boot] [PATCH v2] gpio: xilinx: Add support for using label property

2018-08-05 Thread Michal Simek
Add support for reading label property from DT and set up bank name based on that. If label property is not present full device node name is used. Signed-off-by: Michal Simek --- Changes in v2: - Use strdup drivers/gpio/xilinx_gpio.c | 10 +- drivers/gpio/zynq_gpio.c | 10 +-

Re: [U-Boot] [PATCH] gpio: xilinx: Add support for using label property

2018-08-05 Thread Michal Simek
On 5.8.2018 09:56, Stefan Herbrechtsmeier wrote: > Am 02.08.2018 um 13:31 schrieb Michal Simek: >> Add support for reading label property from DT and set up bank name >> based on that. If label property is not present full device node name is >> used. >> >> Signed-off-by: Michal Simek >> --- >> >>