mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-21 18:39:43 +09:00
Merge branch 'master' of git://git.denx.de/u-boot-microblaze
This commit is contained in:
commit
f889cedfad
@ -27,7 +27,9 @@
|
|||||||
|
|
||||||
I think this is a symptom of a bug in mb-gcc. JW 20040303
|
I think this is a symptom of a bug in mb-gcc. JW 20040303
|
||||||
*/
|
*/
|
||||||
static __inline__ __const__ __u16 ___arch__swab16 (__u16 half_word)
|
|
||||||
|
|
||||||
|
static __inline__ __u16 ___arch__swab16 (__u16 half_word)
|
||||||
{
|
{
|
||||||
/* 32 bit temp to cast result, forcing clearing of high word */
|
/* 32 bit temp to cast result, forcing clearing of high word */
|
||||||
__u32 temp;
|
__u32 temp;
|
||||||
|
@ -111,10 +111,6 @@ void board_init (void)
|
|||||||
gd = (gd_t *) CONFIG_SYS_GBL_DATA_OFFSET;
|
gd = (gd_t *) CONFIG_SYS_GBL_DATA_OFFSET;
|
||||||
#if defined(CONFIG_CMD_FLASH)
|
#if defined(CONFIG_CMD_FLASH)
|
||||||
ulong flash_size = 0;
|
ulong flash_size = 0;
|
||||||
#endif
|
|
||||||
#if defined(CONFIG_CMD_NET)
|
|
||||||
char *s, *e;
|
|
||||||
int i;
|
|
||||||
#endif
|
#endif
|
||||||
asm ("nop"); /* FIXME gd is not initialize - wait */
|
asm ("nop"); /* FIXME gd is not initialize - wait */
|
||||||
memset ((void *)gd, 0, CONFIG_SYS_GBL_DATA_SIZE);
|
memset ((void *)gd, 0, CONFIG_SYS_GBL_DATA_SIZE);
|
||||||
|
Loading…
Reference in New Issue
Block a user