Add EVT2 memory support

Support both 1G and 2G memory config.

To support installing the built package with 1G memory config, update
DRAM_SIZE in debian/rules before build.

Bump the release version

Change-Id: I5cc64a8eedbae78c52453359b5a4156ea8717a1f
diff --git a/debian/changelog b/debian/changelog
index 82be084..889755a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+excelsior-bootloader (1-2) mendel-day; urgency=medium
+
+  * Add support for both 1G memory and 2G memory.
+
+ -- Coral Team <coral-support@google.com>  Thu, 30 Apr 2020 14:54:03 -0700
+
 excelsior-bootloader (1-1) mendel-day; urgency=medium
 
   * Initial release.
diff --git a/debian/rules b/debian/rules
index 00631bd..f55a40a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@
 # export DH_VERBOSE = 1
 PACKAGENAME=excelsior-bootloader
 DESTDIR=$(shell pwd)/debian/$(PACKAGENAME)
+DRAM_SIZE := 2G
 
 %:
 	dh $@ --with=systemd
@@ -21,7 +22,10 @@
 	install -p -m 755 ./u-boot-env.bin $(DESTDIR)/boot/u-boot-env.bin
 	install -p -m 755 ./boot.scr $(DESTDIR)/boot/boot.scr
 	install -p -m 644 ./overlays.txt $(DESTDIR)/boot/overlays.txt
-	install -p -m 755 ./mt8167-coral/bl2.img $(DESTDIR)/boot/bl2.img
+	install -p -m 755 ./mt8167-coral/bl2_1G.img $(DESTDIR)/boot/bl2_1G.img
+	install -p -m 755 ./mt8167-coral/bl2_2G.img ${DESTDIR}/boot/bl2_2G.img
+	@echo "Use ${DRAM_SIZE} memory config"
+	ln -sf bl2_${DRAM_SIZE}.img ${DESTDIR}/boot/bl2.img
 
 override_dh_installinit:
 override_dh_strip:
diff --git a/mt8167-coral/bl2.img b/mt8167-coral/bl2_1G.img
similarity index 100%
rename from mt8167-coral/bl2.img
rename to mt8167-coral/bl2_1G.img
Binary files differ
diff --git a/mt8167-coral/bl2_2G.img b/mt8167-coral/bl2_2G.img
new file mode 100644
index 0000000..eda3fc5
--- /dev/null
+++ b/mt8167-coral/bl2_2G.img
Binary files differ