aboutsummaryrefslogtreecommitdiff
path: root/hw/imc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/imc.c')
-rw-r--r--hw/imc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/imc.c b/hw/imc.c
index 72207e1..88d0302 100644
--- a/hw/imc.c
+++ b/hw/imc.c
@@ -381,7 +381,7 @@ static void disable_unavailable_units(struct dt_node *dev)
*/
void imc_catalog_preload(void)
{
- uint32_t pvr = (mfspr(SPR_PVR) & ~(0xf000));
+ uint32_t pvr = (mfspr(SPR_PVR) & ~(0xf0ff));
int ret = OPAL_SUCCESS;
compress_buf_size = MAX_COMPRESSED_IMC_DTB_SIZE;
@@ -467,7 +467,7 @@ static void imc_dt_update_nest_node(struct dt_node *dev)
void imc_init(void)
{
void *decompress_buf = NULL;
- uint32_t pvr = (mfspr(SPR_PVR) & ~(0xf000));
+ uint32_t pvr = (mfspr(SPR_PVR) & ~(0xf0ff));
struct dt_node *dev;
int ret;