board/ls2080ardb: Update board env based on SoC
authorPriyanka Jain <priyanka.jain@nxp.com>
Fri, 15 Sep 2017 04:49:48 +0000 (10:19 +0530)
committerYork Sun <york.sun@nxp.com>
Fri, 22 Sep 2017 19:49:14 +0000 (12:49 -0700)
commitb5dfd47581b82a8cbe423c0060f0641ae0f5c1b5
treea1d25f38f5b977f7a3a08bf2f6baee98dc487499
parent8472d8765b39351680ea9189ecddf99864b13056
board/ls2080ardb: Update board env based on SoC

As per current implementation, default value of board env is
based on board filename i.e ls2080ardb.

With distro support changes, this env is used to decide upon
kernel dtb which is different for other SoCs (ls2088a, ls2081a)
combination supported with this board.

Add support to modify board env at runtime based on SoC type

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls2080ardb/ls2080ardb.c