ipq40xx: check kernel-size for NBG6617

The ZyXEL NBG6617 has a separate kernel partition which is 4MiB large.

Add the kernel size to validate the kernel won't be bigger than this
fixed limit.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer 2020-06-14 13:10:00 +02:00 committed by AmadeusGhost
parent 398c2d87ac
commit 42d8bd456f

View File

@ -551,6 +551,7 @@ define Device/zyxel_nbg6617
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := NBG6617
DEVICE_DTS := qcom-ipq4018-nbg6617
KERNEL_SIZE := 4096k
ROOTFS_SIZE := 24960k
RAS_BOARD := NBG6617
RAS_ROOTFS_SIZE := 19840k