* Flash sector size
@ 2009-09-10 13:36 Michal Simek
[not found] ` <4AA900CF.4040304-pSz03upnqPeHXe+LvDLADg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2009-09-10 13:36 UTC (permalink / raw)
To: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A
Hi All,
I have just found if is possible to write to device tree any information about flash sector size.
Just for clearing we use dts/dtb for run-time qemu(cpu emulator) configuration and I would
like to configure flash and sectors size based on any information from DTS.
Is it any proposed solution?
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <4AA900CF.4040304-pSz03upnqPeHXe+LvDLADg@public.gmane.org>]
* Re: Flash sector size [not found] ` <4AA900CF.4040304-pSz03upnqPeHXe+LvDLADg@public.gmane.org> @ 2009-11-01 7:07 ` Grant Likely 0 siblings, 0 replies; 2+ messages in thread From: Grant Likely @ 2009-11-01 7:07 UTC (permalink / raw) To: monstr-pSz03upnqPeHXe+LvDLADg; +Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A On Thu, Sep 10, 2009 at 7:36 AM, Michal Simek <monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org> wrote: > Hi All, > > I have just found if is possible to write to device tree any information about flash sector size. > > Just for clearing we use dts/dtb for run-time qemu(cpu emulator) configuration and I would > like to configure flash and sectors size based on any information from DTS. > > Is it any proposed solution? Sorry for the really late reply. I'm just cleaning up my mail backlog now. Yes, there is a binding for describing flash in the device tree. See Documentation/powerpc/dts-bindings/mtd-physmap.txt for some details. NOR is well supported. NAND drivers use it, but each NAND driver may require additional properties depending on the NAND controller device driver. Flash size can be specified, but I don't think there is a binding yet for sector size since in most cases the sector size is probed from the device itself. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-01 7:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-10 13:36 Flash sector size Michal Simek
[not found] ` <4AA900CF.4040304-pSz03upnqPeHXe+LvDLADg@public.gmane.org>
2009-11-01 7:07 ` Grant Likely
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.