Files
OpenCellular/common
Randall Spangler d3dffe2532 stm32: Add CHIP_FAMILY defines
Previously, code which needed to work on all STM32F platforms needed
to specify them by name (CHIP_VARIANT_stm32f100 ||
CHIP_VARIANT_stm32f10x), and we needed extra symlinks in the
chip/stm32/ directory to allow the build system to find
family-specific files.

Add a CHIP_FAMILY level of abstraction, so that things which are
common across all STM32F platforms don't need to specify every STM32F
variant.  Make the chip build look for family-specific filenames
instead of variant-specific filenames (except for config*.h, which is
actually variant specific).

In the few places where things actually are variant-specific, keep
using the existing CHIP_VARIANT defines.

Code refactoring only; no functional changes.

BUG=chrome-os-partner:20567
BRANCH=none
TEST=build all platforms

Change-Id: I1da831aadabf8b8dd9dfde423cac13c9f43eb953
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/60247
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Vic Yang <victoryang@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2013-07-01 10:19:49 -07:00
..
2012-10-26 09:49:38 -07:00
2012-07-17 13:11:44 -07:00
2013-07-01 10:19:49 -07:00
2013-07-01 10:19:49 -07:00
2013-05-07 09:09:50 -07:00
2013-03-29 15:39:32 -07:00
2012-10-26 09:49:38 -07:00
2012-10-25 14:12:10 -07:00
2013-06-10 01:48:44 -07:00
2012-10-25 17:03:44 -07:00
2013-06-17 20:27:27 -07:00
2012-11-26 14:49:49 -08:00