aboutsummaryrefslogtreecommitdiff
path: root/hw/nx.c
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.vnet.ibm.com>2017-07-17 19:47:39 -0700
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-01 12:39:43 +1000
commitb3623e67badbb7021900068e18b517dfd462009b (patch)
tree27f40b259f5aebefa58d06da0836aa1689481948 /hw/nx.c
parentb0dce19d3e3d783fc5c96745fee16f6940918832 (diff)
downloadskiboot-b3623e67badbb7021900068e18b517dfd462009b.zip
skiboot-b3623e67badbb7021900068e18b517dfd462009b.tar.gz
skiboot-b3623e67badbb7021900068e18b517dfd462009b.tar.bz2
NX: Organize NX compression code to include 842 and gzip support
P9 NX also supports gzip compression. So this patch creates nx-compress.c and reorg nx-842.c code so that common functions that are needed for both 842 and gzip compression will be moved in to nx-compress.c. This patch does not change the actual functionality. Signed-off-by: Haren Myneni <hmyneni@us.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/nx.c')
-rw-r--r--hw/nx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nx.c b/hw/nx.c
index 1c26929..18e6be7 100644
--- a/hw/nx.c
+++ b/hw/nx.c
@@ -79,6 +79,6 @@ void nx_init(void)
dt_for_each_compatible(dt_root, node, "ibm,power-nx") {
nx_create_rng_node(node);
nx_create_crypto_node(node);
- nx_create_842_node(node);
+ nx_create_compress_node(node);
}
}