>
> I wonder if the correct way to do this wouldn't be nvmem, see
> Documentation/devicetree/bindings/nvmem/nvmem.txt in the Kernel.
> This would mandate a binding like:
>
> ocotp {
> mac1: mac@88 {
> reg = <0x88 0x6>;
> };
> };
>
> &fec {
> nvmem-cells = <&mac1>;
> nvmem-cell-names = "mac-address";
> };
I completely forgot about that API! I think you are right that would
be a better way to implement what I am trying to do. I'll do some
experimentation with this approach and see what I can come up with.
Thanks,
Andrey
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox