Add a common get_ram_size() function and modify the the
board-specific files to invoke that common implementation.
diff --git a/common/Makefile b/common/Makefile
index 5595c23..eaf2cac 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -47,7 +47,7 @@
 	  hush.o kgdb.o lists.o lynxkdi.o miiphybb.o miiphyutil.o \
 	  s_record.o soft_i2c.o soft_spi.o spartan2.o \
 	  usb.o usb_kbd.o usb_storage.o \
-	  virtex2.o xilinx.o
+	  virtex2.o xilinx.o memsize.o
 
 OBJS	= $(AOBJS) $(COBJS)