Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161331AbbBDP2W (ORCPT ); Wed, 4 Feb 2015 10:28:22 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:59972 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161106AbbBDPWq (ORCPT ); Wed, 4 Feb 2015 10:22:46 -0500 From: Zubair Lutfullah Kakakhel To: CC: , , , , , , , , , , , , Subject: [PATCH_V2 26/34] MIPS: allow mach-provided serial.h Date: Wed, 4 Feb 2015 15:21:55 +0000 Message-ID: <1423063323-19419-27-git-send-email-Zubair.Kakakhel@imgtec.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.89] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3096 Lines: 92 From: Paul Burton Allow platforms to set BAUD_BASE, which is used by earlycon to calculate the baud clock. Signed-off-by: Paul Burton Cc: Lars-Peter Clausen --- V2 Removed FSF address --- arch/mips/include/asm/Kbuild | 1 - arch/mips/include/asm/mach-generic/serial.h | 21 +++++++++++++++++++++ arch/mips/include/asm/serial.h | 21 +++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 arch/mips/include/asm/mach-generic/serial.h create mode 100644 arch/mips/include/asm/serial.h diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild index 200efea..3cd9114 100644 --- a/arch/mips/include/asm/Kbuild +++ b/arch/mips/include/asm/Kbuild @@ -13,7 +13,6 @@ generic-y += preempt.h generic-y += scatterlist.h generic-y += sections.h generic-y += segment.h -generic-y += serial.h generic-y += trace_clock.h generic-y += ucontext.h generic-y += user.h diff --git a/arch/mips/include/asm/mach-generic/serial.h b/arch/mips/include/asm/mach-generic/serial.h new file mode 100644 index 0000000..25932bb --- /dev/null +++ b/arch/mips/include/asm/mach-generic/serial.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2015 Imagination Technologies + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __MACH_GENERIC_SERIAL_H__ +#define __MACH_GENERIC_SERIAL_H__ + +#include + +#endif /* __MACH_GENERIC_SERIAL_H__ */ diff --git a/arch/mips/include/asm/serial.h b/arch/mips/include/asm/serial.h new file mode 100644 index 0000000..a50e7b0 --- /dev/null +++ b/arch/mips/include/asm/serial.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2015 Imagination Technologies + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __ASM_SERIAL_H__ +#define __ASM_SERIAL_H__ + +#include_next + +#endif /* __ASM_SERIAL_H__ */ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/