[U-Boot] [PATCH 1/4] sunxi: dram: Un-inline dram helper functions

Simon Glass sjg at chromium.org
Thu Feb 5 04:04:46 CET 2015


On 4 February 2015 at 05:05, Hans de Goede <hdegoede at redhat.com> wrote:
> 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 at redhat.com>
> ---
>  arch/arm/cpu/armv7/sunxi/Makefile       |  1 +
>  arch/arm/cpu/armv7/sunxi/dram_helpers.c | 37 +++++++++++++++++++++++++++++++++
>  arch/arm/include/asm/arch-sunxi/dram.h  | 28 ++-----------------------
>  3 files changed, 40 insertions(+), 26 deletions(-)
>  create mode 100644 arch/arm/cpu/armv7/sunxi/dram_helpers.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list