Am Donnerstag, den 05.04.2018, 09:42 +0200 schrieb Sascha Hauer:
> On Mon, Mar 26, 2018 at 09:20:22PM +0200, Lucas Stach wrote:
> > If the CPU was already in HYP mode when entering the PBL, install a
> > simple trap handler to allow to get back from SVC to HYP before
> > switching to HYP mode.
> >
Am Donnerstag, den 05.04.2018, 09:54 +0200 schrieb Sascha Hauer:
> On Mon, Mar 26, 2018 at 09:20:19PM +0200, Lucas Stach wrote:
> > This adds routines to add hyp mode vectors and switch back to HYP
> > mode from SVC. This is needed in both the PBL and Barebox proper.
> >
> > > > Signed-off-by:
Signed-off-by: Andrey Smirnov
---
arch/arm/boards/freescale-vf610-twr/lowlevel.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arm/boards/freescale-vf610-twr/lowlevel.c
b/arch/arm/boards/freescale-vf610-twr/lowlevel.c
index
Majority of others boards prints '>' as soon as DEBUG_LL related
configuration is done, so do so for VF610-TWR as well.
Signed-off-by: Andrey Smirnov
---
arch/arm/boards/freescale-vf610-twr/lowlevel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
Signed-off-by: Andrey Smirnov
---
drivers/pinctrl/pinctrl-vf610.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-vf610.c b/drivers/pinctrl/pinctrl-vf610.c
index 4234263d3..a46b0e2ca 100644
---
Signed-off-by: Andrey Smirnov
---
arch/arm/include/asm/barebox-arm.h | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/arch/arm/include/asm/barebox-arm.h
b/arch/arm/include/asm/barebox-arm.h
index 4b270e7de..67e4d964d 100644
---
On Mon, Apr 09, 2018 at 10:59:33AM +0200, Roland Hieber wrote:
> The old way does not seem to work for RPi 3, as the UART pins are
> mapped differently and the NOOBS bootcode does not seem to read a
> config.txt.
>
> Signed-off-by: Roland Hieber
> ---
>
Hi Andrey,
On Fri, Apr 06, 2018 at 07:33:22PM +0300, Andrey Gusakov wrote:
> This set of pathces adds ADC support for MC13783 and MC13892 PMICs.
Applied, thanks. Out of curiosity, what do you use the ADCs for?
Sascha
>
> Andrey Gusakov (2):
> mfd: mc13xxx: add function returning mc13xxx
Avoid calling arm_mem_barebox_image() twice by making barebox_base
function-wide in scope
Signed-off-by: Andrey Smirnov
---
arch/arm/cpu/start.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/arch/arm/cpu/start.c
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/esdctl.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c
index a7114effa..eda8184a0 100644
--- a/arch/arm/mach-imx/esdctl.c
+++
Code for calculating total amount of memory found in
imx6_mmdc_add_mem(), imx6q_barebox_entry() and imx6ul_barebox_entry()
is exaclty the same, so refactor the code to avoid duplication.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/esdctl.c | 35
Everyone:
This series is a bit of code I developed to support automatic
configured DRAM size detection on Vybrid platform as well as some
small fixes/cleanup I made while looking at esdctl.c.
All feedback is wellcome!
Thanks,
Andrey Smirnov
Andrey Smirnov (10):
ARM: i.MX: esdctl: Use IOMEM
Use symbolic constants for RAM base address, to do that rename
MX6_MMDC_PORT0_BASE_ADDR to MX6_MMDC_PORT01_BASE_ADDR to distinguish
it from SoCs with only one DDR controller (i.MX6UL) where port 0 will
always be at 0x8000.
Signed-off-by: Andrey Smirnov
---
Introduce memory_sdram_size() - subroutine to calculate size of SDRAM
chip base on its parameters such as # or rows, columns, banks and bus
width.
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/esdctl.c | 14 --
include/memory.h | 8
Use min_t() instead of explicit if ().
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/esdctl.c | 15 +++
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c
index 3cd7c5738..a4eb3f196
Add code needed to dynamically detect the amount of RAM DDR controller
is configured to use as well as a simple entry function making use of
that functionality.
Signed-off-by: Andrey Smirnov
---
arch/arm/dts/vf610-ddrmc.dtsi| 15 +++
Signed-off-by: Andrey Smirnov
---
arch/arm/boards/zii-vf610-dev/lowlevel.c | 3 ++-
arch/arm/dts/vf610-zii-dev.dtsi | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/zii-vf610-dev/lowlevel.c
Signed-off-by: Andrey Smirnov
---
arch/arm/boards/freescale-vf610-twr/lowlevel.c | 5 ++---
arch/arm/dts/vf610-twr.dts | 1 +
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boards/freescale-vf610-twr/lowlevel.c
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/esdctl.c | 42 +-
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c
index 1eebc77b6..895761e73 100644
---
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/esdctl.c | 2 +-
arch/arm/mach-imx/include/mach/esdctl.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c
index
20 matches
Mail list logo