Hi,
I am working with ls1021a custom board, which is having LPC4317 connected via IFC bus, I want to read the LPC4317 status , is their any command or other way to read the register in u-boot, please suggest me to get this.
Regards
Saravanan S
Hello,
You can read the registers in u-boot with the md command:
https://github.com/u-boot/u-boot/blob/master/doc/usage/cmd/md.rst
In this case you have write the md command and the address of the register, for example in the TWR-LS1021A there is a CPLD connected to the IFC, you can review it as reference.
There isn't any predefined read and write register (we don't have any example with LPC4312 and ls1021a together), from the side of the ls1021a it could be the address assigned either in IFC region 1 or region 2, chip-selects, for more information you can refer to the LS1021ARM Chapter 24 Integrated Flash Controller (IFC).