]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: Makefile: allow selective inclusion of sdram_common.o from TPL/SPL/U-Boot
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 22 Jun 2017 23:04:47 +0000 (01:04 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:22 +0000 (17:12 +0200)
commit2d9bbce0e602a50b5b85ab483253527c40d7f605
tree5540a71fdde6f99e97f71bef57d4f09f97fdc0c3
parent8a1a4b95edbcc3cc0a51925ca06e42a1c91f5fe5
rockchip: Makefile: allow selective inclusion of sdram_common.o from TPL/SPL/U-Boot

The utility functions in sdram_common.c will be useful both for some
SPL implementations (and if unused, the linked will discard these
anyway) and for the full U-Boot stage.

This changes selects sdram_common.o through the $(SPL_TPL_) macro to
allow better control of its inclusion through the CONFIG_ROM,
CONFIG_SPL_RAM or CONFIG_TPL_RAM options.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/Makefile