Hello,
After reviewing the "Updating CCSRBARs" section of the T1040 Reference Manual, I have a question regarding the creation of a special, temporary LAW entry for the new CCSR memory region base address.
Why is it necessary to create this temporary LAW entry if we can already configure the CCSRBARH, CCSRBARL, and CCSRAR registers using the old physical address of the CCSR memory region (0xFE00_0000)? The steps stated in the manual is like in the following:
I’m trying to understand the purpose of this law entry(just creating/deleting) —perhaps it's related to the internal logic of the T1042 SoC—but it seems counterintuitive.
Could you provide further insight into why the temporary LAW entry is necessary?
Thank you!
No need to a temporary LAW entry for CCSR, you could use the default physical address of the CCSR memory region (0xFE00_0000).'
In CodeWarrior and u-boot, we all use the default physical address 0xFE00_0000.
sorry but I am not sure you really understand me.
Yes, no need to a temporary LAW entry for CCSR.
According to your answer, I understand that if I want to relocate the CCSR memory region, I do not need to create a temporary LAW entry.
If I didn’t misunderstand you, then the ‘Updating CCSRBARs’ section of T1040 Reference manual should be corrected because it includes information that system programmers do not need.”
Your understanding is correct, we will update the reference manual.