• Sandrine Bailleux's avatar
    Revert "Move architecture timer setup to platform-specific code" · 65a9c0e9
    Sandrine Bailleux authored
    This reverts commit 1c297bf0
    because it introduced a bug: the CNTFRQ_EL0 register was no
    longer programmed by all CPUs.  bl31_platform_setup() function
    is invoked only in the cold boot path and consequently only
    on the primary cpu.
    
    A subsequent commit will correctly implement the necessary changes
    to the counter frequency setup code.
    
    Fixes ARM-software/tf-issues#125
    
    Conflicts:
    
    	docs/firmware-design.md
    	plat/fvp/bl31_plat_setup.c
    
    Change-Id: Ib584ad7ed069707ac04cf86717f836136ad3ab54
    65a9c0e9
bl1_arch_setup.c 3.25 KB