From 3f85ce27858c44ee75d3650a53154ebcec0e24f2 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 23 Feb 2004 16:11:30 +0000 Subject: * CVS add missing files * Cleanup compiler warnings * Fix problem with side effects in macros in include/usb.h * Patch by David Benson, 13 Nov 2003: bug 841358 - fix TFTP download size limit * Fixing bug 850768: improper flush_cache() in load_serial() * Fixing bug 834943: MPC8540 - missing volatile declarations * Patch by Stephen Williams, 09 Feb 2004: Add support for Xilinx SystemACE chip: - New files common/cmd_ace.c and include/systemace.h - Hook systemace support into cmd_fat and the partition manager * Patch by Travis Sawyer, 09 Feb 2004: Add bi_opbfreq & bi_iic_fast to 440GX bd_info as needed for Linux --- common/cmd_fat.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/cmd_fat.c') diff --git a/common/cmd_fat.c b/common/cmd_fat.c index 7bd4b51950..150a2ea67c 100644 --- a/common/cmd_fat.c +++ b/common/cmd_fat.c @@ -62,6 +62,12 @@ block_dev_desc_t *get_dev (char* ifname, int dev) extern block_dev_desc_t * mmc_get_dev(int dev); 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; } -- cgit v1.2.1