mx7: set soc environment according to exact SoC type
authorStefan Agner <stefan.agner@toradex.com>
Wed, 13 Jul 2016 07:25:39 +0000 (00:25 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 19 Jul 2016 17:52:14 +0000 (19:52 +0200)
commitec7fde3ebfeb1dc428206bf1afca87dbd86cc29b
treedec6444af2cf88b3396c06c9e24cfa8a1ec1b8df
parentc4483093f38f20c4122bd27456bffdda518e4d71
mx7: set soc environment according to exact SoC type

This can be useful if the same U-Boot binary is used for boards
available with a i.MX 7Solo and i.MX 7Dual.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/armv7/mx7/soc.c
include/configs/mx7_common.h