Hi Geert,
On Mon, Aug 29, 2016, Geert Uytterhoeven wrote:
> I believe this applies not only to RZ, but to all other supported RSPI
> variants?
> Hence I think it should be made common.
I would think it would be the same for all the other parts with RSPI.
Currently there are 3 separate config functions:
- rspi_set_config_register
- rspi_rz_set_config_register
- qspi_set_config_register
By "common", do you mean:
A) add the same code to each of the other 2 functions?
(ie, common functionality for all device)
B) make some new function/macro that all config functions call?
(ie, same code for setting the register bits)
Note: I only really have a RZ/A platform, so I can't really test it on any
other devices (other than just looking in the hardware manuals)
Chris