| #
13ceb2af |
| 06-Nov-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
rockchip: Add arch timer 1Ghz support
Change-Id: I8e58b15be1823e732852a2aa76cc98813e6b4fe9 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
|
| #
70199900 |
| 08-Dec-2023 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
cpu: armv7: Add udelay support for 32-bits platforms in board_init_f()
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com> Change-Id: I949e738d230dfc5f84421422f7d0201b66ff31f8
|
| #
dd239d30 |
| 12-Mar-2018 |
Patrick Delaunay <patrick.delaunay@st.com> |
UPSTREAM: arm: armv7: solve issue for timer_rate_hz in arch timer
The current value timer_rate_hz causes a problem with function timer_get_us() from lib time and then an issue with readx_poll_timeou
UPSTREAM: arm: armv7: solve issue for timer_rate_hz in arch timer
The current value timer_rate_hz causes a problem with function timer_get_us() from lib time and then an issue with readx_poll_timeout() function.
With corrected value for tbclk() = timer_rate_hz = CONFIG_SYS_HZ_CLOCK the weak functions in lib timer can be used: - get_timer() - __udelay() So the specific function in this file are removed.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> (cherry picked from commit 77aace579a9a84c74e99d2e86ecc08b1d9ca402b) Change-Id: Id289de433e49d396a95e3a72acf210be3a2d910b Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
f2465934 |
| 16-Dec-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
91558c81 |
| 22-Nov-2016 |
Patrick Delaunay <patrick.delaunay@st.com> |
arm: armv7: add us timer for bootstage
solve issue when bootstage is used with armV7 generic timer first call of timer_get_boot_us() use the function get_timer() before timer initialization (arch.ti
arm: armv7: add us timer for bootstage
solve issue when bootstage is used with armV7 generic timer first call of timer_get_boot_us() use the function get_timer() before timer initialization (arch.timer_rate_hz = 0) => div by 0
Commit-notes
When I activate bootstage on ARMV7 architecture with platform using the generic armv7 timer defined in file ./arch/arm/cpu/armv7m/timer.c
I have a issue because gd->arch.timer_rate_hz = 0
For me the get_timer() function should not used before timer_init (which initialize gd->arch.timer_rate_hz) at least for the ARMV7 timer.
But in the init sequence, the first bootstage fucntion is called before timer_init and this function use the timer function.
For me it is a error in the generic init sequence : mark_bootstage is called before timer_init.
static init_fnc_t init_sequence_f[] = { .... arch_cpu_init_dm, mark_bootstage, /* need timer, go after init dm */ ... #if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \ defined(CONFIG_BLACKFIN) || defined(CONFIG_NDS32) || \ defined(CONFIG_SPARC) timer_init, /* initialize timer */ #endif .......
To solve the issue for all the paltform, we can move timer_init() call just before mark_bootstage() in this array...
It should be ok for ARMV7 but I don't sure for other platform impacted - the other ARM platform or ARMV7 wich don't use generic timer - MIPS BLACKFIN NDS32 or SPARC
and I don't sure of impact for other function called (board_early_init_f for example....)
=> This patch solve issue only in timer armv7 get_boot_us() can be called everytime without div by 0 issue (gd->arch.timer_rate_hz is not used)
END
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
show more ...
|
| #
4180b3db |
| 14-May-2014 |
Marek Vasut <marex@denx.de> |
Merge remote-tracking branch 'u-boot/master' into test
|
| #
bcb879c0 |
| 09-May-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|
| #
3deb22a4 |
| 29-Apr-2014 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|
| #
c9aab0f9 |
| 21-Apr-2014 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
|
| #
11bc7557 |
| 04-Apr-2014 |
Vitaly Andrianov <vitalya@ti.com> |
arm: add support for arch timer
This patch add basic support for the architecture timer found on recent ARMv7 based SoCs.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Murali Kari
arm: add support for arch timer
This patch add basic support for the architecture timer found on recent ARMv7 based SoCs.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
show more ...
|