[coreboot] [LinuxBIOS] m57sli : debugging the flashrom problem when booting with LB

Peter Stuge peter at stuge.se
Wed Jan 16 02:02:14 CET 2008


On Tue, Jan 15, 2008 at 11:12:01PM +0100, Stefan Reinauer wrote:
> >register "a0" = "c1100001"
> >register "a4" = "0"
> >register "a8" = "0"
> >register "ac" = "0"
> >register "b0" = "02f40295"
> >register "b4" = "085f0800"
> 
> Is this something the user is supposed to understand?

I say no.


> Are these properties of the device tree?

No need I think.


> What do those values mean? GPIOs?

This is the key question.


> How will we do this in v3? 
> Something like
> 
> gpio { num=32, direction=output, value=1 } # Disable write protection

If the values control something that _could_ be used differently, ie.
not for the SPI flash interface like on m57sli, it should indeed be
parameterized in the dts.

But if it's static configuration that won't change across different
boards then I think it belongs in the code.

gpio direction would only make sense if we also allowed
implementatino of logic between pins. I don't want to go that far,
I hope we don't have to.

I think for v3 we'll have to look at more boards in order to find
the best abstraction. This is really virgin territory.


//Peter




More information about the coreboot mailing list