Changes for U-Boot 1.1.4:
======================================================================
+* Cleanup
+
* Enable SM712 driver support for HMI1001 board.
* Fix problems with ld version 2.16 (dot outside sections problem)
#include <common.h>
#include <mpc5xxx.h>
#include <pci.h>
+#include <malloc.h>
#ifndef CFG_RAMBOOT
static void sdram_start (int hi_addr)
return kbd_data;
}
-static int compare_magic (struct kbd_data_t *kbd_data, uchar *str)
+static int compare_magic (const struct kbd_data_t *kbd_data, uchar *str)
{
char s1 = str[0];
char s2;
#endif /* CONFIG_PREBOOT */
-int misc_init_f (void)
-{
-}
-
int misc_init_r (void)
{
#ifdef CONFIG_PREBOOT
NetCksum(uchar * ptr, int len)
{
ulong xsum;
- ushort *p = ptr;
+ ushort *p = (ushort*)ptr;
xsum = 0;
while (len-- > 0)