summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-30 21:49:38 +0000
committerwdenk <wdenk>2003-10-30 21:49:38 +0000
commitb13fb01a62708492cae4b33c4d6fa9ae127905f4 (patch)
tree66ae0d558907465ecbebb815f8be02a4257e5c55 /include
parent5fa66df63afe2841ce27596996811469903373a7 (diff)
downloadu-boot-b13fb01a62708492cae4b33c4d6fa9ae127905f4.tar.gz
u-boot-b13fb01a62708492cae4b33c4d6fa9ae127905f4.tar.xz
u-boot-b13fb01a62708492cae4b33c4d6fa9ae127905f4.zip
* Fix parameter passing to standalone images with bootm commandU-Boot-1_0_0
* Patch by Kyle Harris, 30 Oct 2003: Fix build errors for ixdp425 board * Patch by David M. Horn, 29 Oct 2003: Fixes to build under CYGWIN * Get IceCube MGT5100 working (again)
Diffstat (limited to 'include')
-rw-r--r--include/configs/IceCube.h5
-rw-r--r--include/elf.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h
index 49abedeb32..821d3b9aca 100644
--- a/include/configs/IceCube.h
+++ b/include/configs/IceCube.h
@@ -213,8 +213,13 @@
/*
* Various low-level settings
*/
+#if defined(CONFIG_MPC5200)
#define CFG_HID0_INIT HID0_ICE | HID0_ICFI
#define CFG_HID0_FINAL HID0_ICE
+#else
+#define CFG_HID0_INIT 0
+#define CFG_HID0_FINAL 0
+#endif
#define CFG_BOOTCS_START CFG_FLASH_BASE
#define CFG_BOOTCS_SIZE CFG_FLASH_SIZE
diff --git a/include/elf.h b/include/elf.h
index 4ea3926f83..d0febc58cd 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -41,6 +41,11 @@
#include <inttypes.h>
#elif defined(__linux__) && defined(USE_HOSTCC)
#include <stdint.h>
+#elif defined(__WIN32__)
+#include <unistd.h>
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
#endif
/*