spl: reorder the assignment of board info to global data
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 18 Apr 2017 11:57:23 +0000 (17:27 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 02:03:41 +0000 (22:03 -0400)
commit15eb1d43bf470b85e9031c2fce7e0ce7b27dd321
tree3c51c93b02226569f3a2dc5694d28e86fcd1369b
parente938ef1f071d9358ab5667e07cd024f377f5984c
spl: reorder the assignment of board info to global data

Move the assignment of board info to global data a bit early which is
safe,
so that ram details can be used to enable caches.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c