summaryrefslogtreecommitdiff
path: root/drivers/spi/zynq_spi.c
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-09-02 11:39:45 +0530
committerJagan Teki <jteki@openedev.com>2015-10-25 20:17:03 +0530
commit86e99b98614258de2b46bc6d58fbbf8c64a0900f (patch)
treef8aadf8a4863226c8652aa38e245ad11c05259eb /drivers/spi/zynq_spi.c
parent8e0e01d330e76ec2b8db4da3fa5cb425603507f9 (diff)
downloadu-boot-imx-86e99b98614258de2b46bc6d58fbbf8c64a0900f.zip
u-boot-imx-86e99b98614258de2b46bc6d58fbbf8c64a0900f.tar.gz
u-boot-imx-86e99b98614258de2b46bc6d58fbbf8c64a0900f.tar.bz2
spi: zynq_spi: Remove unneeded headers
- Removed unneeded inclusion of header files - Add "Xilinx" on license text Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers/spi/zynq_spi.c')
-rw-r--r--drivers/spi/zynq_spi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c
index 65a9633..33a13bf 100644
--- a/drivers/spi/zynq_spi.c
+++ b/drivers/spi/zynq_spi.c
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2013 Inc.
+ * (C) Copyright 2013 Xilinx, Inc.
* (C) Copyright 2015 Jagan Teki <jteki@openedev.com>
*
* Xilinx Zynq PS SPI controller driver (master mode only)
@@ -7,15 +7,11 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-#include <config.h>
#include <common.h>
#include <dm.h>
-#include <errno.h>
#include <malloc.h>
#include <spi.h>
-#include <fdtdec.h>
#include <asm/io.h>
-#include <asm/arch/hardware.h>
DECLARE_GLOBAL_DATA_PTR;