Commit f1cdd3b004b15d950b35f3ef625af23c2f106f5a
1 parent
6e8c9ae136
Exists in
smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga
and in
5 other branches
MLK-12483-5 mx6ul: Enable module fuse check EVK board
Enable the configurations CONFIG_MODULE_FUSE and CONFIG_OF_SYSTEM_SETUP for module fuse check. And modify board level codes for SD, FEC and EIM. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 9232e9f7637afa3b71b43ab2d1361582ec5a080a) (cherry picked from commit 687b586bf7d3b0d2f796c8ea768e4fb450079adb)
Showing 2 changed files with 8 additions and 0 deletions Side-by-side Diff
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
... | ... | @@ -717,6 +717,9 @@ |
717 | 717 | int ret; |
718 | 718 | |
719 | 719 | if (fec_id == 0) { |
720 | + if (check_module_fused(MX6_MODULE_ENET1)) | |
721 | + return -1; | |
722 | + | |
720 | 723 | /* |
721 | 724 | * Use 50M anatop loopback REF_CLK1 for ENET1, |
722 | 725 | * clear gpr1[13], set gpr1[17]. |
... | ... | @@ -724,6 +727,9 @@ |
724 | 727 | clrsetbits_le32(&iomuxc_regs->gpr[1], IOMUX_GPR1_FEC1_MASK, |
725 | 728 | IOMUX_GPR1_FEC1_CLOCK_MUX1_SEL_MASK); |
726 | 729 | } else { |
730 | + if (check_module_fused(MX6_MODULE_ENET2)) | |
731 | + return -1; | |
732 | + | |
727 | 733 | /* |
728 | 734 | * Use 50M anatop loopback REF_CLK2 for ENET2, |
729 | 735 | * clear gpr1[14], set gpr1[18]. |
-
mentioned in commit e5ac66
-
mentioned in commit e5ac66
-
mentioned in commit d67e2c
-
mentioned in commit d67e2c
-
mentioned in commit d67e2c
-
mentioned in commit d67e2c
-
mentioned in commit f43662
-
mentioned in commit f43662
-
mentioned in commit d67e2c
-
mentioned in commit f43662
-
mentioned in commit f43662
-
mentioned in commit f43662
-
mentioned in commit f43662
-
mentioned in commit 7a0151