mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-28 05:17:20 +00:00
tegra2: trivially enable 13 mhz crystal frequency
This is needed for upcoming Toradex Colibri T20 upstream support. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
2cacf516df
commit
b8cb5194f0
1 changed files with 4 additions and 1 deletions
|
@ -1059,7 +1059,10 @@ void clock_early_init(void)
|
||||||
clock_set_rate(CLOCK_ID_CGENERAL, 600, 26, 0, 8);
|
clock_set_rate(CLOCK_ID_CGENERAL, 600, 26, 0, 8);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CLOCK_OSC_FREQ_13_0:
|
case CLOCK_OSC_FREQ_13_0: /* OSC is 13Mhz */
|
||||||
|
clock_set_rate(CLOCK_ID_PERIPH, 432, 13, 1, 8);
|
||||||
|
clock_set_rate(CLOCK_ID_CGENERAL, 600, 13, 0, 8);
|
||||||
|
break;
|
||||||
case CLOCK_OSC_FREQ_19_2:
|
case CLOCK_OSC_FREQ_19_2:
|
||||||
default:
|
default:
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue