Add missing SPDX identifiers
This commit is contained in:
committed by
Jeremy Soller
parent
3e742b0da7
commit
3e154d7f00
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-only
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cargo build --release --manifest-path tool/Cargo.toml
|
cargo build --release --manifest-path tool/Cargo.toml
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-only
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-3.0-only
|
||||||
|
|
||||||
#include <board/flash.h>
|
#include <board/flash.h>
|
||||||
#include <board/keymap.h>
|
#include <board/keymap.h>
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use hidapi::HidDevice;
|
use hidapi::HidDevice;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use hwio::{Io, Pio};
|
use hwio::{Io, Pio};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
fs,
|
fs,
|
||||||
io::{
|
io::{
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
const SMFI_CMD_BASE: u16 = 0xE00;
|
const SMFI_CMD_BASE: u16 = 0xE00;
|
||||||
const SMFI_CMD_SIZE: usize = 0x100;
|
const SMFI_CMD_SIZE: usize = 0x100;
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
io,
|
io,
|
||||||
net::UdpSocket,
|
net::UdpSocket,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use crate::Error;
|
use crate::Error;
|
||||||
use downcast_rs::Downcast;
|
use downcast_rs::Downcast;
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
#[cfg(not(feature = "std"))]
|
#[cfg(not(feature = "std"))]
|
||||||
use alloc::{
|
use alloc::{
|
||||||
boxed::Box,
|
boxed::Box,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
/// Errors returned by operations
|
/// Errors returned by operations
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
/// Parses firmware information from a firmware ROM
|
/// Parses firmware information from a firmware ROM
|
||||||
pub struct Firmware<'a> {
|
pub struct Firmware<'a> {
|
||||||
pub board: &'a [u8],
|
pub board: &'a [u8],
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
Error,
|
Error,
|
||||||
Pmc,
|
Pmc,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
//! Library for accessing System76 ECs
|
//! Library for accessing System76 ECs
|
||||||
//! First, construct an access method, using an object implementing the `Access` trait. Next, an Ec
|
//! First, construct an access method, using an object implementing the `Access` trait. Next, an Ec
|
||||||
//! object can be contructed, which exposes the command interface.
|
//! object can be contructed, which exposes the command interface.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use clap::{Arg, App, AppSettings, SubCommand};
|
use clap::{Arg, App, AppSettings, SubCommand};
|
||||||
use ectool::{
|
use ectool::{
|
||||||
Access,
|
Access,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use hwio::{Io, Pio};
|
use hwio::{Io, Pio};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
Error,
|
Error,
|
||||||
Timeout,
|
Timeout,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use hwio::{Io, Pio};
|
use hwio::{Io, Pio};
|
||||||
|
|
||||||
/// Super I/O interface provided by LPC ECs
|
/// Super I/O interface provided by LPC ECs
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
use std::time::{Duration, Instant};
|
use std::time::{Duration, Instant};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user