• Markus Niebel's avatar
    env_mmc: fix buffer allocation for armv7 · 452a2722
    Markus Niebel authored
    commit d196bd88 adds
    redundand environment to mmc. The usage of malloc in
    env_relocate_spec triggers cache errors on armv7.
    
    Tested on a not mainlined i.MX53 board:
    
    Board: TQMa53
    I2C:   ready
    DRAM:  512 MiB
    MMC:   FSL_SDHC: 0, FSL_SDHC: 1
    ERROR: v7_dcache_inval_range - start address is not aligned - 0x8f57c2d8
    ERROR: v7_dcache_inval_range - stop address is not aligned - 0x8f57e2d8
    ERROR: v7_dcache_inval_range - start address is not aligned - 0x8f57e2e0
    ERROR: v7_dcache_inval_range - stop address is not aligned - 0x8f5802e0
    Using default environment
    Signed-off-by: default avatarMarkus Niebel <Markus.Niebel@tqs.de>
    452a2722
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
nand_spl Loading commit data...
net Loading commit data...
post Loading commit data...
spl Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
CREDITS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
boards.cfg Loading commit data...
config.mk Loading commit data...
mkconfig Loading commit data...
rules.mk Loading commit data...
snapshot.commit Loading commit data...