Lines Matching +full:per +full:- +full:board

2  * board.c
4 * Board functions for Birdland Audio BAV335x Network Processor
6 * Copyright (c) 2012-2014 Birdland Audio - http://birdland.com/oem
8 * SPDX-License-Identifier: GPL-2.0+
34 #include "board.h"
38 /* GPIO that controls power to DDR on EVM-SK */
53 return -ENODEV; in read_eeprom()
58 return -EIO; in read_eeprom()
60 if (header->magic != BOARD_MAGIC) { in read_eeprom()
64 return -EIO; in read_eeprom()
66 if (header->magic != BOARD_MAGIC) in read_eeprom()
67 return -EINVAL; in read_eeprom()
84 puts("=== Detected Board model BAV335x Rev.A"); in get_board_type()
88 puts("=== Detected Board model BAV335x Rev.B"); in get_board_type()
91 puts("### Un-known board model in serial-EE\n"); in get_board_type()
95 case -ENODEV: in get_board_type()
96 puts("### Board doesn't have a serial-EE\n"); in get_board_type()
98 case -EINVAL: in get_board_type()
99 puts("### Board serial-EE signature is incorrect.\n"); in get_board_type()
102 puts("### IO Error reading serial-EE.\n"); in get_board_type()
109 puts("### Selecting BAV335A as per config\n"); in get_board_type()
113 puts("### Selecting BAV335B as per config\n"); in get_board_type()
159 /* break into full u-boot on 'c' */ in spl_start_uboot()
176 266, OSC-1, 1, -1, -1, -1, -1};
178 303, OSC-1, 1, -1, -1, -1, -1};
180 400, OSC-1, 1, -1, -1, -1, -1};
260 enum board_type board; in set_mux_conf_regs() local
262 board = get_board_type(false); in set_mux_conf_regs()
263 enable_board_pin_mux(board); in set_mux_conf_regs()
285 * Basic board specific setup. Pinmux has been handled already.
293 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; in board_init()
358 * - SPL with either CPSW or USB ethernet support
359 * - Full U-Boot, with either CPSW or USB ethernet
361 * when we build an SPL that has neither option but full U-Boot will.
373 __maybe_unused enum board_type board; in board_eth_init() local
396 printf("<ethaddr> not set. Validating first E-fuse MAC\n"); in board_eth_init()
404 board = get_board_type(false); in board_eth_init()
407 if (board == BAV335A) { in board_eth_init()
408 writel(MII_MODE_ENABLE, &cdev->miisel); in board_eth_init()
414 writel((RGMII_MODE_ENABLE | RGMII_INT_DELAY), &cdev->miisel); in board_eth_init()