Skip to contentSkip to conversation

Add initial support for Freescale mx51evk board

PATCH New Stefano Babic 1 participant 4 messages Jan 20, 2010 – Mar 5, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 11/11 Add initial support for Freescale mx51evk board

The patch adds initial support for the Freescale mx51evk board. Network (FEC) and SD controller (fsl_esdhc) are supported.

---
 MAINTAINERS                          |    4 +
 MAKEALL                              |    1 +
 Makefile                             |    4 +
 board/freescale/mx51evk/Makefile     |   48 ++++
 board/freescale/mx51evk/config.mk    |   25 ++
 board/freescale/mx51evk/imximage.cfg |  119 ++++++++++
 board/freescale/mx51evk/mx51evk.c    |  418 ++++++++++++++++++++++++++++++++++
 board/freescale/mx51evk/mx51evk.h    |   51 ++++
 include/configs/mx51evk.h            |  173 ++++++++++++++
 9 files changed, 843 insertions(+), 0 deletions(-)
 create mode 100644 board/freescale/mx51evk/Makefile
 create mode 100644 board/freescale/mx51evk/config.mk
 create mode 100644 board/freescale/mx51evk/imximage.cfg
 create mode 100644 board/freescale/mx51evk/mx51evk.c
 create mode 100644 board/freescale/mx51evk/mx51evk.h
 create mode 100644 include/configs/mx51evk.h
MAINTAINERS +4 -0
index 9734b1d..8637550 100644
@@ -151,6 +151,10 @@ Dave Ellis <[email protected]>
 
 	SXNI855T	MPC8xx
 
+Fred Fan <[email protected]>
+
+	mx51evk		i.MX51
+
 Thomas Frieden <[email protected]>
 
 	AmigaOneG3SE	MPC7xx
MAKEALL +1 -0
index ab1bb6f..485107a 100755
@@ -617,6 +617,7 @@ LIST_ARM11="			\
 #########################################################################
 LIST_ARM_CORTEX_A8="		\
 	devkit8000		\
+	mx51evk			\
 	omap3_beagle		\
 	omap3_overo		\
 	omap3_evm		\
Makefile +4 -0
index 365f87f..01bf9a2 100644
@@ -3267,6 +3267,9 @@ mx31pdk_nand_config	: unconfig
 	fi
 	@$(MKCONFIG) -a mx31pdk arm arm1136 mx31pdk freescale mx31
 
+mx51evk_config	: unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx51evk freescale mx51
+
 omap2420h4_config	: unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 ti omap24xx
 
@@ -3733,6 +3736,7 @@ clobber:	clean
 		$(obj)cscope.* $(obj)*.*~
 	@rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
 	@rm -f $(obj)u-boot.kwb
+	@rm -f $(obj)u-boot.imx
 	@rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes}
 	@rm -f $(obj)cpu/mpc824x/bedbug_603e.c
 	@rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
board/freescale/mx51evk/Makefile new file +48 -0

48 lines not on this page · raw message

board/freescale/mx51evk/config.mk new file +25 -0
new file mode 100644
index 0000000..c8279ec
@@ -0,0 +1,25 @@
+#
+# Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
+#
+# 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
+#
+
+LDSCRIPT = cpu/$(CPU)/$(SOC)/u-boot.lds
+TEXT_BASE = 0x97800000
+IMX_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/imximage.cfg
board/freescale/mx51evk/imximage.cfg new file +119 -0

119 lines not on this page · raw message

board/freescale/mx51evk/mx51evk.c new file +418 -0

418 lines not on this page · raw message

board/freescale/mx51evk/mx51evk.h new file +51 -0

51 lines not on this page · raw message

include/configs/mx51evk.h new file +173 -0

173 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#1 lore raw

PATCH v4 11/11 Add initial support for Freescale mx51evk board

The patch adds initial support for the Freescale mx51evk board. Network (FEC) and SD controller (fsl_esdhc) are supported.

---
 MAINTAINERS                          |    4 +
 MAKEALL                              |    1 +
 Makefile                             |    4 +
 board/freescale/mx51evk/Makefile     |   48 ++++
 board/freescale/mx51evk/config.mk    |   25 ++
 board/freescale/mx51evk/imximage.cfg |  119 ++++++++++
 board/freescale/mx51evk/mx51evk.c    |  406 ++++++++++++++++++++++++++++++++++
 board/freescale/mx51evk/mx51evk.h    |   51 +++++
 include/configs/mx51evk.h            |  172 ++++++++++++++
 9 files changed, 830 insertions(+), 0 deletions(-)
 create mode 100644 board/freescale/mx51evk/Makefile
 create mode 100644 board/freescale/mx51evk/config.mk
 create mode 100644 board/freescale/mx51evk/imximage.cfg
 create mode 100644 board/freescale/mx51evk/mx51evk.c
 create mode 100644 board/freescale/mx51evk/mx51evk.h
 create mode 100644 include/configs/mx51evk.h
