Whitespace/typo/cosmetic fixes (trivial).
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 23 Sep 2010 18:48:27 +0000 (18:48 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 23 Sep 2010 18:48:27 +0000 (18:48 +0000)
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@5830 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

README
documentation/POSTCODES
src/Kconfig.deprecated_options
src/arch/i386/Kconfig
src/cpu/amd/model_gx2/cache_as_ram.inc
src/cpu/amd/model_lx/cache_as_ram.inc
src/cpu/x86/32bit/entry32.inc
src/include/boot/coreboot_tables.h
src/pc80/usbdebug_serial.c

diff --git a/README b/README
index f56da44bc98534dd84e80d5b2ea6228943e59676..d87969559f5badc73d0fbfe9c04b451f2f579e01 100644 (file)
--- a/README
+++ b/README
@@ -51,7 +51,7 @@ Please consult http://www.coreboot.org/Build_HOWTO for details.
 
 
 Testing coreboot Without Modifying Your Hardware
--------------------------------------------------
+------------------------------------------------
 
 If you want to test coreboot without any risks before you really decide
 to use it on your hardware, you can use the QEMU system emulator to run
index 3c02f7f15d4b65d8c54a9300bc4b27b3b0daf5e5..85ad4d76f954eba88d4890432347eb0b1d7b7b51 100644 (file)
@@ -2,13 +2,13 @@
 coreboot POST Codes
 -------------------------------------------------------------------------------
 
-This is an (incomplete) list of POST codes emitted by coreboot v2.
+This is an (incomplete) list of POST codes emitted by coreboot v4.
 
 0x10 Entry into protected mode
 0x01 Entry into 'crt0.s' reset code jumps to here
-0x11 Start copying LinuxBIOS to RAM with decompression if compressed
+0x11 Start copying coreboot to RAM with decompression if compressed
 0x12 Copy/decompression finished jumping to RAM
-0x80 Entry into LinuxBIOS in RAM
+0x80 Entry into coreboot in RAM
 0x13 Entry into c_start
 0xfe Pre call to hardwaremain()
 0x39 Console is initialized
index 448afca9b2d7c08b6bd56a29d77dc3cc3d690f70..f6f6a4bedff719240bf9b0cf0a50200a70f44e28 100644 (file)
@@ -4,45 +4,48 @@
 
 # It might be possible to consolidate hard_reset() to southbridges,
 # given that it (usually) uses its registers.
-# The long term goal would be to eliminate hard_reset from boards.
+# The long term goal would be to eliminate hard_reset() from boards.
 config BOARD_HAS_HARD_RESET
-        bool
-        default n
-        help
-          This variable specifies whether a given board has a reset.c
-          file containing a hard_reset() function.
+       bool
+       default n
+       help
+         This variable specifies whether a given board has a reset.c
+         file containing a hard_reset() function.
 
 # It might be possible to consolidate FADTs to southbridges. This would
 # improve code reuse in the tree.
 config BOARD_HAS_FADT
-        bool
-        default n
-        help
-          This variable specifies whether a given board has a board-local
-          FADT in fadt.c. Long-term, those should be moved to appropriate
-          chipset components (eg. southbridge)
+       bool
+       default n
+       help
+         This variable specifies whether a given board has a board-local
+         FADT in fadt.c. Long-term, those should be moved to appropriate
+         chipset components (eg. southbridge).
 
 # There ought to be a better place to put data than code. Also, make this
 # (or a similar) framework more universally usable, so all boards benefit
 # from sharing data between the various tables.
 config HAVE_BUS_CONFIG
-        bool
-        default n
+       bool
+       default n
        help
          This variable specifies whether a given board has a get_bus_conf.c
          file containing information about bus routing.
 
-# Will be removed (alongside with the PS2 init code) once payloads
-# reliably support PS2 init themselves.
+# Will be removed (alongside with the PS/2 init code) once payloads
+# reliably support PS/2 init themselves.
 config DRIVERS_PS2_KEYBOARD
-       bool "PS2 Keyboard init"
+       bool "PS/2 keyboard init"
        default y
        help
-         Enable this option to initialize PS2 keyboards found connected
-         to the PS2 port.  Some payloads (eg, filo) require this
-         option.  Other payloads (eg, SeaBIOS, Linux) do not require
-         it.  Initializing a PS2 keyboard can take several hundred
-         milliseconds.
+         Enable this option to initialize PS/2 keyboards found connected
+         to the PS/2 port.
+
+         Some payloads (eg, filo) require this option.  Other payloads
+         (eg, SeaBIOS, Linux) do not require it.
+         Initializing a PS/2 keyboard can take several hundred milliseconds.
+
          If you know you will only use a payload which does not require
-         this option, then you can say "n" here to speed up boot time.
-         Otherwise say "y".
+         this option, then you can say N here to speed up boot time.
+         Otherwise say Y.
+
index 7df5c53201c3542646be34041220d3ad9a87e280..ef86d99119941a0417cda3cc7c2549b4679f3fdd 100644 (file)
@@ -76,10 +76,10 @@ config UPDATE_IMAGE
        default n
        depends on TINY_BOOTBLOCK
        help
-               If this option is activate, no new coreboot.rom file
-               is created. Instead it is expected that there already
-               is a suitable file for further processing.
-               The bootblock will not be modified.
+         If this option is enabled, no new coreboot.rom file
+         is created. Instead it is expected that there already
+         is a suitable file for further processing.
+         The bootblock will not be modified.
 
 config ROMCC
        bool
index 09a7541676679df1f4f7edcec76a91f4ce732c01..433576c73718d1ccfdedaa0d6f60ed0f4f0ecb40 100644 (file)
@@ -184,7 +184,7 @@ done_cache_as_ram_main:
        /* clear boot_complete flag */
        xorl    %ebp, %ebp
 __main:
-       post_code(0x11)         /* post 11 */
+       post_code(0x11)
 
        /* TODO For suspend/resume the cache will have to live between
         * CONFIG_RAMBASE and CONFIG_RAMTOP
@@ -201,7 +201,7 @@ __main:
        call copy_and_run
 
 .Lhlt:
-       post_code(0xee) /* post fail ee */
+       post_code(0xee)
        hlt
        jmp     .Lhlt
 
index b592bc51b9f1f9491c75be47cadee89cfcf3ed32..a2e8f87e64dcd7fcc4b916458b687b46b6955b90 100644 (file)
@@ -210,7 +210,7 @@ done_cache_as_ram_main:
        /* clear boot_complete flag */
        xorl    %ebp, %ebp
 __main:
-       post_code(0x11)         /* post 11 */
+       post_code(0x11)
 
        /* TODO For suspend/resume the cache will have to live between
         * CONFIG_RAMBASE and CONFIG_RAMTOP
@@ -227,7 +227,7 @@ __main:
        call copy_and_run
 
 .Lhlt:
-       post_code(0xee) /* post fail ee */
+       post_code(0xee)
        hlt
        jmp     .Lhlt
 
index abb4a97236ff7843c0788f556b00e2b7e66d29e7..de3b6cdfaaab5dddd3d7bfc6def5b4fcb90b3142 100644 (file)
@@ -51,7 +51,7 @@ __protected_start:
        /* Save the BIST value */
        movl    %eax, %ebp
 
-       post_code(0x10) /* post 10 */
+       post_code(0x10)
 
        movw    $ROM_DATA_SEG, %ax
        movw    %ax, %ds
index 19d2881f43641dd09d83c1bc7122f75f26a609f3..cbfe3f313467f4695f507c79566645e6174eb09a 100644 (file)
@@ -74,10 +74,10 @@ struct lb_header
        uint32_t table_entries;
 };
 
