Skip to contentSkip to conversation

kirkwood_spi: add dummy spi_init()

PATCH New Michael Walle 4 participants 7 messages Oct 6, 2011 – Oct 18, 2011 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kirkwood_spi: add dummy spi_init()

The spi_init() function is missing. Add it.

---
 drivers/spi/kirkwood_spi.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/spi/kirkwood_spi.c +4 -0
index a1c3070..8c35d5e 100644
@@ -106,6 +106,10 @@ int spi_cs_is_valid(unsigned int bus, unsigned int cs)
 }
 #endif
 
+void spi_init(void)
+{
+}
+
 void spi_cs_activate(struct spi_slave *slave)
 {
 	writel(readl(&spireg->ctrl) | KWSPI_IRQUNMASK, &spireg->ctrl);
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 1/1 kirkwood_spi: add dummy spi_init()

In reply to Michael Walle

Am Freitag 07 Oktober 2011, 00:23:54 schrieb Michael Walle:

Quoted 12 lines

The spi_init() function is missing. Add it.

---
 drivers/spi/kirkwood_spi.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/spi/kirkwood_spi.c +0 -0
index a1c3070..8c35d5e 100644

drivers/spi/kirkwood_spi.c int spi_cs_is_valid(unsigned int bus, unsigned int cs) · line 115

Quoted 10 lines
drivers/spi/kirkwood_spi.c +4 -0
@@ -106,6 +106,10 @@ int spi_cs_is_valid(unsigned int bus, unsigned int cs)
 }
 #endif
 
+void spi_init(void)
+{
+}
+
 void spi_cs_activate(struct spi_slave *slave)
 {
 	writel(readl(&spireg->ctrl) | KWSPI_IRQUNMASK, &spireg->ctrl);

Hi Wolfgang,
could you commit this small patch? (acked by mike)

Signature · 1 line
Michael
#3 lore raw

PATCH 1/1 kirkwood_spi: add dummy spi_init()

Dear Michael Walle,

Quoted 4 lines · In message <[email protected]> you wrote:
Quoted 4 lines

The spi_init() function is missing. Add it.

...

Quoted 1 line

could you commit this small patch? (acked by mike)

No, I cannot. This is kirkwood related and thus has to go through the Marvell custodian.

You had him on Cc: ?

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If programming was easy, they wouldn't need something as  complicated
as a human being to do it, now would they?
                       - L. Wall & R. L. Schwartz, _Programming Perl_
#4 lore raw

PATCH 1/1 kirkwood_spi: add dummy spi_init()

Hi Wolfgang,

Am Sonntag 16 Oktober 2011, 22:25:11 schrieb Wolfgang Denk:

Quoted 11 lines
Quoted 3 lines · In message <[email protected]> you wrote:
Quoted 3 lines

The spi_init() function is missing. Add it.

...

Quoted 1 line

could you commit this small patch? (acked by mike)

No, I cannot. This is kirkwood related and thus has to go through the Marvell custodian.

oh sorry :)

Quoted 1 line

You had him on Cc: ?

No, but now.

@prafulla: please commit this patch.

Signature · 1 line
Michael
#5 lore raw

PATCH 1/1 kirkwood_spi: add dummy spi_init()

Quoted 21 lines

-----Original Message-----
From: Michael Walle [mailto:michael at walle.cc]
Sent: Monday, October 17, 2011 2:13 AM
To: Wolfgang Denk
Cc: u-boot at lists.denx.de; Prafulla Wadaskar
Subject: Re: [PATCH] kirkwood_spi: add dummy spi_init()

Hi Wolfgang,

Am Sonntag 16 Oktober 2011, 22:25:11 schrieb Wolfgang Denk:

Quoted 9 lines
Quoted 3 lines · In message <[email protected]> you wrote:
Quoted 3 lines

The spi_init() function is missing. Add it.

...

Quoted 1 line

could you commit this small patch? (acked by mike)

Quoted 8 lines
Quoted 2 lines

No, I cannot. This is kirkwood related and thus has to go through the Marvell custodian.

oh sorry :)

Quoted 1 line

You had him on Cc: ?

No, but now.

@prafulla: please commit this patch.

Sure, I will review and do it by tomorrow

Regards..
Prafulla . .

Quoted 3 lines

--
Michael

#6 lore raw

PATCH 1/1 kirkwood_spi: add dummy spi_init()

In reply to Michael Walle
Quoted 31 lines

-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Michael Walle
Sent: Friday, October 07, 2011 3:54 AM
To: u-boot at lists.denx.de
Subject: [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init()

The spi_init() function is missing. Add it.

---
 drivers/spi/kirkwood_spi.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/spi/kirkwood_spi.c +4 -0
index a1c3070..8c35d5e 100644
@@ -106,6 +106,10 @@ int spi_cs_is_valid(unsigned int bus, unsigned int
 cs)
 }
 #endif
 
+void spi_init(void)
+{
+}
+
 void spi_cs_activate(struct spi_slave *slave)
 {
Quoted 3 lines

writel(readl(&spireg->ctrl) | KWSPI_IRQUNMASK, &spireg->ctrl);
--
1.7.2.5

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . .