sunxi: Use sunxi_get_boot_device
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 23 Aug 2017 08:08:29 +0000 (10:08 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 3 Oct 2017 17:12:06 +0000 (19:12 +0200)
commitf4c3523c98588b528601f40c0c16106379ea6eda
tree35f84eb81cd16ef028fec82ee92b42e6e3143b42
parent8829076a5b1001ee20009528931383e912496fcd
sunxi: Use sunxi_get_boot_device

Our current board code duplicates a bit the sunxi_get_boot_device logic.
Now that we can use that function in the full-flavoured U-Boot, remove that
duplication and call the function instead.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
board/sunxi/board.c