]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/compulab/cm_t54/cm_t54.c
Merge branch 'master' of git://git.denx.de/u-boot-arc
[karo-tx-uboot.git] / board / compulab / cm_t54 / cm_t54.c
index fadfddc077873bb0fdff230b443b29796f4c67a4..944b7234d63eade73441918c8f8d910f4c5fa6e5 100644 (file)
@@ -43,7 +43,7 @@ const struct omap_sysinfo sysinfo = {
  */
 int board_init(void)
 {
-       gd->bd->bi_boot_params = (CONFIG_SYS_SDRAM_BASE + 0x100); /* boot param addr */
+       gd->bd->bi_boot_params = (CONFIG_SYS_SDRAM_BASE + 0x100);
 
        return 0;
 }
@@ -89,7 +89,7 @@ uint mmc_get_env_part(struct mmc *mmc)
         * If booted from eMMC boot partition then force eMMC
         * FIRST boot partition to be env storage
         */
-       if (bootmode == BOOT_DEVICE_MMC2_2)
+       if (bootmode == BOOT_DEVICE_MMC2)
                bootpart = 1;
 
        return bootpart;
@@ -169,7 +169,7 @@ static int handle_mac_address(void)
                return 0;
 
        ret = cl_eeprom_read_mac_addr(enetaddr);
-       if (!ret || !is_valid_ether_addr(enetaddr))
+       if (ret || !is_valid_ether_addr(enetaddr))
                generate_mac_addr(enetaddr);
 
        if (!is_valid_ether_addr(enetaddr))