hi everyone, when i doing led control in uboot on beaglebone black i have an problem that the gpio_request_function is deprecated in new source code uboot so please tell me how to fixed it and what is another function that i can use to request gpio in uboot
Here is error:
/home/vietduc/work/beagle_bone_black/gcc-11.3.0-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-ld.bfd: drivers/demo_led/demo_led.o: in function led_gpio_probe': /home/vietduc/work/beagle_bone_black/u-boot/drivers/demo_led/demo_led.c:56: undefined reference to
gpio_request_by_name’
make[1]: *** [scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
make: *** [Makefile:2053: spl/u-boot-spl] Error 2