mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 20:11:32 +00:00
More GCC 4.x woes
This commit is contained in:
parent
8de7ed3abe
commit
d2ed2f661b
3 changed files with 5 additions and 3 deletions
|
@ -47,7 +47,7 @@ trab_fkt.srec: trab_fkt.o rs485.o tsc2000.o $(LIB)
|
||||||
$(OBJCOPY) -O srec $(<:.o=) $@
|
$(OBJCOPY) -O srec $(<:.o=) $@
|
||||||
|
|
||||||
trab_fkt.bin: trab_fkt.srec
|
trab_fkt.bin: trab_fkt.srec
|
||||||
$(OBJCOPY) -O binary $< $@ 2>/dev/null
|
$(OBJCOPY) -I srec -O binary $< $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
|
|
@ -1647,7 +1647,8 @@ int usb_lowlevel_init(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME this is a second HC reset; why?? */
|
/* FIXME this is a second HC reset; why?? */
|
||||||
writel (gohci.hc_control = OHCI_USB_RESET, &gohci.regs->control);
|
gohci.hc_control = OHCI_USB_RESET;
|
||||||
|
writel (gohci.hc_control, &gohci.regs->control);
|
||||||
wait_ms (10);
|
wait_ms (10);
|
||||||
|
|
||||||
if (hc_start (&gohci) < 0) {
|
if (hc_start (&gohci) < 0) {
|
||||||
|
|
|
@ -408,6 +408,8 @@ void hang (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_MODEM_SUPPORT
|
#ifdef CONFIG_MODEM_SUPPORT
|
||||||
|
static inline void mdm_readline(char *buf, int bufsiz);
|
||||||
|
|
||||||
/* called from main loop (common/main.c) */
|
/* called from main loop (common/main.c) */
|
||||||
extern void dbg(const char *fmt, ...);
|
extern void dbg(const char *fmt, ...);
|
||||||
int mdm_init (void)
|
int mdm_init (void)
|
||||||
|
@ -416,7 +418,6 @@ int mdm_init (void)
|
||||||
char *init_str;
|
char *init_str;
|
||||||
int i;
|
int i;
|
||||||
extern char console_buffer[];
|
extern char console_buffer[];
|
||||||
static inline void mdm_readline(char *buf, int bufsiz);
|
|
||||||
extern void enable_putc(void);
|
extern void enable_putc(void);
|
||||||
extern int hwflow_onoff(int);
|
extern int hwflow_onoff(int);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue