[U-Boot] [PATCH] arm: mx5: Fix RTC bus number

A previous update to the I2C stack introduced a typo in the configuration option. Fix the typo and therefore allow the RTC to work correctly with the 'date' command again.
Signed-off-by: Marek Vasut marex@denx.de Cc: Stefano Babic sbabic@denx.de --- include/configs/m53evk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h index 97196c6..e5756d3 100644 --- a/include/configs/m53evk.h +++ b/include/configs/m53evk.h @@ -175,7 +175,7 @@ #ifdef CONFIG_CMD_I2C #define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_SPD_BUS_NUM 1 /* I2C2 */ +#define CONFIG_SYS_RTC_BUS_NUM 1 /* I2C2 */ #endif
/*

On Thu, Jul 24, 2014 at 7:05 PM, Marek Vasut marex@denx.de wrote:
A previous update to the I2C stack introduced a typo in the configuration option. Fix the typo and therefore allow the RTC to work correctly with the 'date' command again.
Signed-off-by: Marek Vasut marex@denx.de Cc: Stefano Babic sbabic@denx.de
include/configs/m53evk.h | 2 +-
It would be clearer if m53evk was mentioned in the Subject.

On Thu, Jul 24, 2014 at 11:27 PM, Fabio Estevam festevam@gmail.com wrote:
On Thu, Jul 24, 2014 at 7:05 PM, Marek Vasut marex@denx.de wrote:
A previous update to the I2C stack introduced a typo in the configuration option. Fix the typo and therefore allow the RTC to work correctly with the 'date' command again.
Signed-off-by: Marek Vasut marex@denx.de Cc: Stefano Babic sbabic@denx.de
include/configs/m53evk.h | 2 +-
It would be clearer if m53evk was mentioned in the Subject.
Agreed, the current commit log is misleading.

On Friday, July 25, 2014 at 04:27:58 AM, Fabio Estevam wrote:
On Thu, Jul 24, 2014 at 7:05 PM, Marek Vasut marex@denx.de wrote:
A previous update to the I2C stack introduced a typo in the configuration option. Fix the typo and therefore allow the RTC to work correctly with the 'date' command again.
Signed-off-by: Marek Vasut marex@denx.de Cc: Stefano Babic sbabic@denx.de
include/configs/m53evk.h | 2 +-
It would be clearer if m53evk was mentioned in the Subject.
Thanks for spotting this.
Best regards, Marek Vasut
participants (3)
-
Fabio Estevam
-
Marek Vasut
-
Otavio Salvador