Commit db7eccfb authored by Sergei Poselenov's avatar Sergei Poselenov

RT #92025. make "k70-som_config" to configure for 150MHz SOC.

parent 64a539c5
......@@ -3268,8 +3268,8 @@ lpc-lnx-evb_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexm3 lpc-lnx-evb emcraft lpc178x
k61-som_config \
k61-som-150_config \
k70-som-150_config \
k61-som-120_config \
k70-som-120_config \
k70-som_config : unconfig
@mkdir -p $(obj)include
@ >$(obj)include/config.h
......@@ -3278,9 +3278,9 @@ k70-som_config : unconfig
echo "...for K61-SOM" ; \
}
@[ -z "$(findstring -150,$@)" ] || \
{ echo "#define CONFIG_KINETIS_150MHZ" >>$(obj)include/config.h ; \
echo "...for 150MHz" ; \
@[ -z "$(findstring -120,$@)" ] || \
{ echo "#define CONFIG_KINETIS_120MHZ" >>$(obj)include/config.h ; \
echo "...for 120MHz" ; \
}
@$(MKCONFIG) -a k70-som arm arm_cortexm3 k70-som emcraft kinetis
......
......@@ -50,8 +50,8 @@
#define CONFIG_KINETIS_K70
#endif
#ifndef CONFIG_KINETIS_150MHZ
#define CONFIG_KINETIS_120MHZ
#ifndef CONFIG_KINETIS_120MHZ
#define CONFIG_KINETIS_150MHZ
#endif
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment