From: Geert Uytterhoeven Date: Fri, 17 May 2013 09:05:25 +0000 (+0200) Subject: h8300: Mark H83002 and H83048 CPU support broken X-Git-Tag: next-20130607~122^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=31b1644e15d9e107d1a08c54837196e80e7b7b18;p=karo-tx-linux.git h8300: Mark H83002 and H83048 CPU support broken arch/h8300/include/asm/io.h supports only H83007 (H8/3006,3007), H83068 (H8/3065,3066,3067,3068,3069), and H8S2678 (H8S/2670,2673,2674R,2675,2676) CPU types. Hence disable H83002 (H8/3001,3002,3003) and H83048 (H8/3044,3045,3046,3047,3048,3052) CPU support at the Kconfig level. This fixes build failures in allmodconfig/allyesconfig builds, as these always choose the first CPU type (H83002), which was unsupported: arch/h8300/include/asm/io.h:13:2: error: #error UNKNOWN CPU TYPE Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/h8300/Kconfig.cpu b/arch/h8300/Kconfig.cpu index c8ea74a29cd3..cdee771460ed 100644 --- a/arch/h8300/Kconfig.cpu +++ b/arch/h8300/Kconfig.cpu @@ -64,6 +64,7 @@ choice config H83002 bool "H8/3001,3002,3003" + depends on BROKEN select CPU_H8300H config H83007 @@ -72,6 +73,7 @@ config H83007 config H83048 bool "H8/3044,3045,3046,3047,3048,3052" + depends on BROKEN select CPU_H8300H config H83068