APM821xx: Add bluestone board support
PATCH v3 2/2 APM821xx: Add bluestone board support
From: Tirumala Marri <[email protected]>
Add support code for bluestone board wth APM82XXX processor based. This patch includes early board init, misc init, configure EBC, initializes UIC, MAKEALL, board.cfg and MAINTAINERS file.
--
V1:
* 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.
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.
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
--- MAINTAINERS | 3 + MAKEALL | 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/configs/bluestone.h | 175 ++++++++++++++++++++++++++++++++++++++ 8 files changed, 442 insertions(+), 0 deletions(-)
MAINTAINERS +3 -0
@@ -253,6 +253,9 @@ Feng Kan <[email protected]> redwood PPC4xx +Tirumala Marri <[email protected]> + bluestone APM821XX + Brad Kemp <[email protected]> ppmc8260 MPC8260
MAKEALL +1 -0
@@ -191,6 +191,7 @@ LIST_4xx=" \ ASH405 \ bamboo \ bamboo_nand \ + bluestone \ bubinga \ CANBT \ canyonlands \
board/amcc/bluestone/Makefile new file +52 -0
52 lines not on this page · raw message
board/amcc/bluestone/bluestone.c new file +111 -0
111 lines not on this page · raw message
board/amcc/bluestone/config.mk new file +40 -0
@@ -0,0 +1,40 @@ +# +# Copyright (c) 2010, Applied Micro Circuits Corporation +# Author: Tirumala R Marri <[email protected]> +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# +# Applied Micro APM821XX Evaluation board. +# + +sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp + +ifndef TEXT_BASE +TEXT_BASE = 0xFFFA0000 +endif + +PLATFORM_CPPFLAGS += -DCONFIG_440=1 + +ifeq ($(debug),1) +PLATFORM_CPPFLAGS += -DDEBUG +endif + +ifeq ($(dbcr),1) +PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8cff0000 +endif
board/amcc/bluestone/init.S new file +59 -0
59 lines not on this page · raw message
boards.cfg +1 -0
@@ -186,6 +186,7 @@ t3corp powerpc ppc4xx zeus powerpc ppc4xx acadia powerpc ppc4xx - amcc bamboo powerpc ppc4xx - amcc +bluestone powerpc ppc4xx - amcc bubinga powerpc ppc4xx - amcc ebony powerpc ppc4xx - amcc katmai powerpc ppc4xx - amcc
include/configs/bluestone.h new file +175 -0
175 lines not on this page · raw message
Signature · 1 line
1.6.1.rc3