Hi Felix,
Not 'hijacking' a patch, just following Linux Developer's Certificate of
Origin 1.1 guidelines.
As you know, I contacted you directly with this patch suggestion prior to
posting to the mailing list (keeping strictly to rule c). I had hoped you
would make a new version:
> On 09.03.2017
Allwinner H5/A64/V3s/R40 SoCs all feature a DRAM controller like the
one in Allwinner H3, which seems from DesignWare.
They do not have properly licensed official DRAM initialization code
(some have even no public readable code), but they can be supported
by slightly altering the H3 code (this can
The DesignWare DRAM controller used by H3 and newer SoCs use a bit to
identify whether the DRAM is half-width.
As H3 itself come with 32-bit DRAM, the two modes of the bit used to be
named "MCTL_CR_32BIT" and "MCTL_CR_16BIT", but for SoCs with 16-bit DRAM
they're really 8-bit and 16-bit.
Rename t
Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like
DesignWare DRAM controller, which do not have official free DRAM
initialization code, but can use modified dram_sun8i_h3.c.
Add a invisible option for easier DRAM initialization code reuse.
Signed-off-by: Icenowy Zheng
Acked-by: Max
Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving
the stack to DDR as soon as we're able.
Signed-off-by: Tom Rini
---
configs/omap3_overo_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig
index e84
On Sat, Mar 11, 2017 at 3:34 PM, Tom Rini wrote:
> Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving
> the stack to DDR as soon as we're able.
Should we do that for all the omap3 devices?
> Signed-off-by: Tom Rini
> ---
> configs/omap3_overo_defconfig | 4
> 1 file ch
Some Allwinner SoCs features a DesignWare-like controller with only 16
bit bus width.
Add support for them.
Signed-off-by: Icenowy Zheng
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 34 +-
board/sunxi/Kconfig | 16
2 files changed, 4
Some DDR2 DRAM have only four banks, not eight.
Add code to detect this situation.
Signed-off-by: Icenowy Zheng
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-sunxi/dram_sunxi_dw.c
b/arch/arm/mach-s
DRAM chip varies, and one code cannot satisfy all DRAMs.
Add options to select a timing set.
Currently only DDR3-1333 (the original set) is added into it.
Signed-off-by: Icenowy Zheng
---
arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h | 30 ++
arch/arm/mach-sunxi/Makefile
The DesignWare-like DRAM controllers in Allwinner chips have DDR2
DRAM support, add support for it in the driver.
No real DDR2 chip info is added in this commit.
Signed-off-by: Icenowy Zheng
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 2 ++
board/sunxi/Kconfig | 3 +++
2 files cha
Allwinner V3s SoC features a co-packaged DDR2 DRAM chip, which needs its
timing param.
Add the timing info for it, and make this chip selectable.
Signed-off-by: Icenowy Zheng
---
arch/arm/mach-sunxi/dram_timings/Makefile | 1 +
arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c | 84 +++
Allwinner V3s features a DRAM controller like the on in H3, but with a
DDR2 DRAM.
Add support for it.
Signed-off-by: Icenowy Zheng
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 3 +++
board/sunxi/Kconfig | 9 -
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/a
This patchset adds armv7m instruction/data caches support &
enable it for stm32f7.
Changed in v2:
- changed strucures for memory mapped cache registers to MACROs
- added lines better readability.
- replaced magic numbers with MACROs.
Vikas Manocha (2):
armv7m: add instruction & data cache suppo
It also enables commands for cache enable/disable/status.
Signed-off-by: Vikas Manocha
---
Changed in v2: None
arch/arm/mach-stm32/stm32f7/soc.c | 2 ++
include/configs/stm32f746-disco.h | 4 +---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-stm32/stm32f7/soc.c
This patch adds armv7m instruction & data cache support.
Signed-off-by: Vikas Manocha
---
Changed in v2:
- changed strucures for memory mapped cache registers to MACROs
- added lines better readability.
- replaced magic numbers with MACROs.
arch/arm/cpu/armv7m/Makefile | 2 +-
arch/arm/cpu/
11.03.2017, 10:09, "Icenowy Zheng" :
> Basic U-Boot support is now present for V3s.
>
> Some memory addresses are changed specially for V3s, as the original
> address map cannot fit into a so small DRAM.
>
> As the DRAM controller code needs a big refactor, the SPL support is
> disabled in this v
On Sat, Mar 11, 2017 at 04:08:47PM +, Peter Robinson wrote:
> On Sat, Mar 11, 2017 at 3:34 PM, Tom Rini wrote:
> > Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving
> > the stack to DDR as soon as we're able.
>
> Should we do that for all the omap3 devices?
Yes. I'm pro
On Tue, Mar 07, 2017 at 03:42:24AM +0100, Matthijs van Duin wrote:
> Some initialization was unintentionally being skipped on omap5.
>
> Fixes: f5af0827f276 ("arm: omap-common: Guard some parts of the code with
> CONFIG_OMAP44XX/OMAP54XX")
> Signed-off-by: Matthijs van Duin
> Reviewed-by: Tom R
On Mon, Mar 06, 2017 at 09:07:11PM +0100, Jörg Krause wrote:
> This tool does not work with Python 3. Change the shebang to make sure the
> script is run by a Python 2 interpreter.
>
> Signed-off-by: Jörg Krause
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital sig
On Mon, Mar 06, 2017 at 01:54:30PM +0100, Ladislav Michl wrote:
> Currently nandecc returns zero even if underlaying
> omap_nand_switch_ecc function fails. Fix that by
> propagating error returned to command return value.
>
> Signed-off-by: Ladislav Michl
> Reviewed-by: Tom Rini
Applied to u-b
On 03/12/2017 01:13 AM, Vikas Manocha wrote:
> This patch adds armv7m instruction & data cache support.
>
> Signed-off-by: Vikas Manocha
> ---
>
> Changed in v2:
> - changed strucures for memory mapped cache registers to MACROs
Macro is written in lowercase, FYI ...
> - added lines better read
It's redundant to send cmd13 after cmd9 whose response is not R1b. The
card devices will not be busy w/ cmd9.
Signed-off-by: Ziyuan Xu
---
drivers/mmc/mmc.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 3648950..72fc177 100644
--- a/drivers/m
22 matches
Mail list logo