From bf413781cfbbc3df5e154b1c00e231bc2d600550 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 7 Dec 2018 02:36:38 +0100 Subject: arm: mx5: Enable WDT and bootcounter on M53Menlo Enable watchdog and bootcounter support on the M53Menlo board. Signed-off-by: Marek Vasut Cc: Stefano Babic --- include/configs/m53menlo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/configs/m53menlo.h b/include/configs/m53menlo.h index 3fca28da6b..0e03bb31a7 100644 --- a/include/configs/m53menlo.h +++ b/include/configs/m53menlo.h @@ -157,6 +157,9 @@ /* IIM Fuses */ #define CONFIG_FSL_IIM +/* Watchdog */ +#define CONFIG_WATCHDOG_TIMEOUT_MSECS 8000 + /* * Boot Linux */ -- cgit v1.2.1 From b82c7c32efcba76164c966733002c7c8528b005d Mon Sep 17 00:00:00 2001 From: Soeren Moch Date: Sat, 5 Jan 2019 09:31:17 +0100 Subject: board: tbs2910: Add u-boot.imx size limit check Check the size of the generated u-boot.imx file. Report an error if it would be too big and overwrite the u-boot environment. Signed-off-by: Soeren Moch --- include/configs/tbs2910.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h index a60223c623..2d4b9c9bfe 100644 --- a/include/configs/tbs2910.h +++ b/include/configs/tbs2910.h @@ -122,6 +122,8 @@ #define CONFIG_ENV_OFFSET (384 * 1024) #define CONFIG_ENV_OVERWRITE +#define CONFIG_BOARD_SIZE_LIMIT 392192 /* (CONFIG_ENV_OFFSET - 1024) */ + #define CONFIG_EXTRA_ENV_SETTINGS \ "bootargs_mmc1=console=ttymxc0,115200 di0_primary console=tty1\0" \ "bootargs_mmc2=video=mxcfb0:dev=hdmi,1920x1080M@60 " \ -- cgit v1.2.1