firmware: minor screendump related cleanups
- Remove unused redefinitions of screen_dump() from bootloaders - Use empty do-while when screendump is compiled out Change-Id: I3ccdb0390ddaa28d8f561ff744d0db6aaef17f5d
This commit is contained in:
parent
238cd13469
commit
e956f7dc83
5 changed files with 2 additions and 22 deletions
|
@ -212,9 +212,3 @@ void main(void)
|
||||||
|
|
||||||
start_firmware();
|
start_firmware();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* These functions are present in the firmware library, but we reimplement
|
|
||||||
them here because the originals do a lot more than we want */
|
|
||||||
void screen_dump(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
|
@ -588,10 +588,6 @@ void main(void)
|
||||||
|
|
||||||
/* These functions are present in the firmware library, but we reimplement
|
/* These functions are present in the firmware library, but we reimplement
|
||||||
them here because the originals do a lot more than we want */
|
them here because the originals do a lot more than we want */
|
||||||
void screen_dump(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
int usb_screen(void)
|
int usb_screen(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -648,10 +648,6 @@ void main(void)
|
||||||
|
|
||||||
/* These functions are present in the firmware library, but we reimplement
|
/* These functions are present in the firmware library, but we reimplement
|
||||||
them here because the originals do a lot more than we want */
|
them here because the originals do a lot more than we want */
|
||||||
void screen_dump(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
int usb_screen(void)
|
int usb_screen(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -539,9 +539,3 @@ void main(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* These functions are present in the firmware library, but we reimplement
|
|
||||||
them here because the originals do a lot more than we want */
|
|
||||||
void screen_dump(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
|
@ -54,8 +54,8 @@
|
||||||
|
|
||||||
#ifdef BOOTLOADER
|
#ifdef BOOTLOADER
|
||||||
|
|
||||||
#define screen_dump()
|
#define screen_dump() do { } while(0)
|
||||||
#define remote_screen_dump()
|
#define remote_screen_dump() do { } while(0)
|
||||||
|
|
||||||
#else /* !BOOTLOADER */
|
#else /* !BOOTLOADER */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue