linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Loongson: Kconfig: add MACH_LOONGSON dependency

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] MIPS: Loongson: Kconfig: add MACH_LOONGSON dependency
From: Антон Павлов <antonynpavlov@gmail.com>
Date: Thu, 17 Feb 2011 12:46:56 +0300
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=aprv5tCK4uqXmtfan0pY1IWK6XZnYhYGgzNgrH8qLz0=; b=H/qgx/ilhafyeIanG0GfcfcrnIOIP2kRl3fwlQebONm8NyBEab3NWK3KNmtfWCc/2Y eeMZQFcDKvdCkNIY2EpSaehzX8Z99ddwOgx/AK4XRHXtZ0cwqIYD0iCrO4ubMUyymxu3 ku75wSRyFGlltNzrwH+q7Ph8/Ecb9Vm8Ft6wQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tN+7o0tp/AAUt/GXsr0BcVU2v4pitRwDNtQTy8hy611wakOOuV4ThSK9S02J8tcqUI mgdwl77vw4YYHpS0neioIhsYurAv5qVVNLKgc/xpgfo/hHgp7oncf8sav1kmDq1KBFeM y9YdyZLRzxNUmAQxw87nKLU0YLbdIN9Lc8KdY=
In-reply-to: <1297931166-23957-1-git-send-email-antonynpavlov@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1297931166-23957-1-git-send-email-antonynpavlov@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Sorry, the mail adresses in fields "From" and "Signed-off-by" are different.

I shall resend the patch in a few minutes.

2011/2/17, Antony Pavlov <antonynpavlov@gmail.com>:
> From: Antony Pavlov <antony@niisi.msk.ru>
>
> The options LOONGSON_SUSPEND, LOONGSON_UART_BASE et al. don't depend
> on MACH_LOONGSON option.
> So my configuration file (.config) for MIPS Malta board contains
>
>  # CONFIG_MACH_LOONGSON is not set
>  CONFIG_MIPS_MALTA=y
>
>  ...
>
>  CONFIG_LOONGSON_UART_BASE=y
>
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
>  arch/mips/loongson/Kconfig |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/arch/mips/loongson/Kconfig b/arch/mips/loongson/Kconfig
> index 6e1b77f..4f2cf08 100644
> --- a/arch/mips/loongson/Kconfig
> +++ b/arch/mips/loongson/Kconfig
> @@ -61,6 +61,7 @@ endchoice
>
>  config CS5536
>       bool
> +     depends on MACH_LOONGSON
>
>  config CS5536_MFGPT
>       bool "CS5536 MFGPT Timer"
> @@ -77,13 +78,14 @@ config CS5536_MFGPT
>  config LOONGSON_SUSPEND
>       bool
>       default y
> -     depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
> +     depends on MACH_LOONGSON && CPU_SUPPORTS_CPUFREQ && SUSPEND
>
>  config LOONGSON_UART_BASE
>       bool
>       default y
> -     depends on EARLY_PRINTK || SERIAL_8250
> +     depends on MACH_LOONGSON && (EARLY_PRINTK || SERIAL_8250)
>
>  config LOONGSON_MC146818
>       bool
>       default n
> +     depends on MACH_LOONGSON
> --
> 1.7.1
>
>

<Prev in Thread] Current Thread [Next in Thread>