Re: [PATCH 2/4] MIPS: add Malta machine support to barebox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
  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@xxxxxxxxx>
+ * 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 mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux