]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: dram: Un-inline dram helper functions
authorHans de Goede <hdegoede@redhat.com>
Wed, 4 Feb 2015 11:14:56 +0000 (12:14 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:20 +0000 (13:52 +0200)
commit6a11f8f95a5fbcb8568c9530add6f3d99d8bc0aa
tree1d488bd57c4fb2b1075093b545a00e896fb86817
parent7c20a306ed6d367da50d53e0570f5cc269cfa3a7
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