Re: [PATCH] reset: stm32: remove implicit sizeof(long) == 4 expectation

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

 



On Tue, Jun 22, 2021 at 08:23:32PM +0200, Ahmad Fatoum wrote:
> There is no relation between sizeof(long) and the size of the register
> of the reset controller on STM32 CPUs. They just happen to be both 32-bit
> in the current configuration. U-Boot already removed the BITS_PER_LONG,
> so do likewise.
> 
> Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
> ---
>  drivers/reset/reset-stm32.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
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