diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-12-30 13:01:13 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-12-30 13:01:13 +0000 |
commit | eab47ad80e68d3576d026c386f194fe47ab21055 (patch) | |
tree | 969bde714aec191f89ab274a5f55f350781dbc3b /c/src/lib/libbsp/powerpc/shared/uboot_dump_bdinfo.c | |
parent | 2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-eab47ad80e68d3576d026c386f194fe47ab21055.tar.bz2 |
2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/uboot_dump_bdinfo.c: Include <bsp/u-boot.h> if necessary.
* shared/include/u-boot-board-info.h: New file.
* shared/include/u-boot.h: Removed file.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/uboot_dump_bdinfo.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/uboot_dump_bdinfo.c b/c/src/lib/libbsp/powerpc/shared/uboot_dump_bdinfo.c index a50a98f3cc..b138daabdc 100644 --- a/c/src/lib/libbsp/powerpc/shared/uboot_dump_bdinfo.c +++ b/c/src/lib/libbsp/powerpc/shared/uboot_dump_bdinfo.c @@ -11,19 +11,11 @@ #include <bsp.h> -#include <rtems/bspIo.h> -/* - * This file should only be compiled if the BSP has U-Boot. - * In addition, this function does not support every PowerPC - * CPU model listed in the bd_t structure. Users are encouraged - * to augment this code. The following #error should be fixed - * as more CPU models are supported. - */ #if defined(HAS_UBOOT) - #if !defined(CONFIG_MPC5xxx) - #error "dumpUBootDBInfo: unsupported configuration!!" - #endif + +#include <bsp/u-boot.h> +#include <rtems/bspIo.h> /* * Dump U-Boot Board Information Structure @@ -78,7 +70,6 @@ void dumpUBootBDInfo( u->bi_pcifreq #endif ); - } -#endif +#endif |