diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-06-07 13:46:50 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-06-07 13:46:50 +0000 |
commit | 0ffff3434e610cf38c8eb06a3f1b1dece92652fa (patch) | |
tree | cbe26bd96d6f5aaa536987741879ccc4b49cc6d2 /src/mainboard/via/epia-m700/get_dsdt | |
parent | cff071ab0ed60c887ceeaafa2e722b07691fff10 (diff) |
First bunch of coding style and consistency cleanups for the
EPIA-M700 target.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4349 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/epia-m700/get_dsdt')
-rw-r--r-- | src/mainboard/via/epia-m700/get_dsdt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/via/epia-m700/get_dsdt b/src/mainboard/via/epia-m700/get_dsdt index 95d4a042ca..ae6df9f019 100644 --- a/src/mainboard/via/epia-m700/get_dsdt +++ b/src/mainboard/via/epia-m700/get_dsdt @@ -19,25 +19,25 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -# Simple script to dump the factory ACPI DSDT and convert it to C -# Needs to be run as root on some systems, and always run on the target machine +# Simple script to dump the factory ACPI DSDT and convert it to C. +# Must be run as root on some systems, and always run on the target machine. -if [ ! iasl ] -then echo "Intel ASL Compiler required to recompile DSDT table" +if [ ! iasl ]; then + echo "Intel ASL Compiler required to recompile DSDT table." fi -if [ ! -f /proc/acpi/dsdt ] -then echo "Cannot find DSDT table, check that your kernel supports and uses ACPI" +if [ ! -f /proc/acpi/dsdt ]; then + echo "Cannot find DSDT table, check that your kernel supports and uses ACPI." fi cat /proc/acpi/dsdt > dsdt -if [ ! -f dsdt ] -then echo "Failed copying DSDT, please check your permissions" +if [ ! -f dsdt ]; then + echo "Failed copying DSDT, please check your permissions." fi iasl -d -vr -vs dsdt iasl -tc -vr -vs dsdt.dsl mv dsdt.hex dsdt.c -echo "Done, cleaning up" +echo "Done, cleaning up." rm -f dsdt dsdt.dsl dsdt.aml dsdt.hex exit |