Re: [LEDE-DEV] cavium: Ignore MEM boot param when too small

2016-06-09 Thread John Crispin
On 08/06/2016 15:49, Michał Osowiecki wrote: > 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 > Hi Michał,

[LEDE-DEV] cavium: Ignore MEM boot param when too small

2016-06-08 Thread Michał Osowiecki
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 --- a/arch/mips/cavium-octeon/setup.c 2016-06-06 18:15:32.0