Skip to contentSkip to conversation

OMAP3: Add common power code, README, and BeagleBoard

PATCH New Dirk Behme 1 participant 1 message Jan 27, 2009 Kbuild

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH v3 1/5 OMAP3: Add common power code, README, and BeagleBoard

Add BeagleBoard support, common power code and README.

---
Changes in v3:

- Fix missing entry in MAKEALL

This patch replaces v2 version of this patch. All other v2 version patches are still valid.

 MAINTAINERS                    |    4 
 MAKEALL                        |   28 +--
 Makefile                       |    7 
 board/omap3/beagle/Makefile    |   49 +++++
 board/omap3/beagle/beagle.c    |   90 +++++++++
 board/omap3/beagle/beagle.h    |  376 +++++++++++++++++++++++++++++++++++++++++
 board/omap3/beagle/config.mk   |   33 +++
 board/omap3/beagle/u-boot.lds  |   63 ++++++
 board/omap3/common/Makefile    |   50 +++++
 board/omap3/common/power.c     |   74 ++++++++
 doc/README.omap3               |   72 +++++++
 include/configs/omap3_beagle.h |  325 +++++++++++++++++++++++++++++++++++
 12 files changed, 1161 insertions(+), 10 deletions(-)
 create mode 100644 board/omap3/beagle/Makefile
 create mode 100644 board/omap3/beagle/beagle.c
 create mode 100644 board/omap3/beagle/beagle.h
 create mode 100644 board/omap3/beagle/config.mk
 create mode 100644 board/omap3/beagle/u-boot.lds
 create mode 100644 board/omap3/common/Makefile
 create mode 100644 board/omap3/common/power.c
 create mode 100644 doc/README.omap3
 create mode 100644 include/configs/omap3_beagle.h
MAINTAINERS +4 -0
Index: u-boot-arm/MAINTAINERS
===================================================================
@@ -486,6 +486,10 @@ Rowel Atienza <[email protected]>
 
 	armadillo	ARM720T
 
+Dirk Behme <[email protected]>
+
+	omap3_beagle	ARM CORTEX-A8 (OMAP3530 SoC)
+
 Rishi Bhattacharya <[email protected]>
 
 	omap5912osk	ARM926EJS
MAKEALL +18 -10
Index: u-boot-arm/MAKEALL
===================================================================
@@ -545,6 +545,13 @@ LIST_ARM11="		\
 "
 
 #########################################################################
+## ARM Cortex-A8 Systems
+#########################################################################
+LIST_ARM_CORTEX_A8="		\
+	omap3_beagle		\
+"
+
+#########################################################################
 ## AT91 Systems
 #########################################################################
 
@@ -598,15 +605,16 @@ LIST_ixp="		\
 ## ARM groups
 #########################################################################
 
-LIST_arm="		\
-	${LIST_SA}	\
-	${LIST_ARM7}	\
-	${LIST_ARM9}	\
-	${LIST_ARM10}	\
-	${LIST_ARM11}	\
-	${LIST_at91}	\
-	${LIST_pxa}	\
-	${LIST_ixp}	\
+LIST_arm="			\
+	${LIST_SA}		\
+	${LIST_ARM7}		\
+	${LIST_ARM9}		\
+	${LIST_ARM10}		\
+	${LIST_ARM11}		\
+	${LIST_ARM_CORTEX_A8}	\
+	${LIST_at91}		\
+	${LIST_pxa}		\
+	${LIST_ixp}		\
 "
 
 #########################################################################
@@ -822,7 +830,7 @@ build_target() {
 for arg in $@
 do
 	case "$arg" in
-	arm|SA|ARM7|ARM9|ARM10|ARM11|at91|ixp|pxa \
+	arm|SA|ARM7|ARM9|ARM10|ARM11|ARM_CORTEX_A8|at91|ixp|pxa \
 	|avr32 \
 	|blackfin \
 	|coldfire \
Makefile +7 -0
Index: u-boot-arm/Makefile
===================================================================
@@ -2905,6 +2905,13 @@ SMN42_config	:	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
 
 #########################################################################
+## ARM CORTEX Systems
+#########################################################################
+
+omap3_beagle_config :	unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 beagle omap3 omap3
+
+#########################################################################
 ## XScale Systems
 #########################################################################
 
board/omap3/beagle/Makefile new file +49 -0

49 lines not on this page · raw message

board/omap3/beagle/beagle.c new file +90 -0

90 lines not on this page · raw message

board/omap3/beagle/beagle.h new file +376 -0

376 lines not on this page · raw message

board/omap3/beagle/config.mk new file +33 -0
Index: u-boot-arm/board/omap3/beagle/config.mk
===================================================================
@@ -0,0 +1,33 @@
+#
+# (C) Copyright 2006
+# Texas Instruments, <www.ti.com>
+#
+# Beagle Board uses OMAP3 (ARM-CortexA8) cpu
+# see http://www.ti.com/ for more information on Texas Instruments
+#
+# 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
+#
+# Physical Address:
+# 8000'0000 (bank0)
+# A000/0000 (bank1)
+# Linux-Kernel is expected to be at 8000'8000, entry 8000'8000
+# (mem base + reserved)
+
+# For use with external or internal boots.
+TEXT_BASE = 0x80e80000
board/omap3/beagle/u-boot.lds new file +63 -0

63 lines not on this page · raw message

board/omap3/common/Makefile new file +50 -0

50 lines not on this page · raw message

board/omap3/common/power.c new file +74 -0

74 lines not on this page · raw message

doc/README.omap3 new file +72 -0

72 lines not on this page · raw message

include/configs/omap3_beagle.h new file +325 -0

325 lines not on this page · raw message