]> git.ipfire.org Git - people/ms/u-boot.git/commit
sunxi: spl: Fix DRAM info printing
authorHans de Goede <hdegoede@redhat.com>
Sun, 26 Jun 2016 11:56:01 +0000 (13:56 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Jul 2016 11:50:53 +0000 (13:50 +0200)
commitcd8b35d2e14f598ab0e5c8a211495b675b978915
tree33835910670f33c6550811a0b98a4aceb3db0042
parent0e1e587ff4fc2d81ad4f6313f02c5ca4c8ceea01
sunxi: spl: Fix DRAM info printing

The switch to simple_printf was causing the SPL dram info to show as:

DRAM: u MiB

This fixes this by switching from %lu to %d for printing the DRAM size.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
board/sunxi/board.c