Add ---add-config-str/int options to add configs to U-Boot fdt
This option provides an easy way to put /config options into the U-Boot
FDT from the command line.
BUG=chromium-os:17187
TEST=cros_bundle_firmware -s -w --add-config-int silent_console 1
See that it runs with a silent console
Change-Id: Ic223f6c9fcce3c3afd8ed68fc9d06572e90e40f4
Reviewed-on: http://gerrit.chromium.org/gerrit/4153
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
diff --git a/host/lib/tools.py b/host/lib/tools.py
index b92b475..90b1acd 100755
--- a/host/lib/tools.py
+++ b/host/lib/tools.py
@@ -74,7 +74,7 @@
calculated from this.
Args:
- dir: The path to the root directory.
+ root_dir: The path to the root directory.
"""
self._root = os.path.normpath(root_dir)