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
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
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
> 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
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
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
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
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
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
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
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
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(+),
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 +
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
---
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
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
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
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
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
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
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
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
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
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
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 +
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
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(+),
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
-
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
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
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
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
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
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
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
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
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
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:
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
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:
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
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
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
.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
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 +-
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
>> ---
>>
>>
59 matches
Mail list logo