From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM DaVinci Leopard Board Support
Date: Mon, 18 May 2009 22:21:49 +0200 [thread overview]
Message-ID: <20090518202149.GG17539@game.jcrosoft.org> (raw)
In-Reply-To: <1242225160-26706-1-git-send-email-s-paulraj@ti.com>
On 10:32 Wed 13 May , s-paulraj at ti.com wrote:
> The patch applies to arm/next. It was tested on a leopard board.
> After testing had to change the MACH TYPE as this board is not present
> in the list of mach types at the moment. So the patch itself is going
> to give a compilation failure.
which number?
>
> Further details on this board can be found at www.leopardboard.org
>
> This patch does not do the NAND initialization yet. Will send an update
> to this patch after David Brownell's NAND updates get merged
>
> Jean-Christophe can you please do a new sync for this board
>
> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
> ---
> --- /dev/null
> +++ b/include/configs/davinci_leopard.h
> @@ -0,0 +1,130 @@
> +/*
> + * Copyright (C) 2009 Texas Instruments
> + *
> + * 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
> + */
> +
> +#ifndef __CONFIG_H
> +#define __CONFIG_H
> +#include <asm/sizes.h>
> +
> +
> +#define DAVINCI_LEOPARD
please CONFIG_
> +
> +#define CONFIG_SKIP_LOWLEVEL_INIT
> +#define CONFIG_SKIP_RELOCATE_UBOOT
> +#define CONFIG_SYS_NO_FLASH /* no *NOR* flash */
> +#define CONFIG_SYS_CONSOLE_INFO_QUIET
> +#define CONFIG_DISPLAY_CPUINFO
> +
> +/* SoC Configuration */
> +#define CONFIG_ARM926EJS /* arm926ejs CPU */
> +#define CONFIG_SYS_TIMERBASE 0x01c21400 /* use timer 0 */
> +#define CONFIG_SYS_HZ_CLOCK 24000000 /* TIMER 0 */
> +#define CONFIG_SYS_HZ 1000
> +#define CONFIG_SOC_DM355
> +
> +/* Memory Info */
> +#define CONFIG_NR_DRAM_BANKS 1
> +#define PHYS_SDRAM_1 0x80000000
> +#define PHYS_SDRAM_1_SIZE SZ_128M
> +
> +/* Serial Driver info: UART0 for console */
> +#define CONFIG_SYS_NS16550
> +#define CONFIG_SYS_NS16550_SERIAL
> +#define CONFIG_SYS_NS16550_REG_SIZE -4
> +#define CONFIG_SYS_NS16550_COM1 0x01c20000
> +#define CONFIG_SYS_NS16550_CLK CONFIG_SYS_HZ_CLOCK
> +#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
> +#define CONFIG_CONS_INDEX 1
> +#define CONFIG_BAUDRATE 115200
> +
> +/* Ethernet: external DM9000 just like DM355 EVM */
> +#define CONFIG_DRIVER_DM9000 1
> +#define CONFIG_DM9000_BASE 0x04000000
> +#define DM9000_IO CONFIG_DM9000_BASE
> +#define DM9000_DATA (CONFIG_DM9000_BASE + 16)
> +
> +/* I2C */
> +#define CONFIG_HARD_I2C
> +#define CONFIG_DRIVER_DAVINCI_I2C
> +#define CONFIG_SYS_I2C_SPEED 400000
> +#define CONFIG_SYS_I2C_SLAVE 0x10
> +
> +/* NYET -- #define CONFIG_NAND_DAVINCI */
> +#define CONFIG_SYS_NAND_HW_ECC
> +#define CONFIG_SYS_NAND_USE_FLASH_BBT
> +
> +#define CONFIG_SYS_NAND_SMALLPAGE
> +#define CONFIG_SYS_NAND_BASE_LIST { 0x02000000, }
please use macro
> +#define CONFIG_SYS_MAX_NAND_DEVICE 1
> +#define CONFIG_SYS_NAND_MAX_CHIPS 1
> +
> +/* U-Boot command configuration */
> +#include <config_cmd_default.h>
> +
> +#undef CONFIG_CMD_BDI
> +#undef CONFIG_CMD_FLASH
> +#undef CONFIG_CMD_FPGA
> +#undef CONFIG_CMD_SETGETDCR
> +#define CONFIG_CMD_ASKENV
> +#define CONFIG_CMD_DHCP
> +#define CONFIG_CMD_I2C
> +#define CONFIG_CMD_PING
> +#define CONFIG_CMD_SAVES
> +
> +/* TEMPORARY -- no safe place to save env, yet */
> +#define CONFIG_ENV_IS_NOWHERE
> +#undef CONFIG_CMD_SAVEENV
> +
> +#define CONFIG_CRC32_VERIFY
> +#define CONFIG_MX_CYCLIC
> +
> +/* U-Boot general configuration */
> +#undef CONFIG_USE_IRQ /* No IRQ/FIQ in U-Boot */
> +#define CONFIG_BOOTFILE "uImage" /* Boot file name */
> +#define CONFIG_SYS_PROMPT "LEOPARD EVM # "
> +#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
why 1k?
Best Regards,
J.
next prev parent reply other threads:[~2009-05-18 20:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 14:32 [U-Boot] [PATCH] ARM DaVinci Leopard Board Support s-paulraj at ti.com
2009-05-18 20:21 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-05-18 20:47 ` Wolfgang Denk
2009-05-18 20:54 ` Paulraj, Sandeep
2009-05-18 21:25 ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-18 22:13 ` Paulraj, Sandeep
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090518202149.GG17539@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.