U-Boot: Fix comments and ppc build

* those are not ARM-specific.
* this asm code doesn't build for ppc, and is not really useful for ARM either.
This commit is contained in:
François Revol 2012-05-17 18:07:56 +02:00
parent 1f675a7fcb
commit f4bd3cda32

View File

@ -34,7 +34,7 @@
static void static void
calculate_cpu_conversion_factor() calculate_cpu_conversion_factor()
{ {
#warning ARM:TODO! #warning U-Boot:TODO!
} }
@ -42,7 +42,7 @@ static status_t
check_cpu_features() check_cpu_features()
{ {
#warning ARM:TODO! #warning U-Boot:TODO!
return B_OK; return B_OK;
} }
@ -55,10 +55,12 @@ spin(bigtime_t microseconds)
{ {
for(bigtime_t i=0;i<microseconds;i=i+1) for(bigtime_t i=0;i<microseconds;i=i+1)
{ {
/*
asm volatile ("mov r0,r0"); asm volatile ("mov r0,r0");
asm volatile ("mov r0,r0"); asm volatile ("mov r0,r0");
*/
} }
#warning ARM/UBOOT:TODO!! #warning U-Boot:TODO!!
} }