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

Wolfgang Denk wd at denx.de
Wed Aug 24 21:04:22 CEST 2011


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


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