]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/common/cadmus.c
Merge remote-tracking branch 'u-boot/master' into test
[u-boot] / board / freescale / common / cadmus.c
index db54bc4d51dd329b93d7b0054f415f15e16c4f70..dad684773bb18ecdd604038bb99ff1c95b363186 100644 (file)
@@ -1,23 +1,7 @@
 /*
- * Copyright 2004 Freescale Semiconductor.
+ * Copyright 2004, 2011 Freescale Semiconductor.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
@@ -61,12 +45,12 @@ get_clock_freq(void)
        uint pci1_speed = (cadmus->cm_pci >> 2) & 0x3; /* PSPEED in [4:5] */
 
        if (pci1_speed == 0) {
-               return 33000000;
+               return 33333333;
        } else if (pci1_speed == 1) {
-               return 66000000;
+               return 66666666;
        } else {
                /* Really, unknown. Be safe? */
-               return 33000000;
+               return 33333333;
        }
 }