octeon: Ignore MEM boot param when too small
authorMichał Osowiecki <michal.osowiecki@gmail.com>
Mon, 27 Jun 2016 14:15:22 +0000 (16:15 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 27 Jun 2016 14:15:22 +0000 (16:15 +0200)
commit93a03a3dadf7ca0df8315551f314684ea16b3b61
treeb053d22ecd411bad12d5bd7e9cdde3bfa7e72e05
parent59d6be20e26e061840bec116c9b893b32996ee75
octeon: Ignore MEM boot param when too small

Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least
4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so
if mem < 4M - ignore it and set default value

Signed-off-by: Michał Osowiecki <michal.osowiecki@gmail.com>
target/linux/octeon/patches-4.4/170-cisco-hack.patch [new file with mode: 0644]