Re: [PATCH v1] Cubieboard2:Fix Cubieboard2 freeze, when LED boot enabled

2021-12-09 Thread Javad Rahimi
On Thu, Dec 9, 2021 at 7:18 PM Andre Przywara wrote: Hi Andre, > > On Thu, 9 Dec 2021 18:50:06 +0330 > Javad Rahimi wrote: > > Hi Javad, > > thanks for the patch! > > > When enabling the LED support for Cubieboard2 (SUN7I) > > the uboot freezes in status_led_init() function. > > It uses a stati

Re: [PATCH v1] Cubieboard2:Fix Cubieboard2 freeze, when LED boot enabled

2021-12-09 Thread Andre Przywara
On Thu, 9 Dec 2021 18:50:06 +0330 Javad Rahimi wrote: Hi Javad, thanks for the patch! > When enabling the LED support for Cubieboard2 (SUN7I) > the uboot freezes in status_led_init() function. > It uses a static global variable, while the .BSS is defined in DRAM area > while that function is c

[PATCH v1] Cubieboard2:Fix Cubieboard2 freeze, when LED boot enabled

2021-12-09 Thread Javad Rahimi
When enabling the LED support for Cubieboard2 (SUN7I) the uboot freezes in status_led_init() function. It uses a static global variable, while the .BSS is defined in DRAM area while that function is called before DRAM Signed-off-by: Javad Rahimi --- drivers/misc/status_led.c | 28 ++