Add support for new SoC APM82XXX
v3 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.
V3:
* Missing TLB entry for CONFIG_SYS_BOOT_BASE_ADDR.
* Correct multiline comment.
* 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.
* board.cfg add the entry in sorted.
* use puts() if there is no formating needed.
* 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 ISRAM1_OCM_SIZE.
* Create apm821xx.h instead of using ppc440.h
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
v3 cover Add support for new SoC APM82XXX
Please ignore this series. I missed "PATCH" string. I will resend the correct patch set.
--Marri
Quoted 97 lines
-----Original Message-----
From: tmarri at apm.com [mailto:tmarri at apm.com]
Sent: Tuesday, September 07, 2010 5:19 PM
To: u-boot at lists.denx.de
Cc: sr at denx.de; Tirumala Marri
Subject: [v3 0/2] Add support for new SoC APM82XXXFrom: 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" incpu_init.c
* Remove "All rights reserved" phrase from headers.
* Add empty line which was removed.
* Move EBC definititions tobluestone_config.hfile
* Removereconfigure_EBC()function.
* Remove unusedCONFIG_SDRAM16BIT_OFFSET.
* Remove unusedCONFIG_SDRAM_INFO_EEPROM_ADDR.
* Add empty lines inbluestone.cfile.
* ReplacingAC_R|AC_W|AC_XwithAC_RWX.
* Remove changes to mainMakefile
* Remove NAND references from config file.
* Squash some of the patches.
* Remove topMakefilechange.V2:
* Missing space before "<".
*SDR_AHB_CFGnot used, remove.
* boot device dfinitions are board specific ? removed.
*APM82161_MASKnot 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 intlbentry()function.
* Board early init function is empty remove.
* RemoveCONFIG_SYS_EXTSRAM_BASE.
* SetCONFIG_SYS_FLASH_SIZEto 4MB
* RemoveCONFIG_SIZE_REDUCE&CONFIG_SECTOR_REDUCE.
* Spaces around " >> " .
* Correct the phy nameCONFIG_M88E1111_PHYtoCONFIG_RTL8211CL_PHY.
* Removed Defines added to 405ex.V3:
* Missing TLB entry forCONFIG_SYS_BOOT_BASE_ADDR.
* Correct multiline comment.
* MoveCONFIG_SYS_EBC_PB0APetc to EBC area in the config file.
* remove unusedCONFIG_RTL8211CL_PHY.
* Replace hard coded valued forCONFIG_SYS_EBC_CFGwith macro definitions.
* board.cfg add the entry in sorted.
* useputs()if there is no formating needed.
* Change APM82XXX to APM821XX
* Modify the way cpu id is printed.
* Correct inadvertent change.
* Sort define list.
* Remove comment forget_sys_info().
* Define a symbolic constatISRAM1_OCM_SIZE.
* Createapm821xx.hinstead of usingppc440.hTirumala Marri (2):
APM821xx: Add CPU support
APM821xx: Add bluestone board supportMAINTAINERS | 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