]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/nvidia/common/emc.c
Update from 2013.01 to 2013.07
[karo-tx-uboot.git] / board / nvidia / common / emc.c
index 26b6ec7c3b5965fc618fd43dcdd2c8eb5fe52d39..8124f8aafde0671e48d0abe770cedcd6bf868c25 100644 (file)
@@ -1,23 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * 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+
  */
 
 #include <common.h>
@@ -40,7 +24,7 @@ int board_emc_init(void)
 {
        unsigned rate;
 
-       switch (tegra_get_chip_type()) {
+       switch (tegra_get_chip_sku()) {
        default:
        case TEGRA_SOC_T20:
                rate  = EMC_SDRAM_RATE_T20;