blob: ed40b3186251c1ed25492de367b14e3f6490362d [file] [log] [blame]
Angel Pons381c4eb2020-04-03 01:22:06 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Iru Cai03e96a82017-01-26 14:51:47 +08002
Arthur Heymansfa5d0f82019-11-12 19:11:50 +01003#include <bootblock_common.h>
Iru Cai03e96a82017-01-26 14:51:47 +08004#include <southbridge/intel/bd82x6x/pch.h>
5#include <ec/hp/kbc1126/ec.h>
6
Iru Cai03e96a82017-01-26 14:51:47 +08007const struct southbridge_usb_port mainboard_usb_ports[] = {
8 { 1, 1, 0 },
9 { 1, 1, 0 },
10 { 1, 1, 1 },
11 { 1, 1, 1 },
12 { 1, 0, 2 },
13 { 1, 1, 2 },
14 { 0, 0, 3 },
15 { 1, 0, 3 },
16 { 1, 1, 4 },
17 { 1, 0, 4 },
18 { 0, 0, 5 },
19 { 1, 1, 5 },
20 { 0, 0, 6 },
21 { 1, 1, 6 },
22};
23
Arthur Heymansfa5d0f82019-11-12 19:11:50 +010024void bootblock_mainboard_early_init(void)
Iru Cai03e96a82017-01-26 14:51:47 +080025{
26 kbc1126_enter_conf();
27 kbc1126_mailbox_init();
28 kbc1126_kbc_init();
29 kbc1126_ec_init();
30 kbc1126_com1_init();
31 kbc1126_pm1_init();
32 kbc1126_exit_conf();
33 kbc1126_disable4e();
34}