summaryrefslogtreecommitdiffstats
path: root/commands/partition.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/partition.c')
-rw-r--r--commands/partition.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/commands/partition.c b/commands/partition.c
index 64ccaf0813..14f400ccb4 100644
--- a/commands/partition.c
+++ b/commands/partition.c
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-FileCopyrightText: © 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+
/*
* partition.c - parse a linux-like mtd partition definition and register
* the new partitions
- *
- * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * 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.
- *
*/
/**
@@ -28,7 +16,6 @@
#include <complete.h>
#include <driver.h>
#include <malloc.h>
-#include <partition.h>
#include <errno.h>
#include <xfuncs.h>
#include <fs.h>