summaryrefslogtreecommitdiff
path: root/board/ge
diff options
context:
space:
mode:
authorNandor Han <nandor.han@ge.com>2018-01-10 20:31:38 +0100
committerStefano Babic <sbabic@denx.de>2018-02-04 12:00:58 +0100
commit886678fcf715d7007d1c6e6358eb0ea952c666d4 (patch)
tree496ad68e482d82fb5697ffe091678a6665e3d9a3 /board/ge
parent9e41b54a2e31c514871955b88a27b7b59c111ee4 (diff)
board,ge,bx50v3 - rtc time validation
Validate the time at startup: - in case rtc error add to kernel command line RTC_ERROR - clamp date to 1-Jan-2036 Signed-off-by: Nandor Han <nandor.han@ge.com> Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'board/ge')
-rw-r--r--board/ge/bx50v3/bx50v3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c
index e35afa0317..c7a29185bf 100644
--- a/board/ge/bx50v3/bx50v3.c
+++ b/board/ge/bx50v3/bx50v3.c
@@ -29,6 +29,7 @@
#include <input.h>
#include <pwm.h>
#include <stdlib.h>
+#include "../common/ge_common.h"
#include "../common/vpd_reader.h"
#include "../../../drivers/net/e1000.h"
DECLARE_GLOBAL_DATA_PTR;
@@ -805,6 +806,8 @@ int board_late_init(void)
/* board specific pmic init */
pmic_init();
+ check_time();
+
return 0;
}