Lines Matching full:board
34 static struct board_info board; variable
680 * Register a sane SPROMv2 to make the on-board
718 * return board name for /proc/cpuinfo
722 return board.name; in board_get_name()
779 /* find board by name */ in board_prom_init()
783 /* copy, board desc array is marked initdata */ in board_prom_init()
784 memcpy(&board, bcm963xx_boards[i], sizeof(board)); in board_prom_init()
788 /* bail out if board is not found, will complain later */ in board_prom_init()
789 if (!board.name[0]) { in board_prom_init()
793 pr_err("unknown bcm963xx board: %s\n", name); in board_prom_init()
797 /* setup pin multiplexing depending on board enabled device, in board_prom_init()
803 if (board.has_pci) { in board_prom_init()
810 if (board.has_pccard) { in board_prom_init()
815 if (board.has_enet0 && !board.enet0.use_internal_phy) { in board_prom_init()
821 if (board.has_enet1 && !board.enet1.use_internal_phy) { in board_prom_init()
832 * identify on which board we're running since early printk is working
836 if (!board.name[0]) in board_setup()
837 panic("unable to detect bcm963xx board"); in board_setup()
838 pr_info("board name: %s\n", board.name); in board_setup()
841 if (bcm63xx_get_cpu_id() != board.expected_cpu_id) in board_setup()
842 panic("unexpected CPU for bcm963xx board"); in board_setup()
854 * third stage init callback, register all board devices.
858 if (board.has_uart0) in board_register_devices()
861 if (board.has_uart1) in board_register_devices()
864 if (board.has_pccard) in board_register_devices()
867 if (board.has_enet0 && in board_register_devices()
868 !bcm63xx_nvram_get_mac_address(board.enet0.mac_addr)) in board_register_devices()
869 bcm63xx_enet_register(0, &board.enet0); in board_register_devices()
871 if (board.has_enet1 && in board_register_devices()
872 !bcm63xx_nvram_get_mac_address(board.enet1.mac_addr)) in board_register_devices()
873 bcm63xx_enet_register(1, &board.enet1); in board_register_devices()
875 if (board.has_enetsw && in board_register_devices()
876 !bcm63xx_nvram_get_mac_address(board.enetsw.mac_addr)) in board_register_devices()
877 bcm63xx_enetsw_register(&board.enetsw); in board_register_devices()
879 if (board.has_usbd) in board_register_devices()
880 bcm63xx_usbd_register(&board.usbd); in board_register_devices()
901 bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds); in board_register_devices()
902 bcm63xx_led_data.leds = board.leds; in board_register_devices()
906 if (board.ephy_reset_gpio && board.ephy_reset_gpio_flags) in board_register_devices()
907 gpio_request_one(board.ephy_reset_gpio, in board_register_devices()
908 board.ephy_reset_gpio_flags, "ephy-reset"); in board_register_devices()