: tsi108 chip support
PATCH 3/8 : tsi108 chip support
Hello list,
inside the automatic U-Boot patch tracking system a new ticket [DNX#2006072842000088] was created:
<snip>
Quoted 90 lines
Tundra tsi108 chip support
Signed-off-by Alexandre Bounine <[email protected]>Signed-off-by Roy Zang <[email protected]>--- board/mpc7448hpc2/asm_init.S | 968 +++++++++++++++++++++++++++++++++++++++ board/mpc7448hpc2/tsi108.h | 129 +++++ board/mpc7448hpc2/tsi108_init.c | 662 +++++++++++++++++++++++++++ 3 files changed, 1759 insertions(+), 0 deletions(-)board/mpc7448hpc2/asm_init.S new file +1
-0@@ -0,0 +1,968 @@ +/*****************************************************************************
+ * (C) Copyright 2004-05; Tundra Semiconductor Corp.
+ *
+ * Added automatic detect of SDC settings
+ * Copyright (c) 2005 Freescale Semiconductor, Inc.
+ *
+ * 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
+
************************************************************************
****/board/mpc7448hpc2/asm_init.S new file +10
-1+ +/*--------------------------------------------------------------------- ------- + * FILENAME: asm_init.s + * + * Originator: Alex Bounine + * + * DESCRIPTION: + * Initialization code for the Tundra Tsi108 bridge chip + * +*-----------------------------------------------------------------------
----*/board/mpc7448hpc2/asm_init.S new file +11
-0+ +#include <config.h> +#include <version.h> + +#include <ppc_asm.tmpl> +#include <ppc_defs.h> +#include <asm/processor.h> + +#include "tsi108.h" + +/*===========================================================================
+ * Build Configuration Options
+ */board/mpc7448hpc2/asm_init.S new file +3
-0+ +/* #define DISABLE_PBM disables usage of PB Master */ +/* #define SDC_HARDCODED_INIT config SDRAM controller with hardcodedvalues */
board/mpc7448hpc2/asm_init.S new file +4
-0+/* #define SDC_AUTOPRECH_EN enable SDRAM auto precharge */ + + +/*========================================================================
===
+ * Hardcoded SDC settings
+ */board/mpc7448hpc2/asm_init.S new file +4
-0+ +#ifdef SDC_HARDCODED_INIT + +/* Micron MT9HTF6472AY-40EA1 : Unbuffered, 512MB, 400, CL3, Single Rank*/
board/mpc7448hpc2/asm_init.S new file +4
-0+ +#define VAL_SD_REFRESH (0x61A) +#define VAL_SD_TIMING (0x0308336b) +#define VAL_SD_D0_CTRL (0x07100021) /* auto-precharge disabled */
board/mpc7448hpc2/asm_init.S
Quoted 10 lines
board/mpc7448hpc2/asm_init.S new file +9
-1+#define VAL_SD_D0_BAR (0x0FE00000) /* 512MB @ 0x00000000 */ +#define VAL_SD_D1_CTRL (0x07100021) /* auto-precharge disabled */ +#define VAL_SD_D1_BAR (0x0FE00200) /* 512MB @ 0x20000000 */ + +#endif /* SDC_HARDCODED_INIT */ + + +/*--------------------------------------------------------------------- ------ + CPU Configuration:
</snip>
Your U-Boot support team