diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/IceCube.h | 5 | ||||
| -rw-r--r-- | include/elf.h | 5 | 
2 files changed, 10 insertions, 0 deletions
| diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h index 49abedeb3..821d3b9ac 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 4ea3926f8..d0febc58c 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  /* |