diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-05-12 17:03:02 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-13 14:01:35 +1000 |
commit | 8f527a0290068f1b2224fcfd7d88d91eab6ddd6f (patch) | |
tree | a5abaa38e1d959b27c829b91910ce8040616bd6e /hw/slw.c | |
parent | 64d7f65e191f9e2a8130cba1a698f4edb848a4b3 (diff) | |
download | skiboot-8f527a0290068f1b2224fcfd7d88d91eab6ddd6f.zip skiboot-8f527a0290068f1b2224fcfd7d88d91eab6ddd6f.tar.gz skiboot-8f527a0290068f1b2224fcfd7d88d91eab6ddd6f.tar.bz2 |
Add a couple more missing Naples references
The i2c and SLW code are testing for P8 chips by chip type
and missing Naples. Fix this.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/slw.c')
-rw-r--r-- | hw/slw.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -537,7 +537,8 @@ static void add_cpu_idle_state_properties(void) chip = next_chip(NULL); assert(chip); if (chip->type == PROC_CHIP_P8_MURANO || - chip->type == PROC_CHIP_P8_VENICE) { + chip->type == PROC_CHIP_P8_VENICE || + chip->type == PROC_CHIP_P8_NAPLES) { const struct dt_property *p; p = dt_find_property(dt_root, "ibm,enabled-idle-states"); |