Hello there,
I want to set that pin low to turn on an onboard led during the SPL stage. Could you tell me how I can do it?
Someone told me to modify the mux.c file.
I modified it as below:
static struct module_pin_mux nand_pin_led[ ] = {
//{OFFSET(gpmc_ad14), (MODE(0) | PULLUDDIS | RXACTIVE) }, /* original AD14 setting */
{OFFSET(gpmc_ad14), (MODE(7) | PULLDOWN_EN) }, /* my modified AD14 setting */
{-1},
};
Then in the function void enable_board_pin_mux(void) I added:
configure_module_pin_mux(nand_pin_led);
But, the led on board doesn't response at all.
Is there anything wrong in my above code? Or do I miss anything?
Appreciate all kinds of input.
Thanks,
Lin