From 67267a93997770a2f59d606b5eb2f2d96b3a1437 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 13 Nov 2019 11:08:56 -0800 Subject: [PATCH] fomu: bsp: remove unused messible functions These functions are unused in the current implementation. Signed-off-by: Sean Cross --- hw/bsp/fomu/{bsp.c => fomu.c} | 17 ----------------- 1 file changed, 17 deletions(-) rename hw/bsp/fomu/{bsp.c => fomu.c} (90%) diff --git a/hw/bsp/fomu/bsp.c b/hw/bsp/fomu/fomu.c similarity index 90% rename from hw/bsp/fomu/bsp.c rename to hw/bsp/fomu/fomu.c index 3910cff44..3303a0826 100644 --- a/hw/bsp/fomu/bsp.c +++ b/hw/bsp/fomu/fomu.c @@ -36,26 +36,10 @@ void hal_dcd_isr(uint8_t rhport); -void mputs(const char *str) { - (void)str; - while (*str) { - while ( (messible_status_read() & CSR_MESSIBLE_STATUS_FULL_OFFSET)) - ; - messible_in_write(*str); - str++; - } -} - -void mputln(const char *str) { - mputs(str); - mputs("\n"); -} - void fomu_error(uint32_t line) { (void)line; TU_BREAKPOINT(); - // while (1) {} } volatile uint32_t system_ticks = 0; @@ -90,7 +74,6 @@ void isr(void) void board_init(void) { - mputln("Fomu Initializing"); irq_setmask(0); irq_setie(1); timer_init();