[PATCH 1/2] arm/beagle: SPI driver

pierre-louis garnier pierre-louis.garnier at epita.fr
Tue Feb 26 21:28:30 UTC 2019


Hello Sebastian,

It would be great if you could convert your new driver to use this framework. In case you have no time for this, then we can still add this driver as is.
I don't know how I missed the new framework.
Unfortunately I won't have the time to port the driver to the new framework in the near future.

New code should use the BSD-2-Clause license:
I agree to license the code as such. Here's a patch to change that.

---
bsps/arm/beagle/spi/spi.c | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/bsps/arm/beagle/spi/spi.c b/bsps/arm/beagle/spi/spi.c
index 38c0a503e0..0ad152a06e 100644
--- a/bsps/arm/beagle/spi/spi.c
+++ b/bsps/arm/beagle/spi/spi.c
@@ -9,11 +9,30 @@
 */

/*
- * Copyright (c) 2018 Pierre-Louis Garnier <garnie_a at epita.fr<mailto:garnie_a at epita.fr>>
+ * SPDX-License-Identifier: BSD-2-Clause
 *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
+ * Copyright (c) 2018 Pierre-Louis Garnier
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
 */
#include <bsp.h>
#include <bsp/bbb-gpio.h>
--
2.20.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190226/4814cfdc/attachment.html>


More information about the devel mailing list