On Sun, Nov 30, 2008 at 02:49:43PM +0200, Sergei Gavrikov wrote: > Sergei Gavrikov wrote: > > Hello > > > > This is flash v2 driver for Olimex LPC-X2294 boards on top of strata_v2 > > flash driver. Tested on Olimex LPC-H2294 board. Redboot's FIS works fine > > with the driver. > > > > SYNOPSYS > > > > ecosconfig remove flash_olpcx2294 > > ecosconfig add strata_v2 flash_olpcx2294_v2 flash > > > > RFC: I described and the bottom boot blocks in the driver. What is a > > practic, to hide or show it? It seemed for me what I could describe > > flash geometry and as 64 x 0x10000. > > I forgot ask about the second commentary. To compile v2 flash driver > it's need to define CYGARC_UNCACHED_ADDRESS macro. I put that in the > targets plf_io.h, but, it seems, that macro can be placed in lpc2xxx > variant, but, where to place the macro? I see 2 places: either var's > hal_cache.h or var_io.h. What will be the best a place? What is your > opinion?
packages/hal$ find . -name "*.h" | xargs grep -l CYGARC_UNCACHED_ADDRESS ./arm/xscale/iop310/current/include/var_io.h ./arm/xscale/iq80321/current/include/plf_io.h ./arm/xscale/ixdp425/current/include/plf_io.h ./arm/xscale/ixp425/current/include/var_io.h ./arm/xscale/picasso/current/include/plf_io.h ./arm/xscale/uE250/current/include/plf_io.h ./i386/arch/current/include/hal_arch.h ./mips/arch/current/include/hal_arch.h ./mips/atlas/current/include/plf_io.h ./mips/malta/current/include/plf_io.h ./mips/rm7000/ocelot/current/include/plf_io.h ./mn10300/asb2305/current/include/plf_io.h ./powerpc/csb281/current/include/plf_io.h ./powerpc/ppc40x/current/include/var_cache.h ./sh/arch/current/include/hal_var_bank.h ./sh/arch/current/include/hal_var_sp.h ./sh/hs7729pci/current/include/plf_io.h ./sh/se7751/current/include/plf_io.h ./fr30/arch/current/include/hal_arch.h So var_io.h seems like the correct place. Andrew
