Remove usage of hal_flash_align
`hal_flash_*` functions were replaced by `flash_area_*` with similar
functionality.
Signed-off-by: Fabio Utzig <utzig@apache.org>
diff --git a/sim/mcuboot-sys/csupport/run.c b/sim/mcuboot-sys/csupport/run.c
index 8891c17..ece8555 100644
--- a/sim/mcuboot-sys/csupport/run.c
+++ b/sim/mcuboot-sys/csupport/run.c
@@ -127,12 +127,6 @@
return sim_flash_erase(address, num_bytes);
}
-uint8_t hal_flash_align(uint8_t flash_id)
-{
- (void)flash_id;
- return sim_flash_align;
-}
-
void *os_malloc(size_t size)
{
// printf("os_malloc 0x%x bytes\n", size);