Commit ec7d8898 authored by Sergei Poselenov's avatar Sergei Poselenov
Browse files

RT #90499. Redo integration of stm-som 1a and 2a:

 make stm-som_config - for 2A
 make stm-som-1a_config - for 1A
parent 39b7844b
......@@ -3234,8 +3234,17 @@ a2f-hoermann-brd_config : unconfig
sf2-dev-kit_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexm3 sf2-dev-kit actel m2s
stm-som_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexm3 stm-som emcraft stm32
stm-som_config \
stm-som-1a_config : unconfig
@mkdir -p $(obj)include
@ >$(obj)include/config.h
@[ -z "$(findstring 1a,$@)" ] || \
{ echo "#define CONFIG_SYS_BOARD_REV 0x1A" >>$(obj)include/config.h ; \
echo "...for STM-SOM Rev 1A" ; \
}
@$(MKCONFIG) -a stm-som arm arm_cortexm3 stm-som emcraft stm32
stm3220g-eval_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexm3 stm3220g-eval stm stm32
......
......@@ -29,8 +29,9 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#if !defined(CONFIG_SYS_BOARD_REV)
#define CONFIG_SYS_BOARD_REV 0x2A
#endif
/*
* Disable debug messages
......
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