board: ls1043ardb: move sec_init to board_init
authorSumit Garg <sumit.garg@nxp.com>
Thu, 1 Sep 2016 16:56:43 +0000 (12:56 -0400)
committerYork Sun <york.sun@nxp.com>
Wed, 14 Sep 2016 21:06:23 +0000 (14:06 -0700)
commit285c74811ec34c79b177e5d79936ffe0980a99a4
treefa8a9fa3b4fa0bc00f237bc1943b0a47e9b67d30
parent4baa38c51a3187990a31519f8163519eda3890b5
board: ls1043ardb: move sec_init to board_init

sec_init() which was earlier called in misc_init_r()
is now done in board_init() before PPA init as SEC
block will be used during PPA image validation.

Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls1043ardb/ls1043ardb.c