Re: [RFC 1/2] misc: Add MAC address mapper "driver"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> 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
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux