mpc5200: Add a4m2k board port
PATCH 1/1 mpc5200: Add a4m2k board port
This patch adds the a4m2k MPC5200B board port. Its a derivate of the a3m071 board with only minor changes.
Additionally this patch includes some clean-up changes:
- Remove I2C support from a3m071 as its unused
- Fix/enhance default env variables
- Fix some comments
- Add newly introduced CONFIG_SPL_TARGET to automatically build "u-boot-img.bin"
--- MAINTAINERS | 1 + board/a3m071/a3m071.c | 91 +++++++++++++++++++++++++++++++++--- board/a3m071/is46r16320d.h | 35 ++++++++++++++ boards.cfg | 1 + include/configs/a3m071.h | 112 ++++++++++++++++++++++++++------------------- 5 files changed, 186 insertions(+), 54 deletions(-) create mode 100644 board/a3m071/is46r16320d.h
MAINTAINERS +1 -0
@@ -389,6 +389,7 @@ Ricardo Ribalda <[email protected]> Stefan Roese <[email protected]> a3m071 MPC5200 + a4m2k MPC5200 P3M7448 MPC7448
board/a3m071/a3m071.c +84 -7
160 lines not on this page · raw message
board/a3m071/is46r16320d.h new file +35 -0
@@ -0,0 +1,35 @@ +/* +* (C) Copyright 2004 +* Mark Jonas, Freescale Semiconductor, mark.jonas at motorola.com. +* +* 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. +*/ + +#define SDRAM_DDR /* is DDR */ + +#if defined(CONFIG_MPC5200 ) +/* Settings for XLB = 132 MHz */ +/* see is46r16320d datasheet and MPC5200UM chap. 8.6.1. */ + +/* SDRAM Config Standard timing */ +#define SDRAM_MODE 0x008d0000 +#define SDRAM_EMODE 0x40010000 +#define SDRAM_CONTROL 0x70430f00 +#define SDRAM_CONFIG1 0x33622930 +#define SDRAM_CONFIG2 0x46670000 +#define SDRAM_TAPDELAY 0x10000000 + +#else +#error CONFIG_MPC5200 not defined +#endif
boards.cfg +1 -0
@@ -475,6 +475,7 @@ cmi_mpc5xx powerpc mpc5xx cmi PATI powerpc mpc5xx pati mpl a3m071 powerpc mpc5xxx a3m071 a4m072 powerpc mpc5xxx a4m072 +a4m2k powerpc mpc5xxx a3m071 - - a3m071:A4M2K BC3450 powerpc mpc5xxx bc3450 canmb powerpc mpc5xxx cm5200 powerpc mpc5xxx
include/configs/a3m071.h +65 -47
220 lines not on this page · raw message
Signature · 1 line
1.8.0.1
PATCH v2 1/1 mpc5200: Add a4m2k board port
This patch adds the a4m2k MPC5200B board port. Its a derivate of the a3m071 board with only minor changes.
Additionally this patch includes some clean-up changes:
- Remove I2C support from a3m071 as its unused
- Fix/enhance default env variables
- Fix some comments
- Add newly introduced CONFIG_SPL_TARGET to automatically build "u-boot-img.bin"
---
v2:
- Enable CAN1 on I2C in GPS Port Configuration for a4m2k
MAINTAINERS | 1 + board/a3m071/a3m071.c | 91 +++++++++++++++++++++++++++++++++--- board/a3m071/is46r16320d.h | 35 ++++++++++++++ boards.cfg | 1 + include/configs/a3m071.h | 112 ++++++++++++++++++++++++++------------------- 5 files changed, 186 insertions(+), 54 deletions(-) create mode 100644 board/a3m071/is46r16320d.h
MAINTAINERS +1 -0
@@ -389,6 +389,7 @@ Ricardo Ribalda <[email protected]> Stefan Roese <[email protected]> a3m071 MPC5200 + a4m2k MPC5200 P3M7448 MPC7448
board/a3m071/a3m071.c +84 -7
160 lines not on this page · raw message
board/a3m071/is46r16320d.h new file +35 -0
@@ -0,0 +1,35 @@ +/* +* (C) Copyright 2004 +* Mark Jonas, Freescale Semiconductor, mark.jonas at motorola.com. +* +* 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. +*/ + +#define SDRAM_DDR /* is DDR */ + +#if defined(CONFIG_MPC5200 ) +/* Settings for XLB = 132 MHz */ +/* see is46r16320d datasheet and MPC5200UM chap. 8.6.1. */ + +/* SDRAM Config Standard timing */ +#define SDRAM_MODE 0x008d0000 +#define SDRAM_EMODE 0x40010000 +#define SDRAM_CONTROL 0x70430f00 +#define SDRAM_CONFIG1 0x33622930 +#define SDRAM_CONFIG2 0x46670000 +#define SDRAM_TAPDELAY 0x10000000 + +#else +#error CONFIG_MPC5200 not defined +#endif
boards.cfg +1 -0
@@ -475,6 +475,7 @@ cmi_mpc5xx powerpc mpc5xx cmi PATI powerpc mpc5xx pati mpl a3m071 powerpc mpc5xxx a3m071 a4m072 powerpc mpc5xxx a4m072 +a4m2k powerpc mpc5xxx a3m071 - - a3m071:A4M2K BC3450 powerpc mpc5xxx bc3450 canmb powerpc mpc5xxx cm5200 powerpc mpc5xxx
include/configs/a3m071.h +65 -47
220 lines not on this page · raw message
Signature · 1 line
1.8.0.2