]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: sunxi: Use macro values for setting UART GPIO pull-ups
authorChen-Yu Tsai <wens@csie.org>
Fri, 3 Oct 2014 12:16:21 +0000 (20:16 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 Oct 2014 07:35:37 +0000 (09:35 +0200)
commitea520947b125ebd7ce63fae2cbfb6937727eae0a
tree25aa1ab31dd02680aacf7b480bf70a2d8c896f62
parentf1fe97527a5301549133a5b0e25ac1fe0243e7a9
ARM: sunxi: Use macro values for setting UART GPIO pull-ups

We have already defined macros for pull-up/down values in the
GPIO header. Use them instead of magic numbers when configuring
the UART pins.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/board.c