Hello All.

I use u-boot-1.1.4-davinci u-boot code.


When I looked board/davinci/lowlevel_init.S, I find the code belows.


        LDR R0, ACFG3
        LDR R1, ACFG3_VAL
        LDR R2, [R0]
        AND R1, R2, R1
        STR R1, [R0]

        LDR R0, ACFG4
        LDR R1, ACFG4_VAL
        LDR R2, [R0]
        AND R1, R2, R1
        STR R1, [R0]

        LDR R0, ACFG5
        LDR R1, ACFG5_VAL
        LDR R2, [R0]
        AND R1, R2, R1
        STR R1, [R0]     


Here, I have questions about this codes.


Question1 
What about ACFG2?
I think I have to add the code ACFG2. Is it right?
Why lowlevel_init.S doesn't have ACFG2 code in this source code?



Question2
If ACFG2 setting doesn't need in the lowlevel_init.S, I think the reset values 
would be used after system reset.
But when I looked at the EMIF User's Guide, the reset value of ASIZE field in 
AnCR  is "0" for 8-bit data bus.
Here is my question, DVEVM board uses 16bit NOR flash memory,
So, Where can I find the A2CR setting values? or Is there any method to set the 
A2CR values?

Any comments will help me.

Thanks.

Jaehoon Lee


 
 
 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to