projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Drop linux/delay.h from common header
[oweals/u-boot.git]
/
drivers
/
spi
/
sh_spi.c
diff --git
a/drivers/spi/sh_spi.c
b/drivers/spi/sh_spi.c
index fe394e336084ca6af00db65f98cad9a87265c3f0..4ecfe60115b83bbad925305847e969306971327a 100644
(file)
--- a/
drivers/spi/sh_spi.c
+++ b/
drivers/spi/sh_spi.c
@@
-1,9
+1,8
@@
+// SPDX-License-Identifier: GPL-2.0
/*
* SH SPI driver
*
* Copyright (C) 2011-2012 Renesas Solutions Corp.
/*
* SH SPI driver
*
* Copyright (C) 2011-2012 Renesas Solutions Corp.
- *
- * SPDX-License-Identifier: GPL-2.0
*/
#include <common.h>
*/
#include <common.h>
@@
-11,6
+10,7
@@
#include <malloc.h>
#include <spi.h>
#include <asm/io.h>
#include <malloc.h>
#include <spi.h>
#include <asm/io.h>
+#include <linux/delay.h>
#include "sh_spi.h"
static void sh_spi_write(unsigned long data, unsigned long *reg)
#include "sh_spi.h"
static void sh_spi_write(unsigned long data, unsigned long *reg)
@@
-67,10
+67,6
@@
static int write_fifo_empty_wait(struct sh_spi *ss)
return 0;
}
return 0;
}
-void spi_init(void)
-{
-}
-
static void sh_spi_set_cs(struct sh_spi *ss, unsigned int cs)
{
unsigned long val = 0;
static void sh_spi_set_cs(struct sh_spi *ss, unsigned int cs)
{
unsigned long val = 0;