Re: [U-Boot] [PATCH 04/10] spi: sun4i: Access registers and bits via enum offsets

2019-02-12 Thread André Przywara
On 09/02/2019 13:14, Jagan Teki wrote: > Allwinner support two different SPI controllers one for A10 and > another for A31 with minimal changes in register offsets and > respective register bits, but the logic for accessing the SPI > master via SPI slave remains nearly similar. > > Add enum

[U-Boot] [PATCH 04/10] spi: sun4i: Access registers and bits via enum offsets

2019-02-09 Thread Jagan Teki
Allwinner support two different SPI controllers one for A10 and another for A31 with minimal changes in register offsets and respective register bits, but the logic for accessing the SPI master via SPI slave remains nearly similar. Add enum offsets for register set and register bits, so-that it