Re: [PATCH v2 0/7] VF610 OCOTP MAC address layout change

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

 



On Mon, May 28, 2018 at 09:47:24PM -0700, Andrey Smirnov wrote:
> Everyone:
> 
> This patchset is as a result of dealing with VF610 U-Boot OCOTP/MAC
> quirk.
> 
> 	- Patch 1 and 2 are the actual patches dealing with U-Boot's
>           idiosyncrasy (see individual commit messages for more
>           details)
> 
> 	- Patch 3 and 4 are trivial refactoring made possible with
>           <linux/bitfield.h>
> 
> 	- Patches 5, 6 and 7 are very much optional. IMHO,
>           drivers/nvmem is a better place for OCOTP code, but if we
>           want to keep the code as is, I am more than happy to drop
>           these from the series.
> 
> Changes since [v1]:
> 
> 	- Fixed a bug in MAC formatting spotted by Sascha.
> 
> 
> [v1] http://lists.infradead.org/pipermail/barebox/2018-May/033094.html
> 
> Feedback is wellcome!

Applied, thanks

Sascha

> 
> Thanks,
> Andrey Smirnov
> 
> Andrey Smirnov (7):
>   i.MX: ocotp: Unify code paths for reading MAC address
>   i.MX: ocotp: Change MAC address layout for VFxxx
>   i.MX: ocotp: Simplify OCOTP field packing/unpacking
>   i.MX: ocotp: Simplify BF macro
>   i.MX: ocotp: Move OCOTP driver to drivers/nvmem
>   nvmem: Use name from struct nvmem_config for cdev
>   nvmem: ocotp: Convert to NVMEM device
> 
>  arch/arm/mach-imx/Kconfig                    |  23 +--
>  arch/arm/mach-imx/Makefile                   |   1 -
>  arch/arm/mach-imx/include/mach/ocotp.h       |  31 ++-
>  drivers/nvmem/Kconfig                        |  21 ++
>  drivers/nvmem/Makefile                       |   3 +
>  drivers/nvmem/core.c                         |  18 +-
>  {arch/arm/mach-imx => drivers/nvmem}/ocotp.c | 201 ++++++++++++-------
>  7 files changed, 183 insertions(+), 115 deletions(-)
>  rename {arch/arm/mach-imx => drivers/nvmem}/ocotp.c (79%)
> 
> -- 
> 2.17.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
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