[PATCH 2/4] MIPS: add Malta machine support to barebox
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sat Jul 2 12:45:00 EDT 2011
On 23:41 Sat 02 Jul , Shinya Kuribayashi wrote:
> On 6/29/11 12:24 PM, Antony Pavlov wrote:
> >The machines use big-endian mode.
> >Only supported peripheral is serial port.
> >
> >Signed-off-by: Antony Pavlov<antonynpavlov at gmail.com>
> >---
> > arch/mips/Kconfig | 13 ++++++++
> > arch/mips/Makefile | 2 +
> > arch/mips/mach-mti-malta/Kconfig | 20 ++++++++++++
> > arch/mips/mach-mti-malta/Makefile | 1 +
> > arch/mips/mach-mti-malta/include/mach/hardware.h | 32 +++++++++++++++++++
> > arch/mips/mach-mti-malta/reset.c | 36 ++++++++++++++++++++++
> > 6 files changed, 104 insertions(+), 0 deletions(-)
> > create mode 100644 arch/mips/mach-mti-malta/Kconfig
> > create mode 100644 arch/mips/mach-mti-malta/Makefile
> > create mode 100644 arch/mips/mach-mti-malta/include/mach/hardware.h
> > create mode 100644 arch/mips/mach-mti-malta/reset.c
>
> Just mach-malta would be good? I don't want to see two '-' hyphens.
>
> I'm working on the ARM kernel these days, and find mach/plat-based
> categorizing technique useful/promising, and this is a good opportunity
> to try in this MIPS support (even if the Linux/MIPS kernel doesn't).
>
> >diff --git a/arch/mips/mach-mti-malta/include/mach/hardware.h b/arch/mips/mach-mti-malta/include/mach/hardware.h
> >new file mode 100644
> >index 0000000..f476355
> >--- /dev/null
> >+++ b/arch/mips/mach-mti-malta/include/mach/hardware.h
> >@@ -0,0 +1,32 @@
> >+/*
> >+ * Copyright (c) 2011 Antony Pavlov<antonynpavlov at gmail.com>
> >+ * See file CREDITS for list of people who contributed to this project.
> >+ *
> >+ * This file is part of barebox.
> >+ *
> >+ * barebox 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 3 of the License, or
> >+ * (at your option) any later version.
>
> GPLv3? I'm not sure which GPL version should be applied to barebox,
> but as it's highly based on the Linux kernel technology, GPLv2 (or
> later) would be the case.
Barebox is GPLv2 Only project
So Nack GPLv3
Best Regards,
J.
More information about the barebox
mailing list