mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
clk: at91: sam9x60: remove the parsing of atmel, main-osc-bypass
Remove the parsing of atmel,main-osc-bypass DT property as the SAM9X60
have no support for crystal oscillator bypass. Setting this bit might
affect the device functionality.
Fixes: a64862284f
("clk: at91: sam9x60: add support compatible with CCF")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
This commit is contained in:
parent
6c5f79d0ce
commit
8454cf0d23
1 changed files with 1 additions and 4 deletions
|
@ -382,7 +382,6 @@ static int sam9x60_clk_probe(struct udevice *dev)
|
||||||
const char *p[10];
|
const char *p[10];
|
||||||
unsigned int cm[10], m[10], *tmpclkmux, *tmpmux;
|
unsigned int cm[10], m[10], *tmpclkmux, *tmpmux;
|
||||||
struct clk clk, *c;
|
struct clk clk, *c;
|
||||||
bool main_osc_bypass;
|
|
||||||
int ret, muxallocindex = 0, clkmuxallocindex = 0, i;
|
int ret, muxallocindex = 0, clkmuxallocindex = 0, i;
|
||||||
static const struct clk_range r = { 0, 0 };
|
static const struct clk_range r = { 0, 0 };
|
||||||
|
|
||||||
|
@ -440,8 +439,6 @@ static int sam9x60_clk_probe(struct udevice *dev)
|
||||||
if (ret)
|
if (ret)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
main_osc_bypass = dev_read_bool(dev, "atmel,main-osc-bypass");
|
|
||||||
|
|
||||||
/* Register main rc oscillator. */
|
/* Register main rc oscillator. */
|
||||||
c = at91_clk_main_rc(base, clk_names[ID_MAIN_RC_OSC],
|
c = at91_clk_main_rc(base, clk_names[ID_MAIN_RC_OSC],
|
||||||
clk_names[ID_MAIN_RC]);
|
clk_names[ID_MAIN_RC]);
|
||||||
|
@ -453,7 +450,7 @@ static int sam9x60_clk_probe(struct udevice *dev)
|
||||||
|
|
||||||
/* Register main oscillator. */
|
/* Register main oscillator. */
|
||||||
c = at91_clk_main_osc(base, clk_names[ID_MAIN_OSC],
|
c = at91_clk_main_osc(base, clk_names[ID_MAIN_OSC],
|
||||||
clk_names[ID_MAIN_XTAL], main_osc_bypass);
|
clk_names[ID_MAIN_XTAL], false);
|
||||||
if (IS_ERR(c)) {
|
if (IS_ERR(c)) {
|
||||||
ret = PTR_ERR(c);
|
ret = PTR_ERR(c);
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
Loading…
Reference in a new issue