Home
last modified time | relevance | path

Searched refs:pcb_rev (Results 1 – 1 of 1) sorted by relevance

/u-boot/board/friendlyarm/nanopi2/
A Dhwrev.c31 static int pcb_rev = -1; variable
53 if (pcb_rev >= 0) in bd_hwrev_init()
58 pcb_rev = nx_gpio_get_input_value(__IO_GRP, __IO_PCB1); in bd_hwrev_init()
59 pcb_rev |= nx_gpio_get_input_value(__IO_GRP, __IO_PCB2) << 1; in bd_hwrev_init()
60 pcb_rev |= nx_gpio_get_input_value(__IO_GRP, __IO_PCB3) << 2; in bd_hwrev_init()
69 if (pcb_rev != 0x3) in bd_base_rev_init()
85 return (base_rev << 8) | pcb_rev; in get_board_rev()
92 switch (pcb_rev) { in get_board_name()

Completed in 3 milliseconds