summaryrefslogtreecommitdiff
path: root/board/gdsys/common
diff options
context:
space:
mode:
authorDirk Eibach <dirk.eibach@gdsys.cc>2015-10-28 11:46:33 +0100
committerTom Rini <trini@konsulko.com>2015-11-12 18:04:09 -0500
commitd4e58888014135e429bb8c7b39655106e99b6477 (patch)
tree7db38787e1cdd3235db47b5dbb3d665386878851 /board/gdsys/common
parenta3f9d6c7791bbf0ff7fc68d49abcc5b53c6f7e48 (diff)
hrcon: Use generic ioep-fpga support
The strider platform moved some generic code into ioep-fpga.c. Make use of that on hrcon platform. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Diffstat (limited to 'board/gdsys/common')
-rw-r--r--board/gdsys/common/Makefile2
-rw-r--r--board/gdsys/common/ioep-fpga.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/board/gdsys/common/Makefile b/board/gdsys/common/Makefile
index ba48e8b9f3..0aa1849758 100644
--- a/board/gdsys/common/Makefile
+++ b/board/gdsys/common/Makefile
@@ -12,6 +12,6 @@ obj-$(CONFIG_IO64) += miiphybb.o
obj-$(CONFIG_IOCON) += osd.o mclink.o dp501.o phy.o ch7301.o
obj-$(CONFIG_DLVISION_10G) += osd.o dp501.o
obj-$(CONFIG_CONTROLCENTERD) += dp501.o
-obj-$(CONFIG_HRCON) += osd.o mclink.o dp501.o phy.o
+obj-$(CONFIG_HRCON) += osd.o mclink.o dp501.o phy.o ioep-fpga.o
obj-$(CONFIG_STRIDER) += mclink.o dp501.o phy.o ioep-fpga.o adv7611.o ch7301.o
obj-$(CONFIG_STRIDER_CON) += osd.o
diff --git a/board/gdsys/common/ioep-fpga.c b/board/gdsys/common/ioep-fpga.c
index 18d37dcb41..96f02d68ed 100644
--- a/board/gdsys/common/ioep-fpga.c
+++ b/board/gdsys/common/ioep-fpga.c
@@ -43,6 +43,7 @@ enum {
enum {
RAM_DDR2_32 = 0,
RAM_DDR3_32 = 1,
+ RAM_DDR3_48 = 2,
};
enum {
@@ -215,6 +216,10 @@ void ioep_fpga_print_info(unsigned int fpga)
printf(", RAM 32 bit DDR3");
break;
+ case RAM_DDR3_48:
+ printf(", RAM 48 bit DDR3");
+ break;
+
default:
printf(", RAM %d(not supported)", feature_ramconfig);
break;