]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: UniPhier: refactor pinmon command
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 5 Feb 2015 11:56:23 +0000 (20:56 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:08 +0000 (12:59 +0200)
commitb10e2a23b2097db5f9051a95cfe3a39066da2ec6
treee163aadfb0f7225024187bf4e8c6691dc0d98cdf
parentb9ace43a080db8c5d0d5003664c2d3f9d826fd19
ARM: UniPhier: refactor pinmon command

The return value of get_boot_mode_sel() is used as the index of
the boot_device_table[] array.  Its type should be "int" rather
than "u32".

Use only the iterator "i" for the loop in do_pinmon().

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
arch/arm/include/asm/arch-uniphier/boot-device.h