arm/dt: Make __vet_atags also accept a dtb image
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 28 Apr 2011 20:27:20 +0000 (14:27 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 11 May 2011 13:12:32 +0000 (15:12 +0200)
The dtb is passed to the kernel via register r2, which is the same
method that is used to pass an atags pointer.  This patch modifies
__vet_atags to not clear r2 when it encounters a dtb image.

v2: fixed bugs pointed out by Nicolas Pitre

Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found