Add support for new SoC APM821XX
v3 cover Add support for new SoC APM821XX
From: Tirumala Marri <[email protected]>
APM821XX is Applied Micro Circuits Corporations naming convention for new line of SoCs.
V2:
* Missing space before "<".
* SDR_AHB_CFG not used, remove.
* boot device dfinitions are board specific ? removed.
* APM82161_MASK not used, remove
* set_mcsr() is already called in ddr init, no need to call here.
* removed finding bootdevice function which is not used.
* Add spaces in tlbentry() function.
* Board early init function is empty remove.
* Remove CONFIG_SYS_EXTSRAM_BASE.
* Set CONFIG_SYS_FLASH_SIZE to 4MB
* Remove CONFIG_SIZE_REDUCE & CONFIG_SECTOR_REDUCE.
* Spaces around " >> " .
* Correct the phy name CONFIG_M88E1111_PHY to CONFIG_RTL8211CL_PHY.
* Removed Defines added to 405ex.
V3:
* Missing TLB entry for CONFIG_SYS_BOOT_BASE_ADDR.
* Move CONFIG_SYS_EBC_PB0AP etc to EBC area in the config file.
* remove unused CONFIG_RTL8211CL_PHY.
* Replace hard coded valued for CONFIG_SYS_EBC_CFG with macro definitions.
* Change APM82XXX to APM821XX
* Modify the way cpu id is printed.
* Correct inadvertent change.
* Sort define list.
* Remove comment for get_sys_info().
* Define a symbolic constat CONFIG_SYS_OCM_SIZE.
* Create apm821xx.h instead of using ppc440.h
* board.cfg add the entry in sorted.
* use puts() if there is no formating needed.
* Correct multiline comment.
Tirumala Marri (2):
APM821xx: Add CPU support
APM821xx: Add bluestone board support
MAINTAINERS | 3 + MAKEALL | 1 + arch/powerpc/cpu/ppc4xx/cpu.c | 36 ++- arch/powerpc/cpu/ppc4xx/cpu_init.c | 5 +- arch/powerpc/cpu/ppc4xx/speed.c | 76 +++++- arch/powerpc/cpu/ppc4xx/start.S | 11 +- arch/powerpc/cpu/ppc4xx/tlb.c | 2 + arch/powerpc/include/asm/ppc4xx-ebc.h | 4 + arch/powerpc/include/asm/ppc4xx-isram.h | 14 +- arch/powerpc/include/asm/ppc4xx-sdram.h | 12 +- arch/powerpc/include/asm/ppc4xx-uic.h | 5 +- arch/powerpc/include/asm/processor.h | 1 + board/amcc/bluestone/Makefile | 52 ++++ board/amcc/bluestone/bluestone.c | 111 +++++++ board/amcc/bluestone/config.mk | 40 +++ board/amcc/bluestone/init.S | 59 ++++ boards.cfg | 1 + include/apm821xx.h | 493 +++++++++++++++++++++++++++++++ include/configs/bluestone.h | 175 +++++++++++ include/ppc4xx.h | 11 +- 20 files changed, 1087 insertions(+), 25 deletions(-) create mode 100644 board/amcc/bluestone/Makefile create mode 100644 board/amcc/bluestone/bluestone.c create mode 100644 board/amcc/bluestone/config.mk create mode 100644 board/amcc/bluestone/init.S create mode 100644 include/apm821xx.h create mode 100644 include/configs/bluestone.h