On Sun, Apr 26, 2020 at 08:03:07PM -0700, Bart Van Assche wrote: > Make the MMIO accessors strongly typed such that the compiler checks whether > the accessor function is used that matches the register width. Fix those > MMIO accesses where another number of bits was read or written than the size > of the register. > > Cc: Nilesh Javali <njavali@xxxxxxxxxxx> > Cc: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> > Cc: Quinn Tran <qutran@xxxxxxxxxxx> > Cc: Martin Wilck <mwilck@xxxxxxxx> > Cc: Daniel Wagner <dwagner@xxxxxxx> > Cc: Roman Bolshakov <r.bolshakov@xxxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Reviewed-by: Daniel Wagner <dwagner@xxxxxxx>