From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Update for 5329
Date: Thu, 2 Aug 2007 07:56:18 +0200 [thread overview]
Message-ID: <200708020756.18460.sr@denx.de> (raw)
In-Reply-To: <4791E710007FEB4BBF83775D787F462F04934CBB@az33exm22.fsl.freescale.net>
Hi TsiChung,
please find some comments below.
On Wednesday 01 August 2007, Liew Tsi Chung-r5aahp wrote:
> Here is the updates:
> 1. Update-CONFIG_MCFUART.patch
> 2. Added-common-define-CONFIG_CF_MII-for-do_mii.patch
> diff --git a/common/cmd_mii.c b/common/cmd_mii.c
> index c3f43d7..181f2e7 100644
> --- a/common/cmd_mii.c
> +++ b/common/cmd_mii.c
> @@ -438,7 +438,7 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, int argc, char
> *argv[]) int rcode = 0;
> char *devname;
>
> -#if defined(CONFIG_8xx) || defined(CONFIG_MCF532x)
> +#if defined(CONFIG_8xx) || defined(CONFIG_CF_DOMII)
Please add either a generic define name (not ColdFire specific) or even better
add declare this mii_init() function as __weak__:
void __mii_init(void)
{
}
int mii_init(void) __attribute__((weak, alias("__mii_init")));
This way we can get rid of these #defines completely.
> 3. Moved-sync-from-m5329evb.c-to-include-asm-m68k-io.patch
Does not apply. I did some cleanup on your original patches, so please rebase
your work on the u-boot-coldfire custodian repository.
> 4. Added-uart_gpio_conf-for-port-configuration.patch
> 5. Update-timer.patch
> 6. Added-fsl_i2c-header-file.patch
> 7. Added-NAND-Flash-support-and-I2C-support.patch
> diff --git a/board/freescale/m5329evb/m5329evb.c
> b/board/freescale/m5329evb/m5329evb.c index 242eb1a..d23b1c2 100644
> --- a/board/freescale/m5329evb/m5329evb.c
> +++ b/board/freescale/m5329evb/m5329evb.c
> @@ -26,6 +26,7 @@
>
> #include <config.h>
> #include <common.h>
> +#include <asm/io.h>
> #include <asm/immap.h>
>
> DECLARE_GLOBAL_DATA_PTR;
> @@ -86,3 +87,85 @@ int testdram(void)
>
> return (0);
> }
> +
> +#if (CONFIG_COMMANDS & CFG_CMD_NAND)
> +#include <nand.h>
> +#include <linux/mtd/mtd.h>
> +
> +#define SET_CLE 0x10
> +#define CLR_CLE ~SET_CLE
> +#define SET_ALE 0x08
> +#define CLR_ALE ~SET_ALE
> +
> +static void nand_hwcontrol(struct mtd_info *mtdinfo, int cmd)
> +{
Please move this NAND support into a separate file
(board/freescale/m5329evb/nand.c).
> 8. Added-GPIO-enabled-for-I2C-signals.patch
As already mentioned above, could you please rebase you patches on the current
u-boot-coldfire repository? And please address the comments above and
resubmit. I'll try to merge the patches soon, so that they can be applied to
mainline before the new merge window closes.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2007-08-02 5:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 16:13 [U-Boot-Users] Update for 5329 Liew Tsi Chung-r5aahp
2007-08-01 17:28 ` Craig Day
2007-08-02 5:23 ` Stefan Roese
2007-08-02 15:14 ` Craig Day
2007-08-02 15:22 ` Stefan Roese
2007-08-02 5:56 ` Stefan Roese [this message]
2007-08-06 20:52 ` [U-Boot-Users] Update for 5329 - part I Liew Tsi Chung-r5aahp
2007-08-08 8:02 ` Stefan Roese
2007-08-06 20:53 ` [U-Boot-Users] Update for 5329 - part II Liew Tsi Chung-r5aahp
2007-08-08 8:03 ` Stefan Roese
2007-08-08 8:08 ` Liew Tsi Chung-r5aahp
2007-08-14 17:27 ` [U-Boot-Users] ColdFire: Timer and MCF52x2 update Liew Tsi Chung-r5aahp
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=200708020756.18460.sr@denx.de \
--to=sr@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox