stm32: flash: pull up prefetch to _all
Turns out, there's lots of common code for flash. Pull up prefetch on/off to start with, as there's only a single bit name different. Pull up the definitions of common API functions too, starting with flash_set_ws. Even if the implementations are different, things that meant to be the same, should be defined centrally.
This commit is contained in:
@@ -42,7 +42,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
|
||||
|
||||
ARFLAGS = rcs
|
||||
|
||||
OBJS = flash.o pwr.o rcc.o
|
||||
OBJS = flash_common_all.o flash.o pwr.o rcc.o
|
||||
OBJS += gpio.o gpio_common_all.o gpio_common_f0234.o
|
||||
|
||||
OBJS += rcc_common_all.o
|
||||
|
||||
Reference in New Issue
Block a user