This website requires JavaScript.
27 changed files with
4 additions and
70 deletions
@ -197,6 +197,10 @@ struct lb_framebuffer {
# define LB_TAG_GPIO 0x0013
/* Values for the polarity field below. */
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
struct lb_gpio {
uint32_t port ;
uint32_t polarity ;
@ -82,8 +82,6 @@ static u8 gpio_read(int gpiox)
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
void fill_lb_gpios ( struct lb_gpios * gpios )
{
@ -35,8 +35,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static void fill_lb_gpio ( struct lb_gpio * gpio , int num ,
int polarity , const char * name , int force )
@ -36,8 +36,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static int get_lid_switch ( void )
{
@ -28,8 +28,6 @@
# include <ec/quanta/ene_kb3940q/ec.h>
# include "ec.h"
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
# define WP_GPIO 6
# define DEVMODE_GPIO 54
# define FORCE_RECOVERY_MODE 0
@ -26,11 +26,6 @@
# include <soc/samsung/exynos5250/cpu.h>
# include <soc/samsung/exynos5250/gpio.h>
enum {
ACTIVE_LOW = 0 ,
ACTIVE_HIGH = 1
} ;
void fill_lb_gpios ( struct lb_gpios * gpios )
{
int count = 0 ;
@ -33,8 +33,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static int get_lid_switch ( void )
{
@ -30,8 +30,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static int get_lid_switch ( void )
{
@ -25,11 +25,6 @@
# include <vendorcode/google/chromeos/chromeos.h>
# include <soc/nvidia/tegra124/gpio.h>
enum {
ACTIVE_LOW = 0 ,
ACTIVE_HIGH = 1
} ;
void fill_lb_gpios ( struct lb_gpios * gpios )
{
int count = 0 ;
@ -25,11 +25,6 @@
# include <vendorcode/google/chromeos/chromeos.h>
# include <soc/nvidia/tegra124/gpio.h>
enum {
ACTIVE_LOW = 0 ,
ACTIVE_HIGH = 1
} ;
void fill_lb_gpios ( struct lb_gpios * gpios )
{
int count = 0 ;
@ -25,11 +25,6 @@
# include <vendorcode/google/chromeos/chromeos.h>
# include <soc/nvidia/tegra124/gpio.h>
enum {
ACTIVE_LOW = 0 ,
ACTIVE_HIGH = 1
} ;
void fill_lb_gpios ( struct lb_gpios * gpios )
{
int count = 0 ;
@ -35,8 +35,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static void fill_lb_gpio ( struct lb_gpio * gpio , int num ,
int polarity , const char * name , int force )
@ -28,8 +28,6 @@
# include <ec/compal/ene932/ec.h>
# include "ec.h"
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
# ifndef __PRE_RAM__
# include <boot/coreboot_tables.h>
@ -26,11 +26,6 @@
# include <soc/samsung/exynos5420/cpu.h>
# include <soc/samsung/exynos5420/gpio.h>
enum {
ACTIVE_LOW = 0 ,
ACTIVE_HIGH = 1
} ;
void fill_lb_gpios ( struct lb_gpios * gpios )
{
int count = 0 ;
@ -33,8 +33,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static int get_lid_switch ( void )
{
@ -36,8 +36,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static int get_lid_switch ( void )
{
@ -25,11 +25,6 @@
# include <vendorcode/google/chromeos/chromeos.h>
# include <soc/nvidia/tegra132/gpio.h>
enum {
ACTIVE_LOW = 0 ,
ACTIVE_HIGH = 1
} ;
void fill_lb_gpios ( struct lb_gpios * gpios )
{
int count = 0 ;
@ -34,8 +34,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static int get_lid_switch ( void )
{
@ -33,8 +33,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static int get_lid_switch ( void )
{
@ -32,8 +32,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 7
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static int ec_in_rec_mode ;
static int ec_rec_flag_good ;
@ -29,8 +29,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
void fill_lb_gpios ( struct lb_gpios * gpios )
{
@ -31,8 +31,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static void fill_lb_gpio ( struct lb_gpio * gpio , int polarity ,
const char * name , int force )
@ -28,8 +28,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
void fill_lb_gpios ( struct lb_gpios * gpios )
{
@ -32,8 +32,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static void fill_lb_gpio ( struct lb_gpio * gpio , int num ,
int polarity , const char * name , int force )
@ -32,8 +32,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
static void fill_lb_gpio ( struct lb_gpio * gpio , int num ,
int polarity , const char * name , int force )
@ -39,8 +39,6 @@
# include <ec/smsc/mec1308/ec.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
void fill_lb_gpios ( struct lb_gpios * gpios )
{
@ -36,8 +36,6 @@
# include <boot/coreboot_tables.h>
# define GPIO_COUNT 6
# define ACTIVE_LOW 0
# define ACTIVE_HIGH 1
void fill_lb_gpios ( struct lb_gpios * gpios )
{