summaryrefslogtreecommitdiff
path: root/arch/i386/cpu/start16.S
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:21 +1100
committerGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:21 +1100
commit8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899 (patch)
treee30b526bd603e0b608ee3feadcf83e7d8049e2ab /arch/i386/cpu/start16.S
parent59c6d0ef9af5fe0daf1b95992d061a10b33e23d4 (diff)
downloadu-boot-imx-8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899.zip
u-boot-imx-8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899.tar.gz
u-boot-imx-8ffb2e8f3365d9b80e8f7e5b7c0130b875e3b899.tar.bz2
x86: Coding Style Cleanup
Perform some basic code cleanups of the x86 files
Diffstat (limited to 'arch/i386/cpu/start16.S')
-rw-r--r--arch/i386/cpu/start16.S9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/i386/cpu/start16.S b/arch/i386/cpu/start16.S
index ebe5835..2a5cca9 100644
--- a/arch/i386/cpu/start16.S
+++ b/arch/i386/cpu/start16.S
@@ -31,7 +31,8 @@
.code16
.globl start16
start16:
- /* First we let the BSP do some early initialization
+ /*
+ * First we let the BSP do some early initialization
* this code have to map the flash to its final position
*/
mov $board_init16_ret, %bp
@@ -40,7 +41,7 @@ board_init16_ret:
/* Turn of cache (this might require a 486-class CPU) */
movl %cr0, %eax
- orl $0x60000000,%eax
+ orl $0x60000000, %eax
movl %eax, %cr0
wbinvd
@@ -50,7 +51,7 @@ o32 cs lgdt gdt_ptr
/* Now, we enter protected mode */
movl %cr0, %eax
- orl $1,%eax
+ orl $1, %eax
movl %eax, %cr0
/* Flush the prefetch queue */
@@ -61,7 +62,7 @@ ff:
/* Finally jump to the 32bit initialization code */
movw $code32start, %ax
- movw %ax,%bp
+ movw %ax, %bp
o32 cs ljmp *(%bp)
/* 48-bit far pointer */