diff --git a/src/device/flash.c b/src/device/flash.c index 9729bf1dd..c988ed9be 100644 --- a/src/device/flash.c +++ b/src/device/flash.c @@ -38,8 +38,8 @@ void load_flash_contents(const char *flash_img) { } if (!flash_img || !(fp = fopen(flash_img, "r"))) { - Log("Can not find flash image: %s", flash_img); - Log("Use built-in image instead"); + // Log("Can not find flash image: %s", flash_img); + // Log("Use built-in image instead"); uint32_t *p = (uint32_t *)flash_base; sscanf(CONFIG_FLASH_PRESET_CONTENT, "%x,%x,%x", p, p + 1, p + 2); } else { diff --git a/src/device/io/mmio.c b/src/device/io/mmio.c index 42a622c05..26444279e 100644 --- a/src/device/io/mmio.c +++ b/src/device/io/mmio.c @@ -35,9 +35,9 @@ void add_mmio_map(const char *name, paddr_t addr, void *space, uint32_t len, io_ assert(nr_map < NR_MAP); maps[nr_map] = (IOMap){ .name = name, .low = addr, .high = addr + len - 1, .space = space, .callback = callback }; - Log("Add mmio map '%s' at [" FMT_PADDR ", " FMT_PADDR "]", - maps[nr_map].name, maps[nr_map].low, maps[nr_map].high); - fflush(stdout); + // Log("Add mmio map '%s' at [" FMT_PADDR ", " FMT_PADDR "]", + // maps[nr_map].name, maps[nr_map].low, maps[nr_map].high); + // fflush(stdout); nr_map ++; }