summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bloblist.c3
-rw-r--r--cmd/bootefi.c3
-rw-r--r--cmd/bootm.c3
-rw-r--r--cmd/date.c3
-rw-r--r--cmd/mem.c3
-rw-r--r--cmd/sound.c3
-rw-r--r--cmd/spl.c3
7 files changed, 0 insertions, 21 deletions
diff --git a/cmd/bloblist.c b/cmd/bloblist.c
index 333ae558142..318a1af0220 100644
--- a/cmd/bloblist.c
+++ b/cmd/bloblist.c
@@ -8,9 +8,6 @@
#include <bloblist.h>
#include <command.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static int do_bloblist_info(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index b8f5bb35950..85f41c3b0a0 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -17,11 +17,8 @@
#include <mapmem.h>
#include <vsprintf.h>
#include <asm-generic/sections.h>
-#include <asm/global_data.h>
#include <linux/string.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct efi_device_path *test_image_path;
static struct efi_device_path *test_device_path;
diff --git a/cmd/bootm.c b/cmd/bootm.c
index 2c5aea26d98..ca7cec91fad 100644
--- a/cmd/bootm.c
+++ b/cmd/bootm.c
@@ -15,14 +15,11 @@
#include <malloc.h>
#include <nand.h>
#include <asm/byteorder.h>
-#include <asm/global_data.h>
#include <linux/ctype.h>
#include <linux/err.h>
#include <u-boot/zlib.h>
#include <mapmem.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if defined(CONFIG_CMD_IMI)
static int image_info(unsigned long addr);
#endif
diff --git a/cmd/date.c b/cmd/date.c
index 8614f022761..d047872289c 100644
--- a/cmd/date.c
+++ b/cmd/date.c
@@ -11,9 +11,6 @@
#include <dm.h>
#include <rtc.h>
#include <i2c.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static const char * const weekdays[] = {
"Sun", "Mon", "Tues", "Wednes", "Thurs", "Fri", "Satur",
diff --git a/cmd/mem.c b/cmd/mem.c
index 8690fc1e4e6..68eb6989b94 100644
--- a/cmd/mem.c
+++ b/cmd/mem.c
@@ -28,15 +28,12 @@
#include <time.h>
#include <vsprintf.h>
#include <watchdog.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <linux/compiler.h>
#include <linux/ctype.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Create a compile-time value */
#if MEM_SUPPORT_64BIT_DATA
#define HELP_Q ", .q"
diff --git a/cmd/sound.c b/cmd/sound.c
index 8f67cbd96e1..7546059022f 100644
--- a/cmd/sound.c
+++ b/cmd/sound.c
@@ -8,9 +8,6 @@
#include <dm.h>
#include <fdtdec.h>
#include <sound.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
/* Initilaise sound subsystem */
static int do_init(struct cmd_tbl *cmdtp, int flag, int argc,
diff --git a/cmd/spl.c b/cmd/spl.c
index f591dc07fb6..ddbbd4a8172 100644
--- a/cmd/spl.c
+++ b/cmd/spl.c
@@ -9,11 +9,8 @@
#include <env.h>
#include <image.h>
#include <log.h>
-#include <asm/global_data.h>
#include <linux/libfdt.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static const char **subcmd_list[] = {
[SPL_EXPORT_FDT] = (const char * []) {