From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:09 +0200 Subject: [U-Boot] [U-Boot, v4, 24/66] rockchip: Makefile: allow selective inclusion of sdram_common.o from TPL/SPL/U-Boot In-Reply-To: <1501706105-7490-25-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-25-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/mach-rockchip/Makefile | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > Applied to u-boot-rockchip, thanks!