• Zhang Jiejing's avatar
    ENGR00216013-2 mx6: not call memblock_free after reserve memory. · a26a60fc
    Zhang Jiejing authored
    Remove call memblock_free after reserve memory with memblock_allocate().
    The function of memblock_free is to remove the memory block from reserve list
    of memblock, it will totally lost the info about how much phy memory
    we have.
    Skipping call this can make the reserved memory be accountable in
    memblock With no side-effect.
    After doing this, we can know how much our phy memory is, then can add check
    in our driver like(vpu) to check the phy memory valid or not before vpu start
    use the address.
    Signed-off-by: default avatarZhang Jiejing <jiejing.zhang@freescale.com>
board-mx6sl_arm2.c 36.2 KB