[U-Boot-Users] [DNX#2006110242000047] [PATCH 02/10 v3]: mpc7448hpc2 platf [...]
DENX Support System
support at denx.de
Thu Nov 2 10:30:02 CET 2006
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006110242000047] was created:
<snip>
> Add mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
> The mpc7448hpc2 board support low level assemble language init code .
>
> Signed-off-by: Alexandre Bounine <alexandreb at tundra.com>
> Signed-off-by: Roy Zang <tie-fei.zang at freescale.com>
>
> ---
> board/mpc7448hpc2/asm_init.S | 955
> ++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 955 insertions(+), 0 deletions(-)
>
> diff --git a/board/mpc7448hpc2/asm_init.S b/board/mpc7448hpc2/asm_init.S
> new file mode 100644
> index 0000000..8c15a3d
> --- /dev/null
> +++ b/board/mpc7448hpc2/asm_init.S
> @@ -0,0 +1,955 @@
> +/*****************************************************************************
> + * (C) Copyright 2004-05; Tundra Semiconductor Corp.
> + *
> + * Added automatic detect of SDC settings
> + * Copyright (c) 2005 Freescale Semiconductor, Inc.
> + * Maintainer tie-fei.zang at freescale.com
> + *
> + * 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
> + ****************************************************************************/
> +
> +/*----------------------------------------------------------------------------
> + * FILENAME: asm_init.s
> + *
> + * Originator: Alex Bounine
> + *
> + * DESCRIPTION:
> + * Initialization code for the Tundra Tsi108 bridge chip
> + *
> + *---------------------------------------------------------------------------*/
> +
> +#include <config.h>
> +#include <version.h>
> +
> +#include <ppc_asm.tmpl>
> +#include <ppc_defs.h>
> +#include <asm/processor.h>
> +
> +#include <tsi108.h>
> +
> +/*===========================================================================
> + * Build Configuration Options
> + */
> +
> +/* #define DISABLE_PBM disables usage of PB Master */
> +/* #define SDC_HARDCODED_INIT config SDRAM controller with hardcoded
> values */
> +/* #define SDC_AUTOPRECH_EN enable SDRAM auto precharge */
> +
> +/* ===========================================================================
> + * Hardcoded SDC settings
> + */
> +
> +#ifdef SDC_HARDCODED_INIT
> +
> +/* Micron MT9HTF6472AY-40EA1 : Unbuffered, 512MB, 400, CL3, Single Rank
> */
> +
> +#define VAL_SD_REFRESH (0x61A)
> +#define VAL_SD_TIMING (0x0308336b)
> +#define VAL_SD_D0_CTRL (0x07100021) /* auto-precharge disabled */
> +#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:
> +
> + CPU Address and Data Parity enables.
> +
> +#define CPU_AP
> +#define CPU_DP
> +
> +===========================================================================
> + Macros
> +
> + !!! Attention !!! Macros LOAD_PTR, LOAD_U32 and LOAD_MEM defined below
> are
> + expected to work correctly for the CSR space within 32KB range.
</snip>
Your U-Boot support team
More information about the U-Boot
mailing list