diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-02-27 19:18:53 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 15:11:30 -0400 |
commit | 7cb998ba8569ec108fcc415a32e39ec6d825ad68 (patch) | |
tree | 1224d8223ece90761061be7ebcf04dd51ac74b3d /arch/arm/cpu/armv7/omap4 | |
parent | fbf1b08a938fc69643222eeac351c2affdaf6d13 (diff) | |
download | u-boot-imx-7cb998ba8569ec108fcc415a32e39ec6d825ad68.zip u-boot-imx-7cb998ba8569ec108fcc415a32e39ec6d825ad68.tar.gz u-boot-imx-7cb998ba8569ec108fcc415a32e39ec6d825ad68.tar.bz2 |
omap4: Export elpidia sdram device details
Individual boards might provide their own emif_get_device_details function and
use elpidia device details in their own way, hence those have to be exported.
This also wraps existing definitions with the proper ifdef logic.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'arch/arm/cpu/armv7/omap4')
-rw-r--r-- | arch/arm/cpu/armv7/omap4/sdram_elpida.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/omap4/sdram_elpida.c b/arch/arm/cpu/armv7/omap4/sdram_elpida.c index 4462c72..ad18c6c 100644 --- a/arch/arm/cpu/armv7/omap4/sdram_elpida.c +++ b/arch/arm/cpu/armv7/omap4/sdram_elpida.c @@ -147,14 +147,14 @@ void emif_get_dmm_regs(const struct dmm_lisa_map_regs **dmm_lisa_regs) #else -static const struct lpddr2_device_details elpida_2G_S4_details = { +const struct lpddr2_device_details elpida_2G_S4_details = { .type = LPDDR2_TYPE_S4, .density = LPDDR2_DENSITY_2Gb, .io_width = LPDDR2_IO_WIDTH_32, .manufacturer = LPDDR2_MANUFACTURER_ELPIDA }; -static const struct lpddr2_device_details elpida_4G_S4_details = { +const struct lpddr2_device_details elpida_4G_S4_details = { .type = LPDDR2_TYPE_S4, .density = LPDDR2_DENSITY_4Gb, .io_width = LPDDR2_IO_WIDTH_32, |