MAINTAINERS +4 -0
index e8ba4bc..aaaa5e9 100644
@@ -152,6 +152,10 @@ Dave Ellis <[email protected]>
 
 	SXNI855T	MPC8xx
 
+Fred Fan <[email protected]>
+
+	mx51evk		i.MX51
+
 Thomas Frieden <[email protected]>
 
 	AmigaOneG3SE	MPC7xx
MAKEALL +1 -0
index 15e93cf..9ba9aab 100755
@@ -624,6 +624,7 @@ LIST_ARM11="			\
 #########################################################################
 LIST_ARM_CORTEX_A8="		\
 	devkit8000		\
+	mx51evk			\
 	omap3_beagle		\
 	omap3_overo		\
 	omap3_evm		\
Makefile +4 -0
index 69b963f..3abcaed 100644
@@ -3289,6 +3289,9 @@ mx31pdk_nand_config	: unconfig
 	fi
 	@$(MKCONFIG) -a mx31pdk arm arm1136 mx31pdk freescale mx31
 
+mx51evk_config	: unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx51evk freescale mx51
+
 omap2420h4_config	: unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 ti omap24xx
 
@@ -3760,6 +3763,7 @@ clobber:	clean
 		$(obj)cscope.* $(obj)*.*~
 	@rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
 	@rm -f $(obj)u-boot.kwb
+	@rm -f $(obj)u-boot.imx
 	@rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes}
 	@rm -f $(obj)cpu/mpc824x/bedbug_603e.c
 	@rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
board/freescale/mx51evk/Makefile new file +48 -0

48 lines not on this page · raw message

board/freescale/mx51evk/config.mk new file +25 -0
new file mode 100644
index 0000000..c8279ec
@@ -0,0 +1,25 @@
+#
+# Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
+#
+# 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
+#
+
+LDSCRIPT = cpu/$(CPU)/$(SOC)/u-boot.lds
+TEXT_BASE = 0x97800000
+IMX_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/imximage.cfg
board/freescale/mx51evk/imximage.cfg new file +119 -0

119 lines not on this page · raw message

board/freescale/mx51evk/mx51evk.c new file +406 -0

406 lines not on this page · raw message

board/freescale/mx51evk/mx51evk.h new file +51 -0

51 lines not on this page · raw message

include/configs/mx51evk.h new file +172 -0

172 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#2 lore raw

PATCH v5 11/11 Add initial support for Freescale mx51evk board

In reply to Stefano Babic

The patch adds initial support for the Freescale mx51evk board. Network (FEC) and SD controller (fsl_esdhc) are supported.

---

Changes since last version:

Added missing prototype (get_cpu_rev) including sys_proto.h in mx51evk.c

 MAINTAINERS                          |    4 +
 MAKEALL                              |    1 +
 Makefile                             |    4 +
 board/freescale/mx51evk/Makefile     |   48 ++++
 board/freescale/mx51evk/config.mk    |   25 ++
 board/freescale/mx51evk/imximage.cfg |  119 ++++++++++
 board/freescale/mx51evk/mx51evk.c    |  407 ++++++++++++++++++++++++++++++++++
 board/freescale/mx51evk/mx51evk.h    |   51 +++++
 include/configs/mx51evk.h            |  172 ++++++++++++++
 9 files changed, 831 insertions(+), 0 deletions(-)
 create mode 100644 board/freescale/mx51evk/Makefile
 create mode 100644 board/freescale/mx51evk/config.mk
 create mode 100644 board/freescale/mx51evk/imximage.cfg
 create mode 100644 board/freescale/mx51evk/mx51evk.c
 create mode 100644 board/freescale/mx51evk/mx51evk.h
 create mode 100644 include/configs/mx51evk.h
MAINTAINERS +4 -0
index dd1579e..160f580 100644
@@ -150,6 +150,10 @@ Dave Ellis <[email protected]>
 
 	SXNI855T	MPC8xx
 
+Fred Fan <[email protected]>
+
+	mx51evk		i.MX51
+
 Thomas Frieden <[email protected]>
 
 	AmigaOneG3SE	MPC7xx
MAKEALL +1 -0
index 1e660b6..6e432ba 100755
@@ -632,6 +632,7 @@ LIST_ARM11="			\
 #########################################################################
 LIST_ARM_CORTEX_A8="		\
 	devkit8000		\
+	mx51evk			\
 	omap3_beagle		\
 	omap3_overo		\
 	omap3_evm		\
Makefile +4 -0
index 524b9da..41ce7f7 100644
@@ -3303,6 +3303,9 @@ mx31pdk_nand_config	: unconfig
 	fi
 	@$(MKCONFIG) -a mx31pdk arm arm1136 mx31pdk freescale mx31
 
+mx51evk_config	: unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx51evk freescale mx51
+
 omap2420h4_config	: unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 ti omap24xx
 
