[U-Boot] [PATCH] mmc:dcache: Cache line size aligned internal MMC buffers

Anton Staaf robotboy at google.com
Wed Aug 24 22:12:21 CEST 2011


On Wed, Aug 24, 2011 at 12:04 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Anton Staaf,
>
> In message <CAF6FioWM6MezMMDr6+i8tGOLG-En4TihtOCauPbH0o7vqHaf_A at mail.gmail.com> you wrote:
>>
>> > No, it is definitely NOT needed for this purpose - we have been using
>> > CONFIG_SYS_CACHE_LINE_SIZE for more than a decade without problems, so
>> > I don't really understand why we now would need a new function for
>> > this?
>>
>> Ahh, I misunderstood your question.  I thought you were asking about
>> the need to know the cache line size.  Not it's specific
>> implementation as a function call.  In which case, I agree, and am
>> happy to use CONFIG_SYS_CACHE_LINE_SIZE, though I don't see any
>> definitions of CONFIG_SYS_CACHE_LINE_SIZE in the entire U-Boot tree.
>> What have I missed?
>
> I copy & pasted the name, incorrectly.  It's CONFIG_SYS_CACHELINE_SIZE
>
> You will find this being used:
>
> -> grep -R CONFIG_SYS_CACHELINE_SIZE * | wc -l
> 276

:) Hah, thanks.  I tried a number of permutations, but never the right one.

-Anton

>
> Best regards,
>
> Wolfgang Denk
>
> --
> 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
> There are certain things men must do to remain men.
>        -- Kirk, "The Ultimate Computer", stardate 4929.4
>


More information about the U-Boot mailing list