Lines Matching +full:de +full:- +full:skew
2 * Copyright (C) 2016-2017
3 * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
5 * SPDX-License-Identifier: GPL-2.0+
11 #include <asm/arch/imx-regs.h>
12 #include <asm/arch/mx6-pins.h>
15 #include <asm/mach-imx/iomux-v3.h>
16 #include <asm/mach-imx/mxc_i2c.h>
17 #include <asm/mach-imx/spi.h>
18 #include <asm/mach-imx/boot_mode.h>
62 gd->ram_size = imx_ddr_size(); in dram_init()
143 struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; in board_mmc_getcd()
146 switch (cfg->esdhc_base) { in board_mmc_getcd()
152 * eMMC don't have card detect pin - since it is soldered to the in board_mmc_getcd()
168 * (U-Boot device node) (Physical Port) in board_mmc_init()
188 return -EINVAL; in board_mmc_init()
254 writel(0x00620181, &weim_regs->cs0gcr1); in eimnor_cs_setup()
255 writel(0x00000001, &weim_regs->cs0gcr2); in eimnor_cs_setup()
256 writel(0x0b020000, &weim_regs->cs0rcr1); in eimnor_cs_setup()
257 writel(0x0000b000, &weim_regs->cs0rcr2); in eimnor_cs_setup()
258 writel(0x0804a240, &weim_regs->cs0wcr1); in eimnor_cs_setup()
259 writel(0x00000000, &weim_regs->cs0wcr2); in eimnor_cs_setup()
261 writel(0x00000120, &weim_regs->wcr); in eimnor_cs_setup()
262 writel(0x00000010, &weim_regs->wiar); in eimnor_cs_setup()
263 writel(0x00000000, &weim_regs->ear); in eimnor_cs_setup()
280 return (bus == 2 && cs == 0) ? ECSPI3_CS0 : -1; in board_spi_cs_gpio()
355 gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; in board_init()
385 * Default setting for GMII Clock Pad Skew Register 0x1EF: in board_phy_config()
388 * GTX_CLK Pad Skew 0xF -> 0.9 nsec skew in board_phy_config()
389 * RX_CLK Pad Skew 0xF -> 0.9 nsec skew in board_phy_config()
391 * Adjustment -> write 0x3FF: in board_phy_config()
392 * GTX_CLK Pad Skew 0x1F -> 1.8 nsec skew in board_phy_config()
393 * RX_CLK Pad Skew 0x1F -> 1.8 nsec skew in board_phy_config()
414 if (phydev->drv->config) in board_phy_config()
415 phydev->drv->config(phydev); in board_phy_config()
459 * hence we _always_ go through the u-boot. in spl_start_uboot()
465 /* break into full u-boot on 'c' */ in spl_start_uboot()
471 if ((ret != -1) && (strcmp(s, "no") == 0)) in spl_start_uboot()
477 * recovery_status = NULL (not set - ret == -1) -> normal operation in spl_start_uboot()
481 * recovery_status = <any value> -> start SWUpdate in spl_start_uboot()
485 if (ret != -1) in spl_start_uboot()