arm: socfpga: Fix SR1500 env position
authorMarek Vasut <marex@denx.de>
Fri, 26 Feb 2016 18:11:30 +0000 (19:11 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 20 Mar 2016 17:01:10 +0000 (18:01 +0100)
commitb72041ccf8d26a1c530f69418a385f03e0b71984
treeadda93b3e411f31148cae938c760169fd47070c4
parentec8b75281b6205b945de75ae6a360e7254ab8677
arm: socfpga: Fix SR1500 env position

Move the inclusion of the common socfpga configuration file further
down in the sr1500 configuration, so that the socfpga_common.h can
check if environment is in SPI NOR and it's location is defined and
if it is not, define default location.

This fixes "arm: socfpga: Enabling U-Boot environment support in QSPI"
which introduced a minor warning.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
include/configs/socfpga_sr1500.h