Trivial. Fix typo.
sh> find -name "acpi_tables.c" | xargs sed -i "s/FDAT/FADT/g" Signed-off-by: Zheng Bao <zheng.bao@amd.com> Acked-by: Zheng Bao <zheng.bao@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6146 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
d421c81d72
commit
7f20d73eba
|
@ -235,7 +235,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
|
@ -282,7 +282,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
memcpy(dsdt, &AmlCode, dsdt->length);
|
memcpy(dsdt, &AmlCode, dsdt->length);
|
||||||
printk(BIOS_DEBUG, "ACPI: * DSDT @ %p Length %x\n", dsdt, dsdt->length);
|
printk(BIOS_DEBUG, "ACPI: * DSDT @ %p Length %x\n", dsdt, dsdt->length);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
current += sizeof(acpi_fadt_t);
|
current += sizeof(acpi_fadt_t);
|
||||||
|
|
|
@ -305,7 +305,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
|
@ -235,7 +235,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
|
@ -234,7 +234,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
|
@ -234,7 +234,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
|
@ -233,7 +233,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
|
@ -233,7 +233,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
|
@ -235,7 +235,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
|
@ -292,7 +292,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
memcpy(dsdt, &AmlCode, dsdt->length);
|
memcpy(dsdt, &AmlCode, dsdt->length);
|
||||||
printk(BIOS_DEBUG, "ACPI: * DSDT @ %p Length %x\n",dsdt,dsdt->length);
|
printk(BIOS_DEBUG, "ACPI: * DSDT @ %p Length %x\n",dsdt,dsdt->length);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT\n");
|
printk(BIOS_DEBUG, "ACPI: * FADT\n");
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
current += sizeof(acpi_fadt_t);
|
current += sizeof(acpi_fadt_t);
|
||||||
|
|
|
@ -234,7 +234,7 @@ unsigned long write_acpi_tables(unsigned long start)
|
||||||
current += sizeof(acpi_facs_t);
|
current += sizeof(acpi_facs_t);
|
||||||
acpi_create_facs(facs);
|
acpi_create_facs(facs);
|
||||||
|
|
||||||
/* FDAT */
|
/* FADT */
|
||||||
current = ( current + 0x07) & -0x08;
|
current = ( current + 0x07) & -0x08;
|
||||||
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * FADT at %lx\n", current);
|
||||||
fadt = (acpi_fadt_t *) current;
|
fadt = (acpi_fadt_t *) current;
|
||||||
|
|
Loading…
Reference in New Issue