hw/arm/boot: Don't set up ATAGS for autogenerated dtb booting
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 31 Jan 2014 14:47:32 +0000 (14:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 31 Jan 2014 14:47:32 +0000 (14:47 +0000)
commit83bfffec72ad447dfc80a4eab320403175ffe4e3
tree82fdfbf88e72285e41af871ff2528e8d6320fd88
parent360a6f2dbde39211107620a3d38b8cc8cc5281ee
hw/arm/boot: Don't set up ATAGS for autogenerated dtb booting

The code which decides whether to set up the ATAGS data structure on
reset was using the wrong conditional, which meant we were creating
an ATAGS structure when doing a device-tree boot if the dtb was
autogenerated by the board. This is harmless, but unnecessary, so
bring it in to line with user-provided-dtb boots.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 1388326833-656-1-git-send-email-peter.maydell@linaro.org
hw/arm/boot.c