]> git.sur5r.net Git - u-boot/commit
sunxi: dram: Add a helper function 'mctl_get_number_of_lanes'
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Sun, 3 Aug 2014 02:32:50 +0000 (05:32 +0300)
committerHans de Goede <hdegoede@redhat.com>
Tue, 12 Aug 2014 06:42:33 +0000 (08:42 +0200)
commite044daa33e28947c34b855643e5d16a030da8fe8
treed6bfaa606283e87a2c0eaecedf1698aaa8e6c16e
parentb8f7cb6ae31d3c2de7349e58889ed3c5a1a77c42
sunxi: dram: Add a helper function 'mctl_get_number_of_lanes'

It is going to be useful in more than one place.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/dram.c
arch/arm/include/asm/arch-sunxi/dram.h