Dear Marek Vasut,
In message <201112021101.18529.marek.va...@gmail.com> you wrote:
> Hi Wolfgang,
>
> let's see how this works :)
>
> The following changes since commit 7708d8b352e9e595f6f08afd3206af6495c7dc09:
>
> Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master (2011-12-=
> 0
Dear Nobuhiro Iwamatsu,
In message
you wrote:
> Dear Wolfgang Denk.
>
> Please pull from git://git.denx.de/u-boot-sh master.
>
> Best regards,
> Nobuhiro
>
> The following changes since commit 7708d8b352e9e595f6f08afd3206af6495c7dc09=
> :
>
> Merge branch 'master' of ssh://gemini/home/wd
Hi Mike,
On Dec 6, 2011 3:44 AM, "Mike Frysinger" wrote:
>
> On Monday 05 December 2011 00:47:12 Graeme Russ wrote:
> > Hi Mike,
> >
> > On Mon, Dec 5, 2011 at 5:39 PM, Mike Frysinger
wrote:
> > > On Sunday 04 December 2011 22:47:59 Graeme Russ wrote:
> > >> On Mon, Dec 5, 2011 at 2:43 PM, Mike
On Mon, Dec 5, 2011 at 3:58 AM, Christian Riesch
wrote:
>
> Hi,
> this is v5 of the last part of my recent patchset
Following on to my last email in 2/6 of the series, if there's no
objections other than mine about commenting and not doing 0 bit
shifts, and that's an agreeable change, if there's
Dear "Shadid, Bill",
In message you
wrote:
>
>
> Its surprising that this code compiled and ran fine with ELDK 4.0 but
> has compile issues with 4.2. I guess some floating-point support was
> removed. I'm still not clear why the abort function is called and I
> say called because when we do thr
On Mon, Dec 5, 2011 at 12:56 PM, Mike Frysinger wrote:
> On Monday 05 December 2011 14:33:40 Scott Wood wrote:
>> On 12/05/2011 04:58 AM, Christian Riesch wrote:
>> > Signed-off-by: Christian Riesch
>> > Cc: Heiko Schocher
>> > Cc: Mike Frysinger
>> > Cc: Scott Wood
>> > Acked-by: Mike Frysing
Dear Robert,
In message you wrote:
>
> > True, you don't have to use the DT. You don't have to use the most
> > straightforward way that has been well tested for a ton of
> > combinations of recent U-Boot releases against recent kernel
> > releases.
> >
> > You are free to chose any untested, u
On Monday 05 December 2011 14:33:40 Scott Wood wrote:
> On 12/05/2011 04:58 AM, Christian Riesch wrote:
> > Signed-off-by: Christian Riesch
> > Cc: Heiko Schocher
> > Cc: Mike Frysinger
> > Cc: Scott Wood
> > Acked-by: Mike Frysinger
> > ---
> >
> > doc/README.SPL |1 +
>
Dear "Shadid, Bill",
In message you
wrote:
>
> It was suggested that I should migrate to a newer version of u-boot to
> resolve the issue.
>
> I downloaded and compiled with u-boot-2011.03-rc and the compiler reported
> the same errors.
Would you please be so kind and explain why you decided
On 12/05/2011 04:58 AM, Christian Riesch wrote:
> Signed-off-by: Christian Riesch
> Cc: Heiko Schocher
> Cc: Mike Frysinger
> Cc: Scott Wood
> Acked-by: Mike Frysinger
> ---
> doc/README.SPL |1 +
> drivers/mtd/spi/Makefile |4 +++
> drivers/mtd/spi/spi_spl_load.
On 12/03/2011 03:11 AM, Liu Shengzhou-B36685 wrote:
>> -Original Message-
>> From: Wood Scott-B07421
>> Sent: 2011年12月3日 2:32
>> To: Liu Shengzhou-B36685
>> Cc: u-boot@lists.denx.de; Gala Kumar-B11780
>> Subject: Re: [PATCH 2/4] mtd/nand: Fixup for support ONFI detect
>>
>> On 12/02/2011 03
On 12/03/2011 03:25 AM, Liu Shengzhou-B36685 wrote:
>
>> -Original Message-
>> From: Wood Scott-B07421
>> Sent: 2011年12月3日 2:45
>> To: Liu Shengzhou-B36685
>> Cc: u-boot@lists.denx.de; Gala Kumar-B11780
>> Subject: Re: [PATCH 4/4] mtd/nand: Add ONFI support for FSL NAND
>> controller
>>
>>
On Monday 05 December 2011 12:56:48 Matthias Weißer wrote:
> Am 05.12.2011 18:28, schrieb Mike Frysinger:
> > On Monday 05 December 2011 11:43:09 Shadid, Bill wrote:
> >> /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.
> >> a(d ivsf3.o): In function `__divsf3':
> >> /opt/el
I've added a test suite to the build that can be accessed while at the u-boot
prompt. The suite allows folks to verify various h/w components without running
an OS. The suite contains some algorithms to convert sensor data to voltage,
current, power and temperature. I can modify some of these ca
On Mon, Dec 5, 2011 at 11:05 AM, Albert ARIBAUD
wrote:
> Hi all,
>
> As I don't have much time and the december release is coming soon, I would
> appreciate that anyone with a patch that they think should go to ARM master
> now please send me an e-mail with the link to the patchwork patch page so
Hi all,
As I don't have much time and the december release is coming soon, I
would appreciate that anyone with a patch that they think should go to
ARM master now please send me an e-mail with the link to the patchwork
patch page so that I delegate the patch to myself.
If the patch is alread
Am 05.12.2011 18:28, schrieb Mike Frysinger:
> On Monday 05 December 2011 11:43:09 Shadid, Bill wrote:
>> /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(d
>> ivsf3.o): In function `__divsf3':
>> /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/buil
>>
On Mon, 5 Dec 2011, Wolfgang Denk wrote:
> Dear Robert,
>
> In message you wrote:
> >
> > > No. Now you don't need a cuImage nay more. Just use the DT as I
> > > showed you in the builkd and boot log I sent before.
> >
> > for the sake of clarification, you write that i don't *need*
> > cuIma
On Monday 05 December 2011 11:43:09 Shadid, Bill wrote:
> /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(d
> ivsf3.o): In function `__divsf3':
> /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/buil
> d/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux
Hi Stefano,
Le 05/12/2011 18:22, Stefano Babic a écrit :
Hi Albert,
please pull from u-boot-imx (this time rebased on u-boot-arm/master..)
The following changes since commit d4870a914b73884f2f3e8fb082ae50f75fc01ebc:
arm, arm926ejs: Fix clear bss loop for zero length bss (2011-12-05
18:03:5
Hi Albert,
please pull from u-boot-imx (this time rebased on u-boot-arm/master..)
The following changes since commit d4870a914b73884f2f3e8fb082ae50f75fc01ebc:
arm, arm926ejs: Fix clear bss loop for zero length bss (2011-12-05
18:03:51 +0100)
are available in the git repository at:
git://www
On 05/12/2011 17:57, Albert ARIBAUD wrote:
>
> Hmm... Your master is based on my next, not on my master. Do you intend
> me to add these onto my 'next' or 'master' branch?
Sorry, I have applied the wrong script, I presume.
I will send a new pull request soon.
Best regards,
Stefano Babic
--
=
Le 29/11/2011 20:27, Tom Rini a écrit :
On Wed, Nov 9, 2011 at 11:06 PM, Heiko Schocher wrote:
always do the cpu critical inits in cpu_init_crit,
and only jump to lowlevel_init, if CONFIG_SKIP_LOWLEVEL_INIT
is not defined.
Signed-off-by: Heiko Schocher
Cc: Albert ARIBAUD
Cc: Wolfgang Denk
Cc:
On 12/05/2011 09:32 AM, Anatolij Gustschin wrote:
> On Mon, 5 Dec 2011 08:02:53 -0700
> Tom Rini wrote:
>
>> On 12/03/2011 09:46 AM, Anatolij Gustschin wrote:
>>> Fix:
>>> clocks-common.c: In function 'setup_dplls':
>>> clocks-common.c:256:6: warning: variable 'sysclk_ind' set but not used
>>> [-
This is a follow-up to my issue, re:
/opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(divsf3.o):
In function `__divsf3':
/opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config/soft-
Hi Tom,
Le 29/11/2011 23:53, Tom Rini a écrit :
The following changes since commit f2695a272849764cda09bcce6f86d03105e9e46d:
Marek Vasut (1):
PXA: Drop XM250 board
are available in the git repository at:
git://git.denx.de/u-boot-ti.git master
Anatolij Gustschin (1):
ARM:
Hi Christian,
Le 01/12/2011 09:27, Christian Riesch a écrit :
This patch fixes the clear bss loop for bss sections that have
zero length, i.e., where __bss_start == __bss_end__.
Signed-off-by: Christian Riesch
Cc: Albert Aribaud
---
Hi,
this is v6 of a patch out of my recent patchset
[PATCH v
Hi Marek,
Le 02/12/2011 11:11, Marek Vasut a écrit :
I see no comments on my patchset for a while, so:
The following changes since commit f2695a272849764cda09bcce6f86d03105e9e46d:
PXA: Drop XM250 board (2011-11-25 20:44:24 +0100)
are available in the git repository at:
git://git.denx.de
Hi Stefano,
Le 01/12/2011 17:14, Stefano Babic a écrit :
Hi Albert,
please pull from u-boot-imx, thanks.
The following changes since commit 3be4bab07b614c23f3bffaa6febca9a5a2c4dfa6:
vision2: Fix checkpatch warning (2011-11-28 13:10:36 +0100)
are available in the git repository at:
git:
On Monday 05 December 2011 00:47:12 Graeme Russ wrote:
> Hi Mike,
>
> On Mon, Dec 5, 2011 at 5:39 PM, Mike Frysinger wrote:
> > On Sunday 04 December 2011 22:47:59 Graeme Russ wrote:
> >> On Mon, Dec 5, 2011 at 2:43 PM, Mike Frysinger wrote:
> >> > +/*
> >> > + * Base for arches to start adding t
On Mon, 5 Dec 2011 08:02:53 -0700
Tom Rini wrote:
> On 12/03/2011 09:46 AM, Anatolij Gustschin wrote:
> > Fix:
> > clocks-common.c: In function 'setup_dplls':
> > clocks-common.c:256:6: warning: variable 'sysclk_ind' set but not used
> > [-Wunused-but-set-variable]
> > clocks-common.c: In functio
On Mon, Dec 5, 2011 at 2:19 AM, rojan wrote:
> I have OMAP L138 Hawkboard which is loaded with some other program.
> I am new to this hawkboard and tried to boot as per instructions from
> user guide in http://www.hawkboard.org/ , system is not coming to
> hawkboard.org > to access command. It is
On 12/05/2011 03:58 AM, Christian Riesch wrote:
[snip]
> include/configs/da850evm.h| 87
> +
[snip]
> +#define CONFIG_SYS_DA850_DDR2_SDTIMR2 ( \
> + (7 << DV_DDR_SDTMR2_RASMAX_SHIFT) | \
> + (0 << DV_DDR_SDTMR2_XP_SHIFT) |
On 12/04/2011 06:59 AM, Anatolij Gustschin wrote:
> On Sun, 4 Dec 2011 12:30:40 +0100
> Marek Vasut wrote:
>
>>> Fix:
>>> clocks.c: In function 'setup_post_dividers':
>>> clocks.c:175: warning: comparison is always true due to limited range of
>>> data type
>>> clocks.c:177: warning: comparison i
On 12/04/2011 04:28 AM, Marek Vasut wrote:
>> Fix:
>> spl.c: In function 'jump_to_image_no_args':
>> spl.c:103: warning: assignment makes pointer from integer without a cast
>> spl.c:105: warning: dereferencing type-punned pointer will break
>> strict-aliasing rules
>>
>> Signed-off-by: Anatolij Gu
On 12/03/2011 09:46 AM, Anatolij Gustschin wrote:
> Fix:
> clocks-common.c: In function 'setup_dplls':
> clocks-common.c:256:6: warning: variable 'sysclk_ind' set but not used
> [-Wunused-but-set-variable]
> clocks-common.c: In function 'setup_non_essential_dplls':
> clocks-common.c:292:6: warning:
On 12/05/2011 03:20 AM, Christian Riesch wrote:
> Hi Tom,
>
> On Sat, Dec 3, 2011 at 6:49 AM, Christian Riesch
> wrote:
>> Hi Tom,
>> Thanks for your comments.
>>
>>
>> On Friday, December 2, 2011, Tom Rini wrote:
>>> On 12/02/2011 09:12 AM, Christian Riesch wrote:
>>>
>>> [snip]
include/c
On Mon, Dec 5, 2011 at 11:26 AM, Dirk Behme wrote:
> On 05.12.2011 14:23, Fabio Estevam wrote:
>>
>> On Mon, Dec 5, 2011 at 10:57 AM, Jason Liu wrote:
>>
>>> +IMAGE_VERSION 2
>>> +
>>> +# Boot Device : one of
>>> +# spi, sd (the board has no nand neither onenand)
>>> +
>>> +BOOT_FROM sd
>>
>
On 05.12.2011 13:57, Jason Liu wrote:
From: Dirk Behme
Add the initial support for Freescale i.MX6Q Sabre Lite board
Please note that this patch relies on the basic i.mx6q core support
introduced with the patch series
http://lists.denx.de/pipermail/u-boot/2011-November/63.html
So it w
On 05.12.2011 14:23, Fabio Estevam wrote:
On Mon, Dec 5, 2011 at 10:57 AM, Jason Liu wrote:
+IMAGE_VERSION 2
+
+# Boot Device : one of
+# spi, sd (the board has no nand neither onenand)
+
+BOOT_FROM sd
This board does not boot from sd, only from SPI NOR.
Could you please let me know ho
On Mon, Dec 5, 2011 at 10:57 AM, Jason Liu wrote:
> +IMAGE_VERSION 2
> +
> +# Boot Device : one of
> +# spi, sd (the board has no nand neither onenand)
> +
> +BOOT_FROM sd
This board does not boot from sd, only from SPI NOR.
Could you please let me know how it was tested?
It would be nice
From: Dirk Behme
Add the initial support for Freescale i.MX6Q Sabre Lite board
Signed-off-by: Dirk Behme
Signed-off-by: Jason Liu
Cc: Stefano Babic
---
MAINTAINERS |1 +
board/freescale/mx6qsabrelite/Makefile| 42 ++
board/freescale/mx6qsab
Dear Robert,
In message you wrote:
>
> > No. Now you don't need a cuImage nay more. Just use the DT as I
> > showed you in the builkd and boot log I sent before.
>
> for the sake of clarification, you write that i don't *need*
> cuImages anymore, but that's not the same as saying that i *mus
* Stefano Babic wrote:
> On 05/12/2011 09:23, Thierry Reding wrote:
[...]
> > diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c
> > index b78bf6c..451d709 100644
> > --- a/board/efikamx/efikamx.c
> > +++ b/board/efikamx/efikamx.c
> > @@ -309,17 +309,15 @@ static inline uint32_t efika_m
* Stefano Babic wrote:
> On 05/12/2011 09:23, Thierry Reding wrote:
> > This card-detect hook probably doesn't work. Perhaps somebody with more
> > knowledge about the hardware can comment on this. I think that perhaps
> > even the complete code from esdhc_init() could go into the getcd()
>
> The
On Mon, 5 Dec 2011, Wolfgang Denk wrote:
> Dear Robert,
>
> In message you wrote:
> >
> > i believe i've solved this issue, at least. i downloaded ELDK 4.2
> > and installed the ppc_8xx- toolchain. with that, i managed to
> > compile u-boot 2010.12 and flashed it to my TQM860, reset and, lo
> >
Signed-off-by: Horst Kronstorfer
---
tools/mkenvimage.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 3e7f967..046661d 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -36,6 +36,7 @@
#include
#include
Since the original implementation indicates explicit error handling
we turn off getopt()'s internal error messaging to avoid duplicate
error messages. Additionally we add ':' (missing option argument)
error handling.
Signed-off-by: Horst Kronstorfer
---
tools/mkenvimage.c | 12 ++--
1
Signed-off-by: Horst Kronstorfer
---
tools/mkenvimage.c | 13 +
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 22d1b88..3e7f967 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -79,6 +79,11 @@ int main(int argc
Signed-off-by: Horst Kronstorfer
---
tools/mkenvimage.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 9c32f4a..b7b0e0f 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -116,7 +116,7 @@ int main(int argc, ch
Signed-off-by: Christian Riesch
Cc: Heiko Schocher
Cc: Mike Frysinger
---
lib/Makefile |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/Makefile b/lib/Makefile
index 54708c2..35ba7ff 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -50,6 +50,8 @@ COBJS-$(CONFIG_SHA1)
> On 05/12/2011 11:00, Thierry Reding wrote:
> > * Marek Vasut wrote:
> >>> The new API no longer uses the extra cd parameter that was used
> >>> to store the card presence state. Instead, this information is
> >>> returned via the function's return value. board_mmc_getcd()
> >>> returns -1 to indi
Hi,
this is v5 of the last part of my recent patchset
[PATCH v3 00/15] Add an SPL to boot the da850evm from SPI
http://lists.denx.de/pipermail/u-boot/2011-November/82.html
Most of the other parts are already merged, together with
this patchset they introduce an SPL for the da850evm to run
u-
Signed-off-by: Christian Riesch
Cc: Stefano Babic
Cc: Heiko Schocher
Cc: Mike Frysinger
---
.gitignore |1 +
Makefile | 13 +
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index ff4bae0..e4e95e2 100644
--- a/.gitignore
+++ b/.gitign
Signed-off-by: Christian Riesch
Cc: Heiko Schocher
Cc: Mike Frysinger
Cc: Scott Wood
Acked-by: Mike Frysinger
---
doc/README.SPL |1 +
drivers/mtd/spi/Makefile |4 +++
drivers/mtd/spi/spi_spl_load.c | 58
include/spi_fla
This code adds an SPL for booting from SPI flash on DA850 SoCs.
Signed-off-by: Christian Riesch
Cc: Heiko Schocher
Cc: Sandeep Paulraj
Cc: Tom Rini
Acked-by: Tom Rini
---
arch/arm/cpu/arm926ejs/davinci/Makefile |3 +-
arch/arm/cpu/arm926ejs/davinci/spl.c| 34 +++
Support for variable length images like AIS image was introduced
in commit f0662105b674a3874227316abf8536bebc9b5995. A parameter
"-s" was also introduced to prohibit copying of the image file
automatically in the main program. However, this parameter
was implemented incorrectly and the image file w
Signed-off-by: Christian Riesch
Cc: Heiko Schocher
Cc: Sandeep Paulraj
Cc: Tom Rini
Cc: Sudhakar Rajashekhara
---
board/davinci/da8xxevm/da850evm.c |4 +-
board/davinci/da8xxevm/u-boot-spl.lds | 73 +++
doc/README.davinci|9 +++
includ
On 05/12/2011 11:00, Thierry Reding wrote:
> * Marek Vasut wrote:
>>> The new API no longer uses the extra cd parameter that was used
>>> to store the card presence state. Instead, this information is
>>> returned via the function's return value. board_mmc_getcd()
>>> returns -1 to indicate that no
ping!
This fixes a compile breakage and
IMO should be applied before 2011.12 is out.
Can someone, please apply it?
On 11/28/11 09:57, Igor Grinberg wrote:
> When ENV_IS_EMBEDDED is not set, but CONFIG_BUILD_ENVCRC is set,
> the environment.h file does not get included resulting in unrecognized
>
On 05/12/2011 09:23, Thierry Reding wrote:
> This card-detect hook probably doesn't work. Perhaps somebody with more
> knowledge about the hardware can comment on this. I think that perhaps
> even the complete code from esdhc_init() could go into the getcd()
The reason was only that the SDHC contr
On 05/12/2011 09:23, Thierry Reding wrote:
> The new API no longer uses the extra cd parameter that was used to store
> the card presence state. Instead, this information is returned via the
> function's return value. board_mmc_getcd() returns -1 to indicate that
> no card-detection mechanism is im
On Mon, 5 Dec 2011, Wolfgang Denk wrote:
> Dear Robert,
>
> In message you wrote:
> >
> > i believe i've solved this issue, at least. i downloaded ELDK 4.2
> > and installed the ppc_8xx- toolchain. with that, i managed to compile
> > u-boot 2010.12 and flashed it to my TQM860, reset and, lo a
Hi Tom,
On Sat, Dec 3, 2011 at 6:49 AM, Christian Riesch
wrote:
> Hi Tom,
> Thanks for your comments.
>
>
> On Friday, December 2, 2011, Tom Rini wrote:
>> On 12/02/2011 09:12 AM, Christian Riesch wrote:
>>
>> [snip]
>>> include/configs/da850evm.h | 87
>>> +
Dear Robert,
In message you wrote:
>
> i believe i've solved this issue, at least. i downloaded ELDK 4.2
> and installed the ppc_8xx- toolchain. with that, i managed to compile
> u-boot 2010.12 and flashed it to my TQM860, reset and, lo and behold,
> i have a 2010.12 u-boot. so my u-boot iss
Dear Daniel Schwierzeck,
In message <4edc0a99.6090...@googlemail.com> you wrote:
>
> > In general, standalone applications are a rarely used special feature,
> > and the few people who actually ever used this for a purpose probably
> > used custom code and custom linker scripts, so the mainline co
I have OMAP L138 Hawkboard which is loaded with some other program.
I am new to this hawkboard and tried to boot as per instructions from
user guide in http://www.hawkboard.org/ , system is not coming to
hawkboard.org > to access command. It is coming as follows.
Please help me to make it ready.
* Marek Vasut wrote:
> > The new API no longer uses the extra cd parameter that was used to store
> > the card presence state. Instead, this information is returned via the
> > function's return value. board_mmc_getcd() returns -1 to indicate that
> > no card-detection mechanism is implemented; 0 i
> The new API no longer uses the extra cd parameter that was used to store
> the card presence state. Instead, this information is returned via the
> function's return value. board_mmc_getcd() returns -1 to indicate that
> no card-detection mechanism is implemented; 0 indicates that no card is
> pr
From: Jana Rapava
Add partial ULPI specification implementation that should be enough to
interface the ULPI PHYs in the boot loader context.
Add a viewport implementation for Chipidea/ARC based controllers.
Signed-off-by: Jana Rapava
Signed-off-by: Igor Grinberg
Cc: Remy Bohmer
Cc: Stefano Ba
Although it is a single patch, I felt that a cover letter will
definetly not hurt here, also the patch version history is so big, so
I decided to move it here.
The ULPI (UTMI Low Pin (count) Interface) PHYs are widely used on
variety of boards. This requires a generic architecture independant
impl
This card-detect hook probably doesn't work. Perhaps somebody with more
knowledge about the hardware can comment on this. I think that perhaps
even the complete code from esdhc_init() could go into the getcd()
function instead or mmc_getcd() needs to be called at some later time
after mmc_init(), w
Check for card detect each time an MMC/SD device is initialized. If card
detection is not implemented, this code behaves as before and continues
assuming a card is present. If no card is detected, has_init is reset
for the MMC/SD device (to force initialization next time) and an error
is returned.
The new API no longer uses the extra cd parameter that was used to store
the card presence state. Instead, this information is returned via the
function's return value. board_mmc_getcd() returns -1 to indicate that
no card-detection mechanism is implemented; 0 indicates that no card is
present and
On Tegra2, card-detection is implemented by passing the card-detection
GPIOs to the MMC driver at initialization time. Instead of implementing
the board_mmc_getcd() function, use the card-detect hook and allow
boards to override it by providing their own board_mmc_getcd()
implementation.
Signed-of
101 - 175 of 175 matches
Mail list logo