void acpi_create_gnvs(global_nvs_t *gnvs) { memset((void *)gnvs, 0, sizeof(*gnvs)); gnvs->apic = 1; gnvs->mpen = 1; /* Enable Multi Processing */ gnvs->pcnt = dev_count_cpu(); /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; // the lid is open by default. gnvs->lids = 1; acpi_update_thermal_table(gnvs); }
void acpi_create_gnvs(global_nvs_t *gnvs) { gnvs_ = gnvs; /* Enable USB ports in S3 */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; /* * Enable Front USB ports in S5 by default * to be consistent with back port behavior */ gnvs->s5u0 = 1; gnvs->s5u1 = 1; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; acpi_update_thermal_table(gnvs); // Stumpy has no arms^H^H^H^HEC. gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO; }
void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable USB ports in S3 */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; /* * Enable Front USB ports in S5 by default * to be consistent with back port behavior */ gnvs->s5u0 = 1; gnvs->s5u1 = 1; /* TPM Present */ gnvs->tpmp = 1; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; #if CONFIG_CHROMEOS /* Emerald Lake has no EC (?) */ gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO; #endif acpi_update_thermal_table(gnvs); }
void acpi_create_gnvs(global_nvs_t *gnvs) { /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; #if CONFIG_CHROMEOS gnvs->chromeos.vbt2 = parrot_ec_running_ro() ? ACTIVE_ECFW_RO : ACTIVE_ECFW_RW; #endif acpi_update_thermal_table(gnvs); // the lid is open by default. gnvs->lids = 1; }
void acpi_create_gnvs(global_nvs_t *gnvs) { /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; // TODO: MLR // The firmware read/write status is a "virtual" switch and // will be handled elsewhere. Until then hard-code to // read/write instead of read-only for developer mode. gnvs->chromeos.vbt2 = ACTIVE_ECFW_RW; // the lid is open by default. gnvs->lids = 1; acpi_update_thermal_table(gnvs); }
void acpi_create_gnvs(global_nvs_t *gnvs) { gnvs_ = gnvs; /* * Disable 3G in suspend by default. * Provide option to enable for http://crosbug.com/p/7925 */ gnvs->s33g = 0; /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; acpi_update_thermal_table(gnvs); gnvs->chromeos.vbt2 = ec_read(0xcb) ? ACTIVE_ECFW_RW : ACTIVE_ECFW_RO; }
static void acpi_create_gnvs(global_nvs_t *gnvs) { gnvs_ = gnvs; memset((void *)gnvs, 0, sizeof(*gnvs)); gnvs->apic = 1; gnvs->mpen = 1; /* Enable Multi Processing */ gnvs->pcnt = dev_count_cpu(); /* Enable USB ports in S3 */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; /* * Enable Front USB ports in S5 by default * to be consistent with back port behavior */ gnvs->s5u0 = 1; gnvs->s5u1 = 1; /* CBMEM TOC */ gnvs->cmem = (u32)get_cbmem_toc(); /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; acpi_update_thermal_table(gnvs); }
void acpi_create_gnvs(global_nvs_t *gnvs) { acpi_init_gnvs(gnvs); /* Enable USB ports in S3 */ gnvs->s3u0 = 1; /* Disable USB ports in S5 */ gnvs->s5u0 = 0; acpi_update_thermal_table(gnvs); }
void acpi_create_gnvs(global_nvs_t *gnvs) { /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* IGD Displays */ // the lid is open by default. gnvs->lids = 1; acpi_update_thermal_table(gnvs); }
static void acpi_create_gnvs(global_nvs_t *gnvs) { gnvs->apic = 1; gnvs->mpen = 1; /* Enable Multi Processing */ gnvs->pcnt = dev_count_cpu(); /* Enable USB ports in S3 */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; /* * Enable Front USB ports in S5 by default * to be consistent with back port behavior */ gnvs->s5u0 = 1; gnvs->s5u1 = 1; /* CBMEM TOC */ gnvs->cmem = 0; /* TPM Present */ gnvs->tpmp = 1; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; #if CONFIG_CHROMEOS // TODO(reinauer) this could move elsewhere? chromeos_init_vboot(&(gnvs->chromeos)); /* Emerald Lake has no EC (?) */ gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO; #endif /* Update the mem console pointer. */ gnvs->cbmc = (u32)cbmem_find(CBMEM_ID_CONSOLE); acpi_update_thermal_table(gnvs); }
static void acpi_create_gnvs(global_nvs_t *gnvs, igd_opregion_t *opregion) { memset((void *)gnvs, 0, sizeof(*gnvs)); gnvs->apic = 1; gnvs->mpen = 1; /* Enable Multi Processing */ gnvs->pcnt = dev_count_cpu(); /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* CBMEM TOC */ gnvs->cmem = (u32)get_cbmem_toc(); /* IGD Displays */ gnvs->ndid = 1; gnvs->did[0] = 0x80000000; gnvs->did[1] = 0x80000000; gnvs->did[2] = 0x00000000; gnvs->did[3] = 0x00000000; gnvs->did[4] = 0x00000000; #if CONFIG_CHROMEOS // TODO(reinauer) this could move elsewhere? chromeos_init_vboot(&(gnvs->chromeos)); gnvs->chromeos.vbt2 = google_ec_running_ro() ? ACTIVE_ECFW_RO : ACTIVE_ECFW_RW; #endif /* IGD OpRegion Base Address */ gnvs->aslb = (u32)opregion; acpi_update_thermal_table(gnvs); // the lid is open by default. gnvs->lids = 1; }
void acpi_create_gnvs(global_nvs_t *gnvs) { /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; #if CONFIG_CHROMEOS gnvs->chromeos.vbt2 = google_ec_running_ro() ? ACTIVE_ECFW_RO : ACTIVE_ECFW_RW; #endif acpi_update_thermal_table(gnvs); // the lid is open by default. gnvs->lids = 1; }
static void acpi_create_gnvs(global_nvs_t *gnvs) { gnvs->apic = 1; gnvs->mpen = 1; /* Enable Multi Processing */ gnvs->pcnt = dev_count_cpu(); /* Enable USB ports in S3 */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; /* Disable USB ports in S5 */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* CBMEM TOC */ gnvs->cmem = 0; /* TPM Present */ gnvs->tpmp = 1; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; #if CONFIG_CHROMEOS // TODO(reinauer) this could move elsewhere? chromeos_init_vboot(&(gnvs->chromeos)); gnvs->chromeos.vbt2 = google_ec_running_ro() ? ACTIVE_ECFW_RO : ACTIVE_ECFW_RW; #endif /* Update the mem console pointer. */ gnvs->cbmc = (u32)cbmem_find(CBMEM_ID_CONSOLE); acpi_update_thermal_table(gnvs); }
void acpi_create_gnvs(global_nvs_t *gnvs) { gnvs_ = gnvs; /* Enable Front USB ports in S3 by default */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; /* * Enable Front USB ports in S5 by default * to be consistent with back port behavior */ gnvs->s5u0 = 1; gnvs->s5u1 = 1; acpi_update_thermal_table(gnvs); // Stumpy has no arms^H^H^H^HEC. gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO; }
void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable USB ports in S3 */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; /* Disable USB ports in S5 */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* TPM Present */ gnvs->tpmp = 1; #if CONFIG_CHROMEOS gnvs->chromeos.vbt2 = google_ec_running_ro() ? ACTIVE_ECFW_RO : ACTIVE_ECFW_RW; #endif acpi_update_thermal_table(gnvs); }
void acpi_create_gnvs(global_nvs_t *gnvs) { gnvs_ = gnvs; /* * Disable 3G in suspend by default. * Provide option to enable for http://crosbug.com/p/7925 */ gnvs->s33g = 0; /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; acpi_update_thermal_table(gnvs); gnvs->chromeos.vbt2 = ec_read(0xcb) ? ACTIVE_ECFW_RW : ACTIVE_ECFW_RO; }
void acpi_create_gnvs(global_nvs_t *gnvs) { /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; // the lid is open by default. gnvs->lids = 1; acpi_update_thermal_table(gnvs); }
static void acpi_create_gnvs(global_nvs_t *gnvs) { gnvs_ = gnvs; memset((void *)gnvs, 0, sizeof(*gnvs)); gnvs->apic = 1; gnvs->mpen = 1; /* Enable Multi Processing */ gnvs->pcnt = dev_count_cpu(); /* Enable Front USB ports in S3 by default */ gnvs->s3u0 = 1; gnvs->s3u1 = 1; /* * Enable Front USB ports in S5 by default * to be consistent with back port behavior */ gnvs->s5u0 = 1; gnvs->s5u1 = 1; /* IGD Displays */ gnvs->ndid = 3; gnvs->did[0] = 0x80000100; gnvs->did[1] = 0x80000240; gnvs->did[2] = 0x80000410; gnvs->did[3] = 0x80000410; gnvs->did[4] = 0x00000005; #if CONFIG_CHROMEOS // TODO(reinauer) this could move elsewhere? chromeos_init_vboot(&(gnvs->chromeos)); #endif acpi_update_thermal_table(gnvs); // Stumpy has no arms^H^H^H^HEC. gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO; }
void acpi_create_gnvs(global_nvs_t *gnvs) { /* Disable USB ports in S3 by default */ gnvs->s3u0 = 0; gnvs->s3u1 = 0; /* Disable USB ports in S5 by default */ gnvs->s5u0 = 0; gnvs->s5u1 = 0; #if CONFIG_CHROMEOS gnvs->chromeos.vbt2 = get_recovery_mode_switch() ? ACTIVE_ECFW_RO : ACTIVE_ECFW_RW; #endif acpi_update_thermal_table(gnvs); // the lid is open by default. gnvs->lids = 1; /* XHCI Mode */ gnvs->xhci = XHCI_MODE; }