MA-12973 [AUTO] Skip serial init in board_init_f
authorJi Luo <ji.luo@nxp.com>
Sun, 30 Sep 2018 07:24:09 +0000 (15:24 +0800)
committerfaqiang.zhu <faqiang.zhu@nxp.com>
Mon, 15 Jul 2019 06:02:49 +0000 (14:02 +0800)
commite6c03a82550b9f81f41ed89982b2258142ec28c5
tree76bd694adfe52270457da14c814c2ac7e8a522c3
parentb3d3a85b9a23d3da3e2133301d5b58fb375946e5
MA-12973 [AUTO] Skip serial init in board_init_f

Serial init in board_init_f will cost much time, skip it here
because the serial will be initialized again in board_init_r
and it's more faster (after cache is enabled). We will miss
some logs before the serial is ready but it's ok for Android Auto.
This commit will save about 190ms on imx8qm.

Test: boot ok for both imx8qm and imx8qxp.

Change-Id: If6efdc19794aecda862f22b6fec7f7aba2005766
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
common/board_f.c