@@ -3774,6 +3777,7 @@ clobber:	clean
 		$(obj)cscope.* $(obj)*.*~
 	@rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
 	@rm -f $(obj)u-boot.kwb
+	@rm -f $(obj)u-boot.imx
 	@rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes}
 	@rm -f $(obj)cpu/mpc824x/bedbug_603e.c
 	@rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
board/freescale/mx51evk/Makefile new file +48 -0

48 lines not on this page · raw message

board/freescale/mx51evk/config.mk new file +25 -0
new file mode 100644
index 0000000..c8279ec
@@ -0,0 +1,25 @@
+#
+# Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
+#
+# 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
+#
+
+LDSCRIPT = cpu/$(CPU)/$(SOC)/u-boot.lds
+TEXT_BASE = 0x97800000
+IMX_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/imximage.cfg
board/freescale/mx51evk/imximage.cfg new file +119 -0

119 lines not on this page · raw message

board/freescale/mx51evk/mx51evk.c new file +407 -0

407 lines not on this page · raw message

board/freescale/mx51evk/mx51evk.h new file +51 -0

51 lines not on this page · raw message

include/configs/mx51evk.h new file +172 -0

172 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#3 lore raw

PATCH v6 11/11 Add initial support for Freescale mx51evk board

In reply to Stefano Babic

The patch adds initial support for the Freescale mx51evk board. Network (FEC) and SD controller (fsl_esdhc) are supported.

---

Changes since last version:

Moved is_soc_rev() to soc specific code (removed from mx51evk.c)

 MAINTAINERS                          |    4 +
 MAKEALL                              |    1 +
 Makefile                             |    4 +
 board/freescale/mx51evk/Makefile     |   48 ++++
 board/freescale/mx51evk/config.mk    |   25 +++
 board/freescale/mx51evk/imximage.cfg |  119 ++++++++++
 board/freescale/mx51evk/mx51evk.c    |  397 ++++++++++++++++++++++++++++++++++
 board/freescale/mx51evk/mx51evk.h    |   51 +++++
 include/configs/mx51evk.h            |  172 +++++++++++++++
 9 files changed, 821 insertions(+), 0 deletions(-)
 create mode 100644 board/freescale/mx51evk/Makefile
 create mode 100644 board/freescale/mx51evk/config.mk
 create mode 100644 board/freescale/mx51evk/imximage.cfg
 create mode 100644 board/freescale/mx51evk/mx51evk.c
 create mode 100644 board/freescale/mx51evk/mx51evk.h
 create mode 100644 include/configs/mx51evk.h
MAINTAINERS +4 -0
index dd1579e..160f580 100644
@@ -150,6 +150,10 @@ Dave Ellis <[email protected]>
 
 	SXNI855T	MPC8xx
 
+Fred Fan <[email protected]>
+
+	mx51evk		i.MX51
+
 Thomas Frieden <[email protected]>
 
 	AmigaOneG3SE	MPC7xx
MAKEALL +1 -0
index 1e660b6..6e432ba 100755
@@ -632,6 +632,7 @@ LIST_ARM11="			\
 #########################################################################
 LIST_ARM_CORTEX_A8="		\
 	devkit8000		\
+	mx51evk			\
 	omap3_beagle		\
 	omap3_overo		\
 	omap3_evm		\
Makefile +4 -0
index 524b9da..41ce7f7 100644
@@ -3303,6 +3303,9 @@ mx31pdk_nand_config	: unconfig
 	fi
 	@$(MKCONFIG) -a mx31pdk arm arm1136 mx31pdk freescale mx31
 
+mx51evk_config	: unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx51evk freescale mx51
+
 omap2420h4_config	: unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 ti omap24xx
 
@@ -3774,6 +3777,7 @@ clobber:	clean
 		$(obj)cscope.* $(obj)*.*~
 	@rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
 	@rm -f $(obj)u-boot.kwb
+	@rm -f $(obj)u-boot.imx
 	@rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes}
 	@rm -f $(obj)cpu/mpc824x/bedbug_603e.c
 	@rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
board/freescale/mx51evk/Makefile new file +48 -0

48 lines not on this page · raw message

board/freescale/mx51evk/config.mk new file +25 -0
new file mode 100644
index 0000000..c8279ec
@@ -0,0 +1,25 @@
+#
+# Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
+#
+# 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
+#
+
+LDSCRIPT = cpu/$(CPU)/$(SOC)/u-boot.lds
+TEXT_BASE = 0x97800000
+IMX_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/imximage.cfg
board/freescale/mx51evk/imximage.cfg new file +119 -0

119 lines not on this page · raw message

board/freescale/mx51evk/mx51evk.c new file +397 -0

397 lines not on this page · raw message

board/freescale/mx51evk/mx51evk.h new file +51 -0

51 lines not on this page · raw message

include/configs/mx51evk.h new file +172 -0

172 lines not on this page · raw message

Signature · 1 line
1.6.3.3