removed unneded maxlayers to speed up system and changed kernel config for lz4

Change-Id: I66fbb02b99a0da4ad9ebaf400dba1cee7da0311b