public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Instruction WFI gives error at build time.
@ 2011-09-22  9:17 Sandeep Kumar
  2011-09-22  9:40 ` Nick Thompson
  2011-09-22  9:59 ` Aneesh V
  0 siblings, 2 replies; 3+ messages in thread
From: Sandeep Kumar @ 2011-09-22  9:17 UTC (permalink / raw)
  To: u-boot

Hi,

 

I am adding support for a MPcore SoC in Uboot. For that secondary cores
need to execute WFI (wait for interrupt) instruction.

But while building the source I am getting the following error:

 

arm-none-eabi-gcc   -D__ASSEMBLY__ -g  -Os   -fno-common -ffixed-r8
-msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x60800000
-I/media/disk/work/u-boot_ct11mpc_osi_evs/include -fno-builtin
-ffreestanding -nostdinc -isystem
/home/sandeepk/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-ea
bi/4.5.2/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux
-mno-thumb-interwork -march=armv5   -o lowlevel_init.o lowlevel_init.S
-c

lowlevel_init.S: Assembler messages:

lowlevel_init.S:92: Error: missing expression -- `swi'

make[1]: *** [lowlevel_init.o] Error 1

make[1]: Leaving directory
`/media/disk/work/u-boot_ct11mpc_osi_evs/board/armltd/versatile_11mpc'

make: *** [board/armltd/versatile_11mpc/libversatile_11mpc.o] Error 2

 

How can I implement this instruction or how can I directly insert the
hex code for this instruction.

 

Regards,

Sandeep

 

 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-22  9:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-22  9:17 [U-Boot] Instruction WFI gives error at build time Sandeep Kumar
2011-09-22  9:40 ` Nick Thompson
2011-09-22  9:59 ` Aneesh V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox