diff options
| author | BALATON Zoltan | 2022-09-24 14:28:02 +0200 |
|---|---|---|
| committer | Daniel Henrique Barboza | 2022-10-17 21:15:09 +0200 |
| commit | 1e545fbc88bb5abe21553972a2244f272153476d (patch) | |
| tree | b13b4f3243f7a4678fd31cf66dab19266497a952 /include | |
| parent | ppc440_sdram: Rename local variable for readability (diff) | |
| download | qemu-1e545fbc88bb5abe21553972a2244f272153476d.tar.gz qemu-1e545fbc88bb5abe21553972a2244f272153476d.tar.xz qemu-1e545fbc88bb5abe21553972a2244f272153476d.zip | |
ppc4xx_sdram: Rename functions to prevent name clashes
Rename functions to avoid name clashes when moving the DDR2 controller
model currently called ppc440_sdram to ppc4xx_devs. This also more
clearly shows which function belongs to which model.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <9c09d10fbf36940ebbe30d7038d69cf3f2e58371.1664021647.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/ppc/ppc4xx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/ppc/ppc4xx.h b/include/hw/ppc/ppc4xx.h index 78a845399e..fd0b3ca82a 100644 --- a/include/hw/ppc/ppc4xx.h +++ b/include/hw/ppc/ppc4xx.h @@ -37,7 +37,7 @@ typedef struct { uint32_t bcr; } Ppc4xxSdramBank; -void ppc440_sdram_enable(CPUPPCState *env); +void ppc4xx_sdram_ddr2_enable(CPUPPCState *env); void ppc4xx_sdram_banks(MemoryRegion *ram, int nr_banks, Ppc4xxSdramBank ram_banks[], @@ -136,6 +136,6 @@ struct Ppc4xxSdramDdrState { uint32_t eccesr; }; -void ppc4xx_sdram_enable(Ppc4xxSdramDdrState *s); +void ppc4xx_sdram_ddr_enable(Ppc4xxSdramDdrState *s); #endif /* PPC4XX_H */ |
