On Wed, 13 Jun 2018 08:42:30 +0200
Sascha Hauer wrote:
> On Tue, Jun 12, 2018 at 03:46:06PM +0200, David Jander wrote:
> > On Tue, 12 Jun 2018 14:47:38 +0200
> > Sascha Hauer wrote:
> >
> > > Hi David,
> > >
> > > On Tue, Jun 12, 2018 at 02:23:08PM +0200, David Jander wrote:
> > > >
> > >
On Tue, Jun 12, 2018 at 03:46:06PM +0200, David Jander wrote:
> On Tue, 12 Jun 2018 14:47:38 +0200
> Sascha Hauer wrote:
>
> > Hi David,
> >
> > On Tue, Jun 12, 2018 at 02:23:08PM +0200, David Jander wrote:
> > >
> > > Hi Sascha,
> > >
> > > I know this is old already, and I was surprised that
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
index d889e9afb..2359c56b3 100644
--- a/arch/arm/cpu/Kconfig
+++ b/arch/arm/cpu/Kconfig
@@ -12,6 +12,7 @@ config CPU_32
config CPU_64
boo
From: Sascha Hauer
Signed-off-by: Sascha Hauer
[andrew.smir...@gmail.com: Add dummy.o in case directory is empty]
Signed-off-by: Andrey Smirnov
---
Makefile | 2 +-
arch/arm/Kconfig | 1 +
firmware/Kconfig | 7 ++
firmware/Makefile | 55 +++
Signed-off-by: Andrey Smirnov
---
lib/clock.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/clock.c b/lib/clock.c
index b7cc49fa6..37e45489c 100644
--- a/lib/clock.c
+++ b/lib/clock.c
@@ -50,9 +50,11 @@ EXPORT_SYMBOL(udelay);
void mdelay(unsigned long msecs)
Add DDRC PHY support code needed to upload DDR training firwmare as
well as to wait for the training process to complete.
Those are needed to support board specific DDR initialization code.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/Makefile | 1 +
arch/arm/mach-imx/i
Optimized version of memset() in memset.S if called as:
memset(foo, 0, size)
will try to explicitly zero out data cache with:
dc zva, dst
which will result in Alignement Exception (DABT) if MMU is not
enabled.
For more info see:
- C4.4.8 "DC ZVA, Data Cache Zero by VA"
- D5.2
Disable building for ARMv8 since no-mmu.c only supports ARMv7
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
index 0316d251c..5b4b832e8 100644
--- a/arch/arm/cpu/Makefile
++
Oftentimes knowing the class of exception is not enough and full ESR
value is needed to decode the specifics. Add code to print ESR as a
part of excpetion traceback to provide that information.
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/interrupts_64.c | 3 ++-
1 file changed, 2 insertions(+
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/mmu_64.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/arch/arm/cpu/mmu_64.c b/arch/arm/cpu/mmu_64.c
index d5a3d2223..80cf240d3 100644
--- a/arch/arm/cpu/mmu_64.c
+++ b/arch/arm/cpu/mmu_64.c
@@ -126,6 +126,7 @@ static v
Flags passed to arch_remap_range() are architecture independent, so it
can't be passed as is to map_region(). Add code to do the proper
conversion to avoid subtle bugs that this confusion brings.
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/mmu_64.c | 11 +++
1 file changed, 11 inserti
From: Sascha Hauer
Signed-off-by: Sascha Hauer
Signed-off-by: Andrey Smirnov
---
Documentation/boards/imx.rst | 13 +-
Documentation/boards/imx/nxp-imx8mq-evk.rst | 116 ++
arch/arm/boards/Makefile |1 +
arch/arm/boards/nxp-imx8mq-evk/.gitignore
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
drivers/gpio/gpio-imx.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpio/gpio-imx.c b/drivers/gpio/gpio-imx.c
index d8bcea223..d618e6011 100644
--- a/drivers/gpio/gpio-imx.c
+++ b/drivers/gpio/gpio-imx.c
@@ -190,6 +190,9 @@ s
Add code to support specifying different buffer address and SD/MMC
device offset to read it from in esdhc_start_image(). This change is
needed to support i.MX8.
NOTE: We intentionnaly "emulate" reading at arbitrary offset in
esdhc_start_image() as opposed to implementing it in
esdhc_read_blocks()
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/include/mach/imx8-ccm-regs.h | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 arch/arm/mach-imx/include/mach/imx8-ccm-regs.h
diff --git a/arch/arm/mach-imx/include/mach/imx8-ccm-regs.h
b/arch/arm/mach-imx/include/mach
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
drivers/serial/serial_imx.c | 5 -
include/serial/imx-uart.h | 5 +
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/serial/serial_imx.c b/drivers/serial/serial_imx.c
index c8af995aa..09341af87 100644
--- a/driver
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/cpu_init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/cpu_init.c b/arch/arm/mach-imx/cpu_init.c
index 6a6c4c521..5b93d12da 100644
--- a/arch/arm/mach-imx/cpu_init.c
+++ b/arch/arm/mach-imx/cpu_init
From: Sascha Hauer
the ESDHC controller is a 32bit device, so can do DMA only on the
lower 32bit. Fix the compiler warning about casting a pointer to integer
of different size on aarch64 by casting to unsigned long first. Error
out if the destination does not fit into 32bit though.
Signed-off-by
From: Sascha Hauer
Signed-off-by: Sascha Hauer
[andrew.smir...@gmail.com: Added imx8_uart_setup_ll()]
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/include/mach/debug_ll.h | 11 +++
common/Kconfig| 8
2 files changed, 19 insertions(+)
diff -
Signed-off-by: Andrey Smirnov
---
Documentation/boards/imx.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/boards/imx.rst b/Documentation/boards/imx.rst
index 8de2bd5c5..b3002badf 100644
--- a/Documentation/boards/imx.rst
+++ b/Documentation/boards/imx.rst
@@
Add an intermediary casting step in order to avoid casting 32-bit
integer to 64-bit pointer on 64-bit platforms.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/boot.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c
in
There are no users of that function outside of the driver itself, so
re-declare it as static.
Signed-off-by: Andrey Smirnov
---
drivers/clocksource/armv8-timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/armv8-timer.c
b/drivers/clocksource/armv8-tim
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/include/mach/imx8mq-regs.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/include/mach/imx8mq-regs.h
b/arch/arm/mach-imx/include/mach/imx8mq-regs.h
index 6dac00107..51936f526 100644
--- a/arch/arm/mach-
Add stubs for dma_map_single() and dma_unmap_single() that were needed
for no-MMU build for ARM64 to succeed.
Signed-off-by: Andrey Smirnov
---
arch/arm/include/asm/dma.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/include/asm/dma.h b/arch/arm/include/asm/dma.h
inde
Use a loop to create multiple header copies on i.MX35 to avoid code
duplication.
Signed-off-by: Andrey Smirnov
---
scripts/imx/imx-image.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/scripts/imx/imx-image.c b/scripts/imx/imx-image.c
index 294f51a90..bc1f821bd 100
Move delay and timeout functions to lib/ in order to share them with
PBL. Currently only the most trivial implementation of get_time_ns()
usefull to implement never-expiring timeouts is provided. More work is
needed to allow board specific overrides.
Signed-off-by: Andrey Smirnov
---
common/cloc
From: Sascha Hauer
Signed-off-by: Sascha Hauer
Signed-off-by: Andrey Smirnov
---
scripts/imx/imx-image.c | 54 +
scripts/imx/imx.c | 23 --
scripts/imx/imx.h | 2 ++
3 files changed, 66 insertions(+), 13 deletions(-)
diff --
Write_dcd() exits early in case of failure, so there's no realy reason
to have it return a error code as a result. Drop it and simplify the
caller code.
Signed-off-by: Andrey Smirnov
---
scripts/imx/imx-image.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/script
Similar to imx_v7_defconfig, add imx_v8_defconfig as a default
configuration encompassing all ARMv8 based i.MX SoCs.
Signed-off-by: Andrey Smirnov
---
arch/arm/configs/imx_v8_defconfig | 107 ++
1 file changed, 107 insertions(+)
create mode 100644 arch/arm/configs/im
Given the following:
1. Assembly code, namely "b 0x1000" instruction, in bb_header[]
assumes that i.MX image header occupies first HEADER_LEN bytes and
bootloader executable is located right after.
2. Code in imx_image_size() assumes that i.MX image header is
HEADER_LEN bytes
3. O
Signed-off-by: Andrey Smirnov
---
scripts/imx/imx-image.c | 42 -
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a/scripts/imx/imx-image.c b/scripts/imx/imx-image.c
index bc1f821bd..4a08581fb 100644
--- a/scripts/imx/imx-image.c
+++ b/scripts
From: Sascha Hauer
Signed-off-by: Sascha Hauer
[andrew.smir...@gmail.com: fix B0 chips to report IMX_CHIP_REV_2_0]
Signed-off-by: Andrey Smirnov
---
arch/arm/dts/imx8mq-pinfunc.h | 623 +
arch/arm/dts/imx8mq.dtsi | 624 +
arc
Ported from U-Boot
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/include/mach/iomux-mx8.h | 645 +
1 file changed, 645 insertions(+)
create mode 100644 arch/arm/mach-imx/include/mach/iomux-mx8.h
diff --git a/arch/arm/mach-imx/include/mach/iomux-mx8.h
b/arch/arm/mach-
Remove what appears to be a leftover from moving ARMv8 cache function
into a separate file that happened in 4b57aae26 ("ARM: Create own
cache.c file for aarch64")
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/cache.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/cpu/cache.c b/arch
From: Sascha Hauer
This is based on Lucas' patch sent as "[PATCH v2 4/4] clk: imx: add
clock driver for i.MX8MQ CCM" to the mailing list.
It will likely need some rework before it is finally merged, so apply
the reworks here before merging into barebox.
Signed-off-by: Sascha Hauer
[andrew.smir
Make use of create_table() instead of calling xmemalign() and memset()
explicitly.
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/mmu_64.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/cpu/mmu_64.c b/arch/arm/cpu/mmu_64.c
index 80cf240d3..820d8cf75 100644
--- a
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
scripts/Kbuild.include | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index f3771902b..512d21732 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -3,6 +3,7 @@
# Convenie
Signed-off-by: Andrey Smirnov
---
drivers/clocksource/armv8-timer.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/clocksource/armv8-timer.c
b/drivers/clocksource/armv8-timer.c
index 5e0b9ef3c..918232e0e 100644
--- a/drivers/clocksource/armv8-timer.c
+++ b/drive
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/mmu_64.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/mmu_64.h b/arch/arm/cpu/mmu_64.h
index c280d2ced..2cbe72062 100644
--- a/arch/arm/cpu/mmu_64.h
+++ b/arch/arm/cpu/mmu_64.h
@@ -28,7 +28,7 @@ static inline v
Signed-off-by: Andrey Smirnov
---
include/linux/iopoll.h | 69 ++
1 file changed, 69 insertions(+)
create mode 100644 include/linux/iopoll.h
diff --git a/include/linux/iopoll.h b/include/linux/iopoll.h
new file mode 100644
index 0..6e8a6fd71
--- /
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/include/mach/iomux-v3.h | 9
drivers/pinctrl/imx-iomux-v3.c| 56 ---
2 files changed, 59 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/iomux-v3.h
b/arch/arm/mach-imx/include/mac
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/include/mach/xload.h | 1 +
arch/arm/mach-imx/xload-esdhc.c| 33 ++
2 files changed, 34 insertions(+)
diff --git a/arch/arm/mach-imx/include/mach/xload.h
b/arch/arm/mach-imx/include/mach/xload.h
index 4e38ac7e2
Move inline assembly related to querying counter value as well as
getting and setting counter frequency register into asm/system.h as
well as converting it inot helper functions. This is done to make the
code availible to other parts of the system.
Signed-off-by: Andrey Smirnov
---
arch/arm/incl
It appears that boot sources for i.MX8 are just a subset of those of
i.MX7 and both can be handled by the same code.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/boot.c | 5 +
arch/arm/mach-imx/include/mach/generic.h | 2 ++
2 files changed, 7 insertions(+)
diff --git
Convert imx6_esdhc_start_image() into a generic esdhc_start_image() by
making accept already filled "struct esdhc" as well as use
esdhc_read_blocks().
With that change, create new imx6_esdhc_start_image() whose sole task
is to properly fill a struct esdhc with appropriate offset and to pass
it on
Both i.MX8 and i.MX7 have similar CCMs, so move any code that can be
shared into a separate file.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/include/mach/ccm.h | 20 +++
.../arm/mach-imx/include/mach/imx7-ccm-regs.h | 16 +--
2 files changed, 21 inse
From: Sascha Hauer
Signed-off-by: Sascha Hauer
[andrew.smir...@gmail.com: Rebased to account for move to nvmem]
Signed-off-by: Andrey Smirnov
---
drivers/nvmem/Kconfig | 2 +-
drivers/nvmem/ocotp.c | 11 +++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/nvmem/
Add constants and helpers for system counter interface as can be found
in section "I1.3 Generic Timer registers" of "ARM Architecture
Reference Manual ARMv8, for ARMv8-A architecture"
Signed-off-by: Andrey Smirnov
---
arch/arm/include/asm/syscounter.h | 24
1 file change
Real image starts at offset 0x400 (1024), so we can skip copying extra
512 bytes of zeros.
Signed-off-by: Andrey Smirnov
---
Documentation/boards/imx.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/boards/imx.rst b/Documentation/boards/imx.rst
index 343643cd
Add code to properly initialize system counter, so it would be posible
to get accurate time delays.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/imx8mq.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/mach-imx/imx8mq.c b/arch/arm/mach-imx/imx8mq.c
index
From: Sascha Hauer
Rather than relying on the fact that addresses can be just casted
into DMA addresses use proper DMA mapping functions.
This fixes compiler warnings when we do DMA on this 32bit only device
on aarch64 SoCs.
Signed-off-by: Sascha Hauer
---
drivers/mci/imx-esdhc.c | 53 +++
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
drivers/mci/imx-esdhc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index 8929901d4..c4daa9d12 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -728,6 +728,7 @@ stat
From: Sascha Hauer
Allow to use dt-bindings files that are not yet upstreamed. They can
be put into include/dt-bindings.
Signed-off-by: Sascha Hauer
---
arch/mips/dts/include/dt-bindings | 1 -
scripts/Makefile.lib | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
delete mode
From: Sascha Hauer
The fec receive buffers are coherently mapped, no need to dma_sync on
them.
Signed-off-by: Sascha Hauer
---
drivers/net/fec_imx.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index d506fd64f..33599dd82 100644
--- a/driv
From: Sascha Hauer
Rather than doing DMA on the input buffer address get a proper DMA
address from the mapping functions.
Signed-off-by: Sascha Hauer
---
drivers/net/fec_imx.c | 15 +--
drivers/net/fec_imx.h | 1 +
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/dr
Everyone:
Picking up where Sascha left off, this is the next version of the
patchset that adds support for i.MX8MQ EVK board.
This patchest is also availible at:
https://github.com/ndreys/barebox/tree/imx8m-support-v5
Changes since [v4]:
- Fix a critical OCOTP bug (missing .format_mac in "
Signed-off-by: Andrey Smirnov
---
drivers/net/fec_imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 0ca594082..98711baa7 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -467,7 +467,7 @@ static int fec_se
Read leveling delays are being specified as zero, so they are as good
as disabled and can be safely dropped.
Gate training delay is specified as 4/128 tCK for both data
slices. This setting, when applied to Data Byte 1, makes that slice
unusable* during POR startup which is somehow is mitigated by
CR151 contains parameters specific to HW gate training and read
leveling which are not an officially supported featre of the HW.
Signed-off-by: Andrey Smirnov
---
.../include/mach/flash-header/vf610-ddr-cr-default.imxcfg| 1 -
1 file changed, 1 deletion(-)
diff --git
a/arch/arm/mach-im
There's no point enabling write leveling DQS adjustement, while
setting offsets for both slices to zero. This code is effectively a
no-op, so drop it.
Signed-off-by: Andrey Smirnov
---
.../include/mach/flash-header/vf610-ddr-cr-default.imxcfg | 3 ---
1 file changed, 3 deletions(-)
diff --
A number of VFxxx boards copy DDR layout/design of vf610-twr board and
they all share DDR settings. Move those settings to a common file to
avoid code duplication.
Signed-off-by: Andrey Smirnov
---
.../flash-header-vf610-twr.imxcfg | 83 +-
.../flash-header-zii-vf610-dev
The only differential signals coming out of DDRMC to the memory chip
are CLK, DQS0 and DQS1. There rest of the pins are not, so there
should be no reason to configure them as such.
Signed-off-by: Andrey Smirnov
---
.../vf610-iomux-ddr-default.imxcfg| 38 +--
1 file ch
All of those registers contain paramters applicable only to write
leveling, gate training and read leveling procedures. They should have
no effect on normal mode of operations, so remove them from the common
settings file.
Signed-off-by: Andrey Smirnov
---
.../include/mach/flash-header/vf610-ddr
Both zii-vf610-dev and vf610-twr boards have same DDR layout. Since
provenance of those custom settings is unclear, drop them in favor of
what vf610-twr board does.
Signed-off-by: Andrey Smirnov
---
.../zii-vf610-dev/flash-header-zii-vf610-dev.imxcfg | 8
1 file changed, 8 deletio
Some of the settings for VFxxx boards appear to be in violation of the
parameters specified by DDR chip's datasheet, so fix the code to
reconcile the differences. The changes are:
In vf610-ddr-cr-default.imxcfg:
- CR31: t_XSDLL is 468, should be 512
- CR161 t_ODTH8 (R & W) is 2, should be 6
Although upstream U-Boot does not initialize this register in
vf610-twr code (it does so in code for Phytec's PCM052) multiple
revisions of VFxxx Controller Reference Manual state:
5.2.6.1 DUMMY PADS (DDR/QuadSPI)
There are two dummy pads that are useful for timing calibration of
DDR.
VFxxx support code in Barebox is written assuming a particular clock
setup in mind and all of the supported boards use it. Move the DCD
code responsible for that setup to a shared file to avoid code
duplication.
Signed-off-by: Andrey Smirnov
---
.../flash-header-vf610-twr.imxcfg | 49
U-Boot was originally used as a source of DCD for VFxxx, so update our
settings against latest upstream (sha1:
b8aa55cb6414e512cce30bb7db3268eea934466d) to reconcile the
differences.
Signed-off-by: Andrey Smirnov
---
.../zii-vf610-dev/flash-header-zii-vf610-dev.imxcfg | 1 -
.../include/ma
A number of VFxxx boards copy DDR layout/design of vf610-twr board and
they all share DDR PHY settings. Move those settings to a common file
to avoid code duplication.
Signed-off-by: Andrey Smirnov
---
.../flash-header-vf610-twr.imxcfg | 27 +---
.../flash-header-zii-vf610-de
A number of VFxxx boards copy DDR layout/design of vf610-twr board and
they all share IOMUX settings. Move those settings to a common file
to avoid code duplication.
Signed-off-by: Andrey Smirnov
---
.../flash-header-vf610-twr.imxcfg | 52 +---
.../flash-header-zii-vf610-
Remove various bits of debug code, commented DCD commands and
separators as a small clean-up in preparation for commits that would
follow.
Signed-off-by: Andrey Smirnov
---
.../flash-header-vf610-twr.imxcfg | 34 -
.../flash-header-zii-vf610-dev.imxcfg | 37 --
Everyone:
This series is the result of investigation into DDR failures on a ZII
VF610 Dev derivative design. It mostly code sharing changes, cleanups
and some fixes and a nasty DCD hack removal. All of the changes are
limited to VFxxx and shouldn't affect any other supported SoCs.
Feedback is wel
Signed-off-by: Andrey Smirnov
---
arch/arm/boards/zii-vf610-dev/board.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boards/zii-vf610-dev/board.c
b/arch/arm/boards/zii-vf610-dev/board.c
index 6fd49df54..c90644b04 100644
--- a/arch/arm/boards/zii-vf610-dev/boar
Use pr_* function family for all of the logging in the file both for
consistency with the rest of the code and to make all of the output be
properly tagged with loglevel information.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/imx-bbu-internal.c | 30 ++--
1 file
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/imx-bbu-internal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx-bbu-internal.c
b/arch/arm/mach-imx/imx-bbu-internal.c
index 4655bdcc3..07a26f25a 100644
--- a/arch/arm/mach-imx/imx-bbu-internal.c
+++
Some BBU functions for i.MX53 and i.MX6 are identical, so declare the
latter as an alias for former to avoid code duplication.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/imx-bbu-internal.c | 31 ++--
1 file changed, 6 insertions(+), 25 deletions(-)
diff --git a/
Both functions do exactly the same thing with only difference being
type of hanler they pass one. Convert the code to use a generic
function accpeting handler as additional parameter.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/imx-bbu-internal.c | 32 +++-
1 file
Add support for MMC on VFxxx by providing an alias to
imx6_bbu_internal_mmc_register_handler().
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/imx-bbu-internal.c | 7 +++
arch/arm/mach-imx/include/mach/bbu.h | 9 +
2 files changed, 16 insertions(+)
diff --git a/arch/arm/mach-im
Everyone:
This small series is the result of work on implementing BBU support
for VFxxx (ZII VF610 Dev board specifically). Hopefully all of the
patches are self-explanatory.
Feedback is wellcome!
Thanks,
Andrey Smirnov
Andrey Smirnov (6):
ARM: i.MX: bbu: Alias identical functions
ARM: i.MX
On Mon, Jun 11, 2018 at 10:49 PM Holger Schurig wrote:
>
> > +result int the following files:
>
> "int the" -> "in the"
>
>
>
> > +The NXM i.MX8MQ EVK Evaluation Board has has two switches responsible
>
> "has has" -> "has"
Oops, my bad. Will fix in v5.
Thanks,
Andrey Smirnov
__
On Mon, Jun 11, 2018 at 7:58 PM Fabio Estevam wrote:
>
> Hi Andrey,
>
> On Mon, Jun 11, 2018 at 10:53 PM, Andrey Smirnov
> wrote:
>
> > + pinctrl_fec1_data_tx: fec1datatxgrp {
> > + pinmux = <
> > + MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3
> > +
On Tue, 12 Jun 2018 14:47:38 +0200
Sascha Hauer wrote:
> Hi David,
>
> On Tue, Jun 12, 2018 at 02:23:08PM +0200, David Jander wrote:
> >
> > Hi Sascha,
> >
> > I know this is old already, and I was surprised that I couldn't find any
> > complaints about this yet, but I recently came across thi
On Wed, May 2, 2018 at 3:27 AM Sascha Hauer wrote:
>
> On Mon, Apr 30, 2018 at 11:47:14PM -0700, Andrey Smirnov wrote:
> > Signed-off-by: Andrey Smirnov
> > ---
> >
> > Same as original patch, but with fixed subject line.
> >
> > arch/arm/mach-imx/vf610.c | 2 ++
> > 1 file changed, 2 insertions
Hi David,
On Tue, Jun 12, 2018 at 02:23:08PM +0200, David Jander wrote:
>
> Hi Sascha,
>
> I know this is old already, and I was surprised that I couldn't find any
> complaints about this yet, but I recently came across this patch in the
> kernel:
>
> https://git.kernel.org/pub/scm/linux/kerne
Hi Sascha,
I know this is old already, and I was surprised that I couldn't find any
complaints about this yet, but I recently came across this patch in the kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=df5cc9d0b42d15fa33b30440cca7a11ca7ba35a4
...which was
85 matches
Mail list logo