[PATCHv3 1/2] bsps/riscv: UART - Read reg-shift from DTB to properly set/get registers
    Sebastian Huber 
    sebastian.huber at embedded-brains.de
       
    Tue Apr  9 09:26:03 UTC 2019
    
    
  
On 09/04/2019 11:23, Hesham Almatary wrote:
> +      if (val) {
> +        reg_shift = fdt32_to_cpu(val[0]);
> +      }
else {
   reg_shift = 0;
}
Ok, with this change.
-- 
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
    
    
More information about the devel
mailing list