diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-04-11 16:45:38 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-05-20 14:20:29 +1000 |
commit | d1a556881a71a62db891064060cb565e6c7a4d1c (patch) | |
tree | 46960121235625e7f629d052317bfd6ef61fa4fa | |
parent | 27243a37469f325499cae470db8e52af8296bd93 (diff) | |
download | skiboot-d1a556881a71a62db891064060cb565e6c7a4d1c.zip skiboot-d1a556881a71a62db891064060cb565e6c7a4d1c.tar.gz skiboot-d1a556881a71a62db891064060cb565e6c7a4d1c.tar.bz2 |
nx: remove check on the "qemu, powernv" property
commit 95f7b3b9698b ("nx: Don't abort on missing NX when using a QEMU
machine") introduced a check on the property "qemu,powernv" to skip NX
initialization when running under a QEMU machine.
The QEMU platforms now expose a QUIRK_NO_RNG in the chip. Testing the
"qemu,powernv" property is not necessary anymore.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r-- | hw/nx.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -44,11 +44,7 @@ static void p9_darn_init(void) */ dt_for_each_compatible(dt_root, nx, "ibm,power9-nx") break; - if (!nx) { - if (!dt_node_is_compatible(dt_root, "qemu,powernv")) - assert(nx); - return; - } + assert(nx); phys_map_get(dt_get_chip_id(nx), NX_RNG, 0, &default_bar, NULL); |