cros_bundle_firmware: Add mem_manuf to machine params

This goes with a U-Boot change that adds the memory manufacturer.
We'll grab the manufacturer out of the device tree and populate
it into the machine parameters.

BUG=chrome-os-partner:9765
TEST=Run bundle firmware with high verbosity and saw that it
put the right integer for elpida:
  Memory manufacturer: elpida (1)

Change-Id: I2bb4fb5eccc324fa38a850b0b51bdf239cd638fb
Reviewed-on: https://gerrit.chromium.org/gerrit/23037
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Commit-Ready: Doug Anderson <dianders@chromium.org>
diff --git a/host/lib/bundle_firmware.py b/host/lib/bundle_firmware.py
index 511b0bc..d153b69 100644
--- a/host/lib/bundle_firmware.py
+++ b/host/lib/bundle_firmware.py
@@ -583,6 +583,13 @@
           raise CmdError("Unknown memory type '%s'" % mem_type)
         value = mem_types.index(mem_type)
         self._out.Info('  Memory type: %s (%d)' % (mem_type, value))
+      elif param == 'M' :
+        mem_manuf = fdt.GetString('/dmc', 'mem-manuf')
+        mem_manufs = ['autodetect', 'elpida', 'samsung']
+        if not mem_manuf in mem_manufs:
+          raise CmdError("Unknown memory manufacturer: '%s'" % mem_manuf)
+        value = mem_manufs.index(mem_manuf)
+        self._out.Info('  Memory manufacturer: %s (%d)' % (mem_manuf, value))
       elif param == 'v':
         value = 31
         self._out.Info('  Memory interleave: %#0x' % value)