diff options
author | Christophe Leroy | 2023-05-03 10:31:19 +0200 |
---|---|---|
committer | Christophe Leroy | 2023-05-04 10:58:07 +0200 |
commit | fdd243d81bcf5e7fdc8cc7b5060c0c6ed60c5c81 (patch) | |
tree | 7dae25d9ec0650e3e63544e843be1ae890ac43da /drivers/spi/mpc8xx_spi.c | |
parent | 019b39b7366e5591949f6d41aeac474b632be704 (diff) |
powerpc: mpc8xx: CPM parameter RAM can be anywhere
With relocation, CPM parameter RAM can be anywhere in the
dual port RAM, so don't split dual port RAM.
Remove dparam and dparam16 members of struct comm_proc
PROFF_XXX become offsets from the start of dual port RAM,
then they are now consistant with the offsets in RPBASE
registers.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Diffstat (limited to 'drivers/spi/mpc8xx_spi.c')
-rw-r--r-- | drivers/spi/mpc8xx_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c index d84d7aea888..734b0751a90 100644 --- a/drivers/spi/mpc8xx_spi.c +++ b/drivers/spi/mpc8xx_spi.c @@ -51,7 +51,7 @@ static int mpc8xx_spi_probe(struct udevice *dev) { immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; cpm8xx_t __iomem *cp = &immr->im_cpm; - spi_t __iomem *spi = (spi_t __iomem *)&cp->cp_dparam[PROFF_SPI]; + spi_t __iomem *spi = (spi_t __iomem *)&cp->cp_dpmem[PROFF_SPI]; cbd_t __iomem *tbdf, *rbdf; /* Disable relocation */ |