Also use different console messages for copying and uncompressing, like
it's already done in similar code in other places.
Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3688
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
movl $_iseg, %edi
movl $_eiseg, %ecx
subl %edi, %ecx
+ movb %cl, %al
+ shrl $2, %ecx
+ andb $3, %al
+ rep movsl
+ movb %al, %cl
rep movsb
#else
leal 4+_liseg, %esi
#if defined(CONSOLE_DEBUG_TX_STRING) && (ASM_CONSOLE_LOGLEVEL > BIOS_DEBUG)
.section ".rom.data"
+#if CONFIG_COMPRESS
+str_copying_to_ram: .string "Uncompressing coreboot to RAM.\r\n"
+#else
str_copying_to_ram: .string "Copying coreboot to RAM.\r\n"
+#endif
str_pre_main: .string "Jumping to coreboot.\r\n"
.previous
movl $_iseg, %edi
movl $_eiseg, %ecx
subl %edi, %ecx
+ movb %cl, %al
+ shrl $2, %ecx
+ andb $3, %al
+ rep movsl
+ movb %al, %cl
rep movsb
#else
leal 4+_liseg, %esi
#if defined(CONSOLE_DEBUG_TX_STRING) && (ASM_CONSOLE_LOGLEVEL > BIOS_DEBUG)
.section ".rom.data"
+#if CONFIG_COMPRESS
+str_copying_to_ram: .string "Uncompressing coreboot to ram.\r\n"
+#else
str_copying_to_ram: .string "Copying coreboot to ram.\r\n"
+#endif
str_pre_main: .string "Jumping to coreboot.\r\n"
.previous