mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 13:53:21 +09:00
dm: sparc: Fixup the compile warnings in sparc code
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: u-boot-dm@lists.denx.de
This commit is contained in:
parent
d97f01a64f
commit
b2f2760006
@ -207,9 +207,9 @@ void do_irqinfo(cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char * const a
|
|||||||
|
|
||||||
for (irq = 0; irq < NR_IRQS; irq++) {
|
for (irq = 0; irq < NR_IRQS; irq++) {
|
||||||
if (irq_handlers[irq].handler != NULL) {
|
if (irq_handlers[irq].handler != NULL) {
|
||||||
printf("%02d %08lx %08lx %ld\n", irq,
|
printf("%02d %p %p %d\n", irq,
|
||||||
(unsigned int)irq_handlers[irq].handler,
|
irq_handlers[irq].handler,
|
||||||
(unsigned int)irq_handlers[irq].arg,
|
irq_handlers[irq].arg,
|
||||||
irq_handlers[irq].count);
|
irq_handlers[irq].count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -209,9 +209,9 @@ void do_irqinfo(cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char * const a
|
|||||||
|
|
||||||
for (irq = 0; irq < NR_IRQS; irq++) {
|
for (irq = 0; irq < NR_IRQS; irq++) {
|
||||||
if (irq_handlers[irq].handler != NULL) {
|
if (irq_handlers[irq].handler != NULL) {
|
||||||
printf("%02d %08lx %08lx %ld\n", irq,
|
printf("%02d %p %p %d\n", irq,
|
||||||
(unsigned int)irq_handlers[irq].handler,
|
irq_handlers[irq].handler,
|
||||||
(unsigned int)irq_handlers[irq].arg,
|
irq_handlers[irq].arg,
|
||||||
irq_handlers[irq].count);
|
irq_handlers[irq].count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -166,7 +166,6 @@ char *str_init_seq_done = "\n\rInit sequence done...\r\n\r\n";
|
|||||||
void board_init_f(ulong bootflag)
|
void board_init_f(ulong bootflag)
|
||||||
{
|
{
|
||||||
bd_t *bd;
|
bd_t *bd;
|
||||||
unsigned char *s;
|
|
||||||
init_fnc_t **init_fnc_ptr;
|
init_fnc_t **init_fnc_ptr;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user