sandy/ivy native: dedup romstage.c main()
Change-Id: I9909a5b2bdb4b59219db6304fa4332802fe0301c Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/7127 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
#ifndef INTEL_BD82X6X_GPIO_H
|
||||
#define INTEL_BD82X6X_GPIO_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define GPIO_MODE_NATIVE 0
|
||||
#define GPIO_MODE_GPIO 1
|
||||
#define GPIO_MODE_NONE 1
|
||||
@@ -147,6 +149,8 @@ struct pch_gpio_map {
|
||||
} set3;
|
||||
};
|
||||
|
||||
extern const struct pch_gpio_map mainboard_gpio_map;
|
||||
|
||||
/* Configure GPIOs with mainboard provided settings */
|
||||
void setup_pch_gpios(const struct pch_gpio_map *gpio);
|
||||
|
||||
|
@@ -85,6 +85,10 @@ struct southbridge_usb_port
|
||||
int oc_pin;
|
||||
};
|
||||
|
||||
#ifndef __ROMCC__
|
||||
extern const struct southbridge_usb_port mainboard_usb_ports[14];
|
||||
#endif
|
||||
|
||||
void
|
||||
early_usb_init (const struct southbridge_usb_port *portmap);
|
||||
|
||||
|
Reference in New Issue
Block a user