]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: rpi: consolidate board rev error checking
authorStephen Warren <swarren@wwwdotorg.org>
Wed, 24 Dec 2014 03:01:44 +0000 (20:01 -0700)
committerTom Rini <trini@ti.com>
Mon, 29 Dec 2014 21:31:22 +0000 (16:31 -0500)
commit914627fe1c575112cd2aa14ab83cfa249e6810d6
treed24a7608d3c7bcbfcc4352cae8d139e23ec91a0c
parent47705eff7a822105dfddaa03aadfe95f05849892
ARM: rpi: consolidate board rev error checking

Create a fake model table entry with default values, so we can error
check the board rev value once when querying it from the firmware, rather
than error-checking for invalid board rev values every time the model
table is used.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
board/raspberrypi/rpi/rpi.c