From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] My SPI driver not working in u-boot.
Date: Thu, 22 Oct 2009 04:02:22 -0400 [thread overview]
Message-ID: <200910220402.24143.vapier@gentoo.org> (raw)
In-Reply-To: <532dd5840910220027g6112deaap6810241e432e270@mail.gmail.com>
On Thursday 22 October 2009 03:27:34 Ravi Kumar Kulkarni wrote:
> On Thu, Oct 22, 2009 at 12:03 PM, Magnus Lilja wrote:
> > >> >>except that there's now a common SPI framework for you to use
> > >>
> > >> (drivers/spi/)
> > >>
> > >> >>as well as an already existing atmel_spi.c driver
> > >
> > > Yeah exactly . Its also there in u-boot-1.3.4. anyways im using the
> > > same driver atmel_spi.c in /drivers/spi/ .
> > > atleast can u tell me how to printf to print on ttyS0 in my code so tat
> >
> > i
> >
> > > see my flow is workin correct. thanks.
> > >
> > >>printf("%s:%d\n", __FILE__, __LINE__);? Given that printf and the UART
> > >>
> > >>works on your board that is.
>
> I tried with this
> printf("%s:%d\n", /drivers/spi/spi-new.c, 72);
> 72 is the my line number but im gettin error . so what exactly should i
> specify in __FILE_ and __LINE__ places .
this makes me wonder if you actually know how to write C code and you should
instead be contracting your work to someone who knows what's going on
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20091022/305f4ce6/attachment.pgp
prev parent reply other threads:[~2009-10-22 8:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-21 19:16 [U-Boot] My SPI driver not working in u-boot sunr2007
2009-10-21 19:34 ` Mike Frysinger
2009-10-22 4:33 ` Ravi Kumar Kulkarni
2009-10-22 5:14 ` Mike Frysinger
2009-10-22 5:47 ` Ravi Kumar Kulkarni
2009-10-22 6:33 ` Magnus Lilja
2009-10-22 7:27 ` Ravi Kumar Kulkarni
2009-10-22 7:29 ` Magnus Lilja
2009-10-22 8:13 ` Ravi Kumar Kulkarni
2009-10-22 8:02 ` Mike Frysinger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200910220402.24143.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.