-/* Every entry in the boot enviroment list will correspond to a boot
+/* Every entry in the boot environment list will correspond to a boot
  * info record.  Encoding both type and size.  The type is obviously
  * so you can tell what it is.  The size allows you to skip that
- * boot enviroment record if you don't know what it easy.  This allows
+ * boot environment record if you don't know what it easy.  This allows
  * forward compatibility with records not yet defined.
  */
 struct lb_record {
@@ -85,9 +85,9 @@ struct lb_record {
        uint32_t size;          /* size of record (in bytes) */
 };
 
-#define LB_TAG_UNUSED  0x0000
+#define LB_TAG_UNUSED          0x0000
 
-#define LB_TAG_MEMORY  0x0001
+#define LB_TAG_MEMORY          0x0001
 
 struct lb_memory_range {
        struct lb_uint64 start;
@@ -108,7 +108,7 @@ struct lb_memory {
        struct lb_memory_range map[0];
 };
 
-#define LB_TAG_HWRPB   0x0002
+#define LB_TAG_HWRPB           0x0002
 struct lb_hwrpb {
        uint32_t tag;
        uint32_t size;
index f3e7d5f281fd56a3e8677b090b8fc17789389525..c58dce1294d75f9c71a4343aab4c35a55a9798e1 100644 (file)
@@ -1,6 +1,9 @@
 /*
  * This file is part of the coreboot project.
  *
+ * Copyright (C) 2007 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; version 2 of the License.