Add support for new SoC APM82XXX
v2 cover Add support for new SoC APM82XXX
From: Tirumala Marri <[email protected]>
APM8XXXX is Applied Micro Circuits Corporations naming convention for new line of SoCs.
V1:
* Squash some of the patches.
* add space between "||" and "\".
* Add spaces around operators.
* Unsigned int to u32.
* Add empty line which was removed.
* remove warning "unused variable" in cpu_init.c
* Remove "All rights reserved" phrase from headers.
* Add empty line which was removed.
* Move EBC definititions to bluestone_config.h file
* Remove reconfigure_EBC() function.
* Remove unused CONFIG_SDRAM16BIT_OFFSET.
* Remove unused CONFIG_SDRAM_INFO_EEPROM_ADDR.
* Add empty lines in bluestone.c file.
* Replacing AC_R | AC_W | AC_X with AC_RWX.
* Remove changes to main Makefile
* Remove NAND references from config file.
* Squash some of the patches.
* Remove top Makefile change.
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.
Tirumala Marri (2):
APM82xxx: Add CPU and other peripheral support
APM82xxx: Add bluestone board support
MAINTAINERS | 3 + MAKEALL | 1 + arch/powerpc/cpu/ppc4xx/cpu.c | 35 ++++++- arch/powerpc/cpu/ppc4xx/cpu_init.c | 8 +- arch/powerpc/cpu/ppc4xx/speed.c | 85 +++++++++++++++- arch/powerpc/cpu/ppc4xx/start.S | 10 ++- arch/powerpc/include/asm/ppc4xx-ebc.h | 4 + arch/powerpc/include/asm/ppc4xx-isram.h | 8 +- 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 | 55 ++++++++++ boards.cfg | 1 + include/configs/bluestone.h | 171 +++++++++++++++++++++++++++++++ include/ppc440.h | 57 ++++++++++- include/ppc4xx.h | 7 +- 19 files changed, 641 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/configs/bluestone.h