Merge tag 'dm-pull-3dec19' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
[oweals/u-boot.git] / board / freescale / t104xrdb / eth.c
index 9d8ead4f609f97700a007dcaffedee1e5402a8a0..107d28da33becd3630b6e2a88bef5fb06b80f6e2 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2014 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -52,7 +51,7 @@ int board_eth_init(bd_t *bis)
                                                CONFIG_SYS_SGMII1_PHY_ADDR);
                        break;
 #endif
-#ifdef CONFIG_T1042RDB
+#ifdef CONFIG_TARGET_T1042RDB
                case PHY_INTERFACE_MODE_SGMII:
                        /* T1042RDB doesn't supports SGMII on DTSEC1 & DTSEC2 */
                        if ((FM1_DTSEC1 == i) || (FM1_DTSEC2 == i))