xtensa: simplify addition of new core variants
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 16 Jun 2014 03:25:06 +0000 (07:25 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Aug 2014 07:59:08 +0000 (11:59 +0400)
commit420ae9518404c4aeda3abc8e017c8fdcc3a13d6b
tree36c40eae5e715e35a8cb77899154d9e1398fa95f
parent64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91
xtensa: simplify addition of new core variants

Instead of adding new Kconfig options and Makefile rules for each new
core variant provide XTENSA_VARIANT_CUSTOM variant and record variant
name in the XTENSA_VARIANT_NAME variable. Adding new core variant now
means providing directory structure under arch/xtensa/variant and
specifying correct name in kernel configuration.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig
arch/xtensa/Makefile