sunxi: dram: Un-inline dram helper functions
authorHans de Goede <hdegoede@redhat.com>
Wed, 4 Feb 2015 11:14:56 +0000 (12:14 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 16 Feb 2015 19:05:52 +0000 (20:05 +0100)
commit51637afe98ba1745976382f64afc270f7f0b6974
tree58a8f59ed34a25e177537d6ad16aa83e42120f4c
parent20779ec3a5d7b3cad4fdc960d9e2e898fab259b3
sunxi: dram: Un-inline dram helper functions

Move the dram helper functions to a separate C file, rather then having them
as inline helpers in dram.h. This saves 144 bytes in the .text segment for
sun6i builds.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/armv7/sunxi/Makefile
arch/arm/cpu/armv7/sunxi/dram_helpers.c [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/dram.h