diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-02-03 20:51:57 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-07 14:16:01 +1100 |
commit | dcffe14d4075ac9e8bfce6eb1c53401630a6582f (patch) | |
tree | 75572273807d16f420a7ab31a4f956340e8fcfca /hdata | |
parent | 5bd0f9c20481a886a5367cf0ccd9b92b7e0feb87 (diff) | |
download | skiboot-dcffe14d4075ac9e8bfce6eb1c53401630a6582f.zip skiboot-dcffe14d4075ac9e8bfce6eb1c53401630a6582f.tar.gz skiboot-dcffe14d4075ac9e8bfce6eb1c53401630a6582f.tar.bz2 |
lpc: Mark the power9 LPC bus as compatible with power8
We support all the OPAL calls, and it avoids bugs in existing
Linux kernels that would otherwise crash when attempting to
access devices using a direct mapping.
When Linux is fixed it will recognize that direct mapping is
supported and avoid the OPAL calls.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/fsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hdata/fsp.c b/hdata/fsp.c index 656aad7..998724b 100644 --- a/hdata/fsp.c +++ b/hdata/fsp.c @@ -364,7 +364,8 @@ static void bmc_create_node(const struct HDIF_common_hdr *sp) lpc = dt_new_addr(lpcm, "lpc", 0x0); dt_add_property_cells(lpc, "#address-cells", 2); dt_add_property_cells(lpc, "#size-cells", 1); - dt_add_property_strings(lpc, "compatible", "ibm,power9-lpc"); + dt_add_property_strings(lpc, "compatible", + "ibm,power9-lpc", "ibm,power8-lpc"); dt_add_property_cells(lpc, "ranges", 0, 0, mem_bar, 0x10000000, /* MEM space */ |