udoo: neo: Fix the board model printing
authorFabio Estevam <festevam@gmail.com>
Mon, 3 Jan 2022 15:15:11 +0000 (12:15 -0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jan 2022 14:30:45 +0000 (09:30 -0500)
commitb7404a9d38c431b577768cceb9b5abac915ce194
tree3dd28a11f2c1d4ad11e39af70afe676238dd51cd
parent87c34fe21658289f742635a7bf1e13867dd745bd
udoo: neo: Fix the board model printing

Currently, the board model is not printed correctly:

Board: UDOO Neo UNDEFINED

Read the model type in SPL and store it the internal OCRAM, so that
U-Boot proper can retrieve it correctly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
board/udoo/neo/neo.c