diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-10-09 17:32:28 +0800 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-09 17:32:28 +0800 |
commit | 0c0497c257c12c9ecb8825490a339bfce8a0532f (patch) | |
tree | 5ed9776845a63b56119b602237889e881a6dc856 /arch/blackfin/Kconfig | |
parent | 664d0403f96ff5f4fb43a4b3a54b5642589c57d2 (diff) | |
download | kernel_samsung_tuna-0c0497c257c12c9ecb8825490a339bfce8a0532f.zip kernel_samsung_tuna-0c0497c257c12c9ecb8825490a339bfce8a0532f.tar.gz kernel_samsung_tuna-0c0497c257c12c9ecb8825490a339bfce8a0532f.tar.bz2 |
Blackfin arch: Move all the silicon rev handling to one place
Move all the silicon rev handling to one place (Kconfig) and
make sure we warn if you are running on silicon that has not been tested on
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 10c97ef..8102c79 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig @@ -166,6 +166,19 @@ config BF561 endchoice +config BF_REV_MIN + int + default 0 if (BF52x || BF54x) + default 2 if (BF537 || BF536 || BF534) + default 3 if (BF561 ||BF533 || BF532 || BF531) + +config BF_REV_MAX + int + default 2 if (BF52x || BF54x) + default 3 if (BF537 || BF536 || BF534) + default 5 if (BF561) + default 6 if (BF533 || BF532 || BF531) + choice prompt "Silicon Rev" default BF_REV_0_1 if (BF52x || BF54x) |