mbox series

[v3,0/6] Misc sam460ex related patches

Message ID cover.1546532844.git.balaton@eik.bme.hu (mailing list archive)
Headers show
Series Misc sam460ex related patches | expand

Message

BALATON Zoltan Jan. 3, 2019, 4:27 p.m. UTC
The last code patch in this series fixes memory size larger than 1GB
for sam460ex, other patches are just clean ups I've made along the way.

The first patch is intended to be generic and may be useful for other
boards which currently have their own SPD EEPROM data or don't yet
generate any SPD data just have TODO comments instead. These are MIPS
malta and fulong2e, ARM integratorcp and maybe aspeed, and the PIIX
and Q35 pc machines. I did not try to change these as I have no way to
test them throughly. Patch 2 converts sam460ex to use this function.
Other patches are misc cleanups.

Regards,
BALATON Zoltan

v3: A tab indent got in by accident hence v3 but also include smilar
    cleanup for sdram_set_bcd() in another file
v2: Address review comments, omitting patches already merged

BALATON Zoltan (6):
  smbus: Add a helper to generate SPD EEPROM data
  sam460ex: Clean up SPD EEPROM creation
  ppc4xx: Use ram_addr_t in ppc4xx_sdram_adjust()
  ppc4xx: Rename ppc4xx_sdram_t in ppc440_uc.c to ppc440_sdram_t
  ppc4xx: Pass array index to function instead of pointer into the array
  sam460ex: Fix support for memory larger than 1GB

 hw/i2c/smbus_eeprom.c   | 130 ++++++++++++++++++++++++++++++++++
 hw/ppc/ppc440_bamboo.c  |   2 +-
 hw/ppc/ppc440_uc.c      |  70 +++++++++----------
 hw/ppc/ppc4xx_devs.c    |  48 ++++++-------
 hw/ppc/sam460ex.c       | 181 +++++++-----------------------------------------
 include/hw/i2c/smbus.h  |   3 +
 include/hw/ppc/ppc4xx.h |   2 +-
 7 files changed, 216 insertions(+), 220 deletions(-)

Comments

David Gibson Jan. 9, 2019, 3:23 a.m. UTC | #1
On Thu, Jan 03, 2019 at 05:27:24PM +0100, BALATON Zoltan wrote:
> The last code patch in this series fixes memory size larger than 1GB
> for sam460ex, other patches are just clean ups I've made along the way.
> 
> The first patch is intended to be generic and may be useful for other
> boards which currently have their own SPD EEPROM data or don't yet
> generate any SPD data just have TODO comments instead. These are MIPS
> malta and fulong2e, ARM integratorcp and maybe aspeed, and the PIIX
> and Q35 pc machines. I did not try to change these as I have no way to
> test them throughly. Patch 2 converts sam460ex to use this function.
> Other patches are misc cleanups.

Applied to ppc-for-4.0 (missed the pull request I sent earlier today,
though).


> 
> Regards,
> BALATON Zoltan
> 
> v3: A tab indent got in by accident hence v3 but also include smilar
>     cleanup for sdram_set_bcd() in another file
> v2: Address review comments, omitting patches already merged
> 
> BALATON Zoltan (6):
>   smbus: Add a helper to generate SPD EEPROM data
>   sam460ex: Clean up SPD EEPROM creation
>   ppc4xx: Use ram_addr_t in ppc4xx_sdram_adjust()
>   ppc4xx: Rename ppc4xx_sdram_t in ppc440_uc.c to ppc440_sdram_t
>   ppc4xx: Pass array index to function instead of pointer into the array
>   sam460ex: Fix support for memory larger than 1GB
> 
>  hw/i2c/smbus_eeprom.c   | 130 ++++++++++++++++++++++++++++++++++
>  hw/ppc/ppc440_bamboo.c  |   2 +-
>  hw/ppc/ppc440_uc.c      |  70 +++++++++----------
>  hw/ppc/ppc4xx_devs.c    |  48 ++++++-------
>  hw/ppc/sam460ex.c       | 181 +++++++-----------------------------------------
>  include/hw/i2c/smbus.h  |   3 +
>  include/hw/ppc/ppc4xx.h |   2 +-
>  7 files changed, 216 insertions(+), 220 deletions(-)
>