From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 9/9] Add support for KARO TX25 board
Date: Fri, 15 Jan 2010 16:20:48 +0100 [thread overview]
Message-ID: <20100115152048.EB3013F6DA@gemini.denx.de> (raw)
In-Reply-To: <1263357841-5100-10-git-send-email-jcrigby@gmail.com>
Dear John Rigby,
In message <1263357841-5100-10-git-send-email-jcrigby@gmail.com> you wrote:
> This is an i.MX25 base board with only NAND
> so it uses nand_spl to boot.
>
> Signed-off-by: John Rigby <jcrigby@gmail.com>
>
> Tune configuration, add support for (redundant) environment in NAND.
> Signed-off-by: Wolfgang Denk <wd@denx.de>
This contains some test code that should be removed:
> diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c
> new file mode 100644
> index 0000000..51482ae
> --- /dev/null
> +++ b/board/karo/tx25/tx25.c
...
> +void tx25_fec_init(void)
> +{
> + struct iomuxc_mux_ctl *muxctl;
> + struct iomuxc_pad_ctl *padctl;
> + u32 val;
> + u32 gpio_mux_mode = MX25_PIN_MUX_MODE(5);
> + struct gpio_regs *gpio4 = (struct gpio_regs *)IMX_GPIO4_BASE;
> + struct gpio_regs *gpio3 = (struct gpio_regs *)IMX_GPIO3_BASE;
> + u32 saved_rdata0_mode, saved_rdata1_mode, saved_rx_dv_mode;
> +
> + printf("tx25_fec_init\n");
Make this debug(), please.
> + /* drop PHY power and assert reset (low) */
> + val = readl(&gpio4->dr) & ~((1 << 7) | (1 << 9));
> + writel(val, &gpio4->dr);
> + val = readl(&gpio4->dir) | (1 << 7) | (1 << 9);
> + writel(val, &gpio4->dir);
> +
> + mdelay(5);
> +
> + printf("resetting phy\n");
And this, too.
Except for these two changes:
Acked-by: Wolfgang Denk <wd@denx.de>
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"...one of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of
their C programs." - Robert Firth
next prev parent reply other threads:[~2010-01-15 15:20 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-13 4:43 [U-Boot] [PATCH 0/9] Add support for i.MX25 SOC and TX25 board John Rigby
2010-01-13 4:43 ` [U-Boot] [PATCH 1/9] mxc_serial replace platform specific clock John Rigby
2010-01-13 4:43 ` [U-Boot] [PATCH 2/9] arm926ejs: add nand_spl boot support John Rigby
2010-01-13 4:43 ` [U-Boot] [PATCH 3/9] Add v1.1 support to nand_spl fsl nfc driver John Rigby
2010-01-13 4:43 ` [U-Boot] [PATCH 4/9] Nand mxc_nand add v1.1 controller support John Rigby
2010-01-13 4:43 ` [U-Boot] [PATCH 5/9] fec_mxc: cleanup and factor out imx27 dependencies John Rigby
2010-01-13 4:43 ` [U-Boot] [PATCH 6/9] Add support for Freescale MX25 SOC John Rigby
2010-01-13 4:43 ` [U-Boot] [PATCH 7/9] fec_mxc: add imx25 support John Rigby
2010-01-13 4:44 ` [U-Boot] [PATCH 8/9] env_nand.c: print error message and fail gracefully John Rigby
2010-01-13 4:44 ` [U-Boot] [PATCH 9/9] Add support for KARO TX25 board John Rigby
2010-01-13 15:26 ` Fabio Estevam
2010-01-15 15:20 ` Wolfgang Denk [this message]
2010-01-15 22:28 ` [U-Boot] [PATCH 8/9] env_nand.c: print error message and fail gracefully Scott Wood
2010-01-13 15:10 ` [U-Boot] [PATCH 4/9] Nand mxc_nand add v1.1 controller support Fabio Estevam
2010-01-13 16:50 ` John Rigby
2010-01-15 0:48 ` Fabio Estevam
2010-01-15 16:49 ` John Rigby
2010-01-15 22:36 ` Scott Wood
2010-01-15 23:32 ` John Rigby
2010-01-13 15:15 ` [U-Boot] [PATCH 3/9] Add v1.1 support to nand_spl fsl nfc driver Fabio Estevam
2010-01-15 23:13 ` Scott Wood
2010-01-15 23:30 ` John Rigby
2010-01-15 23:48 ` Scott Wood
2010-01-15 15:09 ` [U-Boot] [PATCH 0/9] Add support for i.MX25 SOC and TX25 board Wolfgang Denk
2010-01-15 15:14 ` Wolfgang Denk
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=20100115152048.EB3013F6DA@gemini.denx.de \
--to=wd@denx.de \
--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.