Re: [PATCH v3 08/20] mips: add a mtmips-specific field to architecture-specific global data

2020-02-10 Thread Daniel Schwierzeck
Am 21.01.20 um 09:18 schrieb Weijie Gao: > SoCs of mtmips can use different CPU frequencies depending on the HW/SW > configurations. For example mt7628 uses 580MHz clock if the input xtal > frequency is 40MHz, and 575MHz clock if the xtal is 25MHz. Upon cold boot > the CPU uses the xtal frequenc

Re: [PATCH v3 08/20] mips: add a mtmips-specific field to architecture-specific global data

2020-01-21 Thread Stefan Roese
On 21.01.20 09:18, Weijie Gao wrote: SoCs of mtmips can use different CPU frequencies depending on the HW/SW configurations. For example mt7628 uses 580MHz clock if the input xtal frequency is 40MHz, and 575MHz clock if the xtal is 25MHz. Upon cold boot the CPU uses the xtal frequency directly.

[PATCH v3 08/20] mips: add a mtmips-specific field to architecture-specific global data

2020-01-21 Thread Weijie Gao
SoCs of mtmips can use different CPU frequencies depending on the HW/SW configurations. For example mt7628 uses 580MHz clock if the input xtal frequency is 40MHz, and 575MHz clock if the xtal is 25MHz. Upon cold boot the CPU uses the xtal frequency directly. So hardcoding the timer frequency (half