mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-04-21 12:27:27 +03:00
qi-add-steppingstone-section-for-putc.patch
We need putc even when we are operating entirely from steppingstone. Arrange that the board-specific putc code is in a section that goes into steppingstone, and adapt the utils.c putc() so that it no longer needs to indirect through the board_api struct that is in main memory. Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
@@ -341,7 +341,7 @@ const struct board_variant const * get_board_variant_gta02(void)
|
||||
return &board_variants[gta02_get_pcb_revision() & 1];
|
||||
}
|
||||
|
||||
static void putc_gta02(char c)
|
||||
static __attribute__ (( section (".steppingstone") )) void putc_gta02(char c)
|
||||
{
|
||||
serial_putc_s3c24xx(GTA02_DEBUG_UART, c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user