]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: UniPhier: leave the last element of boot_device_table empty
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 5 Feb 2015 11:56:24 +0000 (20:56 +0900)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 6 Feb 2015 15:15:03 +0000 (00:15 +0900)
commit4e79908044e4ebf186464cf118497458faf0903c
tree9116b4651a8c9375e62ed258ea36d7c5515c5e06
parent4431684910217022bad85a0bc931ad9bfb78859f
ARM: UniPhier: leave the last element of boot_device_table empty

Checking if the pointer is NULL would be easier to know the tail
of the boot_device_table[] array.
For clarification, add the /* sentinel */ comment.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/cpu/armv7/uniphier/cmd_pinmon.c
arch/arm/cpu/armv7/uniphier/ph1-pro4/boot-mode.c