summaryrefslogtreecommitdiff
path: root/include/configs
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 /include/configs
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 'include/configs')
-rw-r--r--include/configs/ge_bx50v3.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index 8bf458501f..45a4700ff4 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -120,7 +120,7 @@
"setargs=setenv bootargs root=/dev/${rootdev}${partnum} " \
"ro rootwait cma=128M " \
"bootcause=${bootcause} " \
- "${quiet} console=${console} " \
+ "${quiet} console=${console} ${rtc_status} " \
BX50V3_BOOTARGS_EXTRA "\0" \
"doquiet=" \
"if ext2load ${dev} ${devnum}:5 0x7000A000 /boot/console; " \
@@ -241,6 +241,10 @@
#define CONFIG_PCIE_IMX_PERST_GPIO IMX_GPIO_NR(7, 12)
#define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(1, 5)
+#define CONFIG_RTC_RX8010SJ
+#define CONFIG_SYS_RTC_BUS_NUM 2
+#define CONFIG_SYS_I2C_RTC_ADDR 0x32
+
/* I2C Configs */
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_MXC