arm: omap-common: Guard some parts of the code with CONFIG_OMAP44XX/OMAP54XX
authorTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 14:38:21 +0000 (10:38 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 19:03:48 +0000 (15:03 -0400)
commitf5af0827f27638a437dada1c1cbcbb11a6a36b18
treed24aa646a5686decff944089698e5274f70746d0
parentdf13ec696ef61ed575950e4e071d220711afbe4e
arm: omap-common: Guard some parts of the code with CONFIG_OMAP44XX/OMAP54XX

On OMAP4 platforms that also need to calculate their DDR settings we are
now getting very close to the linker limit size.  Since OMAP44XX is only
seen with LPDDR2, remove some run time tests for LPDDR2 or DDR3 as we
will know that we don't have it for OMAP44XX.

Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/emif-common.c