Changeset 08d85992 in rtems
- Timestamp:
- 03/01/17 10:31:57 (7 years ago)
- Branches:
- 5, master
- Children:
- 1f618ab0
- Parents:
- a60db69
- Location:
- c/src/lib/libbsp/powerpc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/gen5200/irq/irq.c
ra60db69 r08d85992 74 74 /***********************************************************************/ 75 75 76 #include <inttypes.h> 77 76 78 #include <rtems.h> 77 79 … … 718 720 { 719 721 if (vector != BSP_DECREMENTER) { 720 printk( "Spurious interrupt: 0x%08 x\n", vector);721 } 722 } 722 printk( "Spurious interrupt: 0x%08" PRIx32 "\n", vector); 723 } 724 } -
c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c
ra60db69 r08d85992 580 580 581 581 } 582 else 583 584 585 586 587 582 583 count = args->count; 584 585 m93cxx_enable_write(); 586 587 WAIT(1); 588 588 589 589 for(i = 0; i < count; i++) -
c/src/lib/libbsp/powerpc/shared/showbats.c
ra60db69 r08d85992 10 10 */ 11 11 12 #include <inttypes.h> 12 13 #include <string.h> 13 14 … … 22 23 uint32_t size; 23 24 24 printk("BAT%d raw(upper=0x%08 x, lower=0x%08x) ", bat, upper, lower );25 printk("BAT%d raw(upper=0x%08" PRIx32 ", lower=0x%08" PRIx32 ") ", bat, upper, lower ); 25 26 26 27 lowest_addr = (upper & 0xFFFE0000); 27 28 size = (((upper & 0x00001FFC) >> 2) + 1) * (128 * 1024); 28 printk(" range(0x%08 x, 0x%08x) %s%s %s%s%s%s %s\n",29 printk(" range(0x%08" PRIx32 ", 0x%08" PRIx32 ") %s%s %s%s%s%s %s\n", 29 30 lowest_addr, 30 31 lowest_addr + (size - 1), -
c/src/lib/libbsp/powerpc/shared/uboot_dump_bdinfo.c
ra60db69 r08d85992 8 8 */ 9 9 10 #include <inttypes.h> 10 11 11 12 #include <bsp.h> … … 32 33 printk( 33 34 "*** U-Boot Information ***\n" 34 "Start/Size of DRAM memory = % p for %lx\n"35 "Start/Size of Flash memory = % pfor %lx\n"35 "Start/Size of DRAM memory = %lu for %llx\n" 36 "Start/Size of Flash memory = %lu for %lx\n" 36 37 "Reserved area for startup monitor = %ld\n" 37 "Start/Size of SRAM memory = % pfor %ld\n"38 "Start/Size of SRAM memory = %lu for %ld\n" 38 39 "Boot/Reboot flag = %ld\n" 39 "IP Address = % d:%d:%d:%d\n"40 "IP Address = %ld:%ld:%ld:%ld\n" 40 41 "Ethernet address = %02x:%02x:%02x:%02x:%02x:%02x\n" 41 42 "Ethernet speed in Mbps = %d\n" … … 46 47 #endif 47 48 #if defined(CONFIG_MPC5xxx) 48 "MBAR = % p\n"49 "MBAR = %lx\n" 49 50 "IPB Bus Freq, in MHz = %ld\n" 50 51 "PCI Bus Freq, in MHz = %ld\n" 51 52 #endif 52 53 , 53 u->bi_memstart, 54 u->bi_memstart, (unsigned long long) u->bi_memsize, 54 55 u->bi_flashstart, u->bi_flashsize, 55 56 u->bi_flashoffset,
Note: See TracChangeset
for help on using the changeset viewer.