octeon: Ignore MEM boot param when too small
authorJohn Crispin <john@phrozen.org>
Tue, 14 Jun 2016 11:29:30 +0000 (13:29 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 14 Jun 2016 11:30:11 +0000 (13:30 +0200)
commit7992633e63b9317ce78d8b9decddc418a55e4cbc
treeac67c61642eb23c199b2db6fad400f2381571381
parent9361285a41b8b1164f523dbd493042ae0b8e63d7
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]