From: Stephen Williams <gfi8d1h02@sneakemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] SystemACE support for u-boot via fat
Date: Thu, 05 Feb 2004 09:29:20 -0800 [thread overview]
Message-ID: <27102-76102@sneakemail.com> (raw)
In-Reply-To: <20040205092533.1FC23C10A3@atlas.denx.de>
Wolfgang Denk wd-at-denx.de |u-boot-users| wrote:
> In message <27598-21055@sneakemail.com> you wrote:
>
>>I've made a patch relative the current CVS (at sourceforge)
>>that adds support for a Xilinx SystemACE chip directly
>>attached to the PPC. (Well, conceivably any CPU type.)
>>
>>I've made the bundle of diffs and new files available for
>>ftp download here:
>
>
> It doesn't work this way. Please you submit your patches to the list
> (or to me).
>
> Best regards,
>
> Wolfgang Denk
>
I hope this survives all the mailers. This is the patch
itself. The new files in the next messages.
Changelog here:
* Add support for Xilinx SystemACE chip:
New file common/cmd_ace.c
New file include/systemace.h
Hook systemace support into cmd_fat and the partition manager.
? disk/.depend
Index: common/Makefile
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/Makefile,v
retrieving revision 1.14
diff -p -u -r1.14 Makefile
--- common/Makefile 6 Jan 2004 22:38:21 -0000 1.14
+++ common/Makefile 5 Feb 2004 02:29:51 -0000
@@ -28,7 +28,7 @@ LIB = libcommon.a
AOBJS =
COBJS = main.o ACEX1K.o altera.o bedbug.o \
- cmd_autoscript.o \
+ cmd_ace.o cmd_autoscript.o \
cmd_bdinfo.o cmd_bedbug.o cmd_bmp.o cmd_boot.o cmd_bootm.o \
cmd_cache.o cmd_console.o \
cmd_date.o cmd_dcr.o cmd_diag.o cmd_doc.o cmd_dtt.o \
Index: common/cmd_fat.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/cmd_fat.c,v
retrieving revision 1.7
diff -p -u -r1.7 cmd_fat.c
--- common/cmd_fat.c 15 Oct 2003 23:53:50 -0000 1.7
+++ common/cmd_fat.c 5 Feb 2004 02:29:51 -0000
@@ -63,6 +63,12 @@ block_dev_desc_t *get_dev (char* ifname,
return(mmc_get_dev(dev));
}
#endif
+#if defined(CONFIG_SYSTEMACE)
+ if (strcmp(ifname,"ace")==0) {
+ extern block_dev_desc_t * systemace_get_dev(int dev);
+ return(systemace_get_dev(dev));
+ }
+#endif
return NULL;
}
Index: disk/part.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/disk/part.c,v
retrieving revision 1.6
diff -p -u -r1.6 part.c
--- disk/part.c 3 Jan 2004 19:43:49 -0000 1.6
+++ disk/part.c 5 Feb 2004 02:29:51 -0000
@@ -36,7 +36,7 @@
#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
(CONFIG_COMMANDS & CFG_CMD_SCSI) || \
(CONFIG_COMMANDS & CFG_CMD_USB) || \
- (CONFIG_MMC) )
+ (CONFIG_MMC) || (CONFIG_SYSTEMACE) )
/*
------------------------------------------------------------------------- */
/*
@@ -107,7 +107,8 @@ void dev_print (block_dev_desc_t *dev_de
#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
(CONFIG_COMMANDS & CFG_CMD_SCSI) || \
- (CONFIG_COMMANDS & CFG_CMD_USB) )
+ (CONFIG_COMMANDS & CFG_CMD_USB) || \
+ defined(CONFIG_SYSTEMACE) )
#if defined(CONFIG_MAC_PARTITION) || \
defined(CONFIG_DOS_PARTITION) || \
Index: disk/part_dos.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/disk/part_dos.c,v
retrieving revision 1.6
diff -p -u -r1.6 part_dos.c
--- disk/part_dos.c 10 Sep 2003 22:30:55 -0000 1.6
+++ disk/part_dos.c 5 Feb 2004 02:29:52 -0000
@@ -37,7 +37,8 @@
#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
(CONFIG_COMMANDS & CFG_CMD_SCSI) || \
- (CONFIG_COMMANDS & CFG_CMD_USB) ) && defined(CONFIG_DOS_PARTITION)
+ (CONFIG_COMMANDS & CFG_CMD_USB) || \
+ (CONFIG_SYSTEMACE)) && defined(CONFIG_DOS_PARTITION)
/* Convert char[4] in little endian format to the host format integer
*/
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
next parent reply other threads:[~2004-02-05 17:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040205092533.1FC23C10A3@atlas.denx.de>
2004-02-05 17:29 ` Stephen Williams [this message]
2004-02-09 23:44 ` [U-Boot-Users] SystemACE support for u-boot via fat Wolfgang Denk
2004-02-05 17:33 ` Stephen Williams
2004-02-09 23:43 ` Wolfgang Denk
2004-02-10 0:29 ` Stephen Williams
2004-02-10 8:41 ` Stephan Linz
2004-02-10 17:52 ` Stephen Williams
2004-02-10 22:22 ` Wolfgang Denk
2004-02-23 0:05 ` Wolfgang Denk
2004-02-10 18:09 Demke, Torsten
2004-02-10 18:18 ` Stephen Williams
-- strict thread matches above, loose matches on Subject: below --
2004-02-05 2:53 Stephen Williams
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=27102-76102@sneakemail.com \
--to=gfi8d1h02@sneakemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox