[4/6] arm: am57xx: Set serial# variable

Message ID 1457437348-31327-5-git-send-email-semen.protsenko@linaro.org
State New
Headers show

Commit Message

Sam Protsenko March 8, 2016, 11:42 a.m.
From: Sam Protsenko <semen.protsenko@linaro.org>


serial# variable is used to correctly display device ID in
"fastboot devices".

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>

---
 board/ti/am57xx/board.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Patch

diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 042f9ab..751de39 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -270,6 +270,7 @@  int board_late_init(void)
 	 * This is the POWERHOLD-in-Low behavior.
 	 */
 	palmas_i2c_write_u8(TPS65903X_CHIP_P1, 0xA0, 0x1);
+	omap_die_id_serial();
 	return 0;
 }