diff options
author | acsawdey <acsawdey@linux.vnet.ibm.com> | 2020-02-27 10:50:20 -0600 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2020-03-11 17:26:00 +1100 |
commit | a08549a9e7a4e3f5eb3dd5525097d472fc363888 (patch) | |
tree | 5923658b915d807241f69ff3228c47c8caa5d9f6 | |
parent | b8b1ebc15f1c3eb011491bd10965f64a6a5ba3ab (diff) | |
download | skiboot-a08549a9e7a4e3f5eb3dd5525097d472fc363888.zip skiboot-a08549a9e7a4e3f5eb3dd5525097d472fc363888.tar.gz skiboot-a08549a9e7a4e3f5eb3dd5525097d472fc363888.tar.bz2 |
external/mambo: rename env var PMEM_MODES to PMEM_MODE
This patch just renames the env var to be non-plural to match PMEM_DISK.
A related patch going in to mambo will make the actual mode used in
mambo be called "private" instead of "cow" to reflect the fact that
you're getting a private copy of the image file and that any data
written to it will be lost when mambo exits. Unlike the old bogusdisk
driver, there is no separate .cow file where the writes go.
Signed-off-by: Aaron Sawdey <acsawdey@linux.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
[oliver: fixed whitespace damage on the patch]
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r-- | external/mambo/skiboot.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index 07c38ab..15d00a4 100644 --- a/external/mambo/skiboot.tcl +++ b/external/mambo/skiboot.tcl @@ -301,8 +301,8 @@ if { [info exists env(PMEM_VOLATILE)] } { set pmem_sizes [split $env(PMEM_VOLATILE) ","] } set pmem_modes "" -if { [info exists env(PMEM_MODES)] } { - set pmem_modes [split $env(PMEM_MODES) ","] +if { [info exists env(PMEM_MODE)] } { + set pmem_modes [split $env(PMEM_MODE) ","] } set pmem_root [mysim of addchild $root_node "pmem" ""] mysim of addprop $pmem_root int "#address-cells" 2 |