I am trying to configure autoboot with delay strings to use as password to get access to uboot prompt. To do that I have to define two functions at arch/arm/cpu/arm926ejs/kirkwoord/time.c and they are:
unsigned long long get_ticks(void)
These functions are use by the function "abortboot(int bootdelay)" at common/main.c to calculate the time to wait for the password (delay string) and they are specific for each CPU architecture.
My new uboot is working but the delay waiting for password is always 20 seconds, no matter what value I have in the environment variable bootdelay. It means that my functions are working but they are not reporting the correct time ticks. I guess that get_tbclk is correct but not get_ticks().
Anybody has any idea to help me to fix these functions ???