/arch/powerpc/boot/ |
D | redboot-8xx.c | 19 static bd_t bd; variable 28 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 29 dt_fixup_mac_addresses(bd.bi_enetaddr); in platform_fixups() 30 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq); in platform_fixups() 35 bd.bi_busfreq, MHZ(bd.bi_busfreq)); in platform_fixups() 36 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups() 43 memcpy(&bd, (char *)r3, sizeof(bd)); in platform_init() 45 if (bd.bi_tag != 0x42444944) in platform_init() 49 bd.bi_memstart + bd.bi_memsize - (unsigned long)_end, in platform_init() 56 loader_info.cmdline = (char *)bd.bi_cmdline; in platform_init() [all …]
|
D | redboot-83xx.c | 20 static bd_t bd; variable 29 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 30 dt_fixup_mac_addresses(bd.bi_enetaddr); in platform_fixups() 31 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq); in platform_fixups() 36 bd.bi_busfreq, MHZ(bd.bi_busfreq)); in platform_fixups() 37 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups() 45 memcpy(&bd, (char *)r3, sizeof(bd)); in platform_init() 47 if (bd.bi_tag != 0x42444944) in platform_init() 51 bd.bi_memstart + bd.bi_memsize - (unsigned long)_end, in platform_init() 58 loader_info.cmdline = (char *)bd.bi_cmdline; in platform_init() [all …]
|
D | cuboot-85xx-cpm2.c | 21 static bd_t bd; variable 27 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 28 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in platform_fixups() 29 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in platform_fixups() 30 dt_fixup_mac_address_by_alias("ethernet2", bd.bi_enet2addr); in platform_fixups() 31 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 8, bd.bi_busfreq); in platform_fixups() 41 setprop(devp, "bus-frequency", &bd.bi_busfreq, in platform_fixups() 42 sizeof(bd.bi_busfreq)); in platform_fixups() 48 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups() 49 sizeof(bd.bi_busfreq)); in platform_fixups() [all …]
|
D | cuboot-85xx.c | 21 static bd_t bd; variable 27 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 28 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in platform_fixups() 29 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in platform_fixups() 30 dt_fixup_mac_address_by_alias("ethernet2", bd.bi_enet2addr); in platform_fixups() 31 dt_fixup_mac_address_by_alias("ethernet3", bd.bi_enet3addr); in platform_fixups() 32 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 8, bd.bi_busfreq); in platform_fixups() 42 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups() 43 sizeof(bd.bi_busfreq)); in platform_fixups() 49 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups() [all …]
|
D | cuboot-83xx.c | 20 static bd_t bd; variable 26 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 27 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in platform_fixups() 28 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in platform_fixups() 29 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); in platform_fixups() 39 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups() 40 sizeof(bd.bi_busfreq)); in platform_fixups() 46 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups() 47 sizeof(bd.bi_busfreq)); in platform_fixups()
|
D | cuboot-824x.c | 18 static bd_t bd; variable 25 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 26 dt_fixup_mac_addresses(bd.bi_enetaddr); in platform_fixups() 27 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); in platform_fixups() 33 setprop(soc, "bus-frequency", &bd.bi_busfreq, in platform_fixups() 34 sizeof(bd.bi_busfreq)); in platform_fixups() 40 setprop(serial, "clock-frequency", &bd.bi_busfreq, in platform_fixups() 41 sizeof(bd.bi_busfreq)); in platform_fixups()
|
D | cuboot-hotfoot.c | 23 static bd_t bd; variable 31 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in hotfoot_fixups() 33 dt_fixup_cpu_clocks(bd.bi_procfreq, bd.bi_procfreq, 0); in hotfoot_fixups() 34 dt_fixup_clock("/plb", bd.bi_plb_busfreq); in hotfoot_fixups() 35 dt_fixup_clock("/plb/opb", bd.bi_opbfreq); in hotfoot_fixups() 36 dt_fixup_clock("/plb/ebc", bd.bi_pci_busfreq); in hotfoot_fixups() 37 dt_fixup_clock("/plb/opb/serial@ef600300", bd.bi_procfreq / uart); in hotfoot_fixups() 38 dt_fixup_clock("/plb/opb/serial@ef600400", bd.bi_procfreq / uart); in hotfoot_fixups() 40 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in hotfoot_fixups() 41 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in hotfoot_fixups() [all …]
|
D | cuboot-mpc7448hpc2.c | 25 static bd_t bd; variable 32 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 33 dt_fixup_mac_addresses(bd.bi_enetaddr, bd.bi_enet1addr); in platform_fixups() 34 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); in platform_fixups() 37 setprop(tsi, "bus-frequency", &bd.bi_busfreq, in platform_fixups() 38 sizeof(bd.bi_busfreq)); in platform_fixups()
|
D | cuboot-8xx.c | 21 static bd_t bd; variable 27 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 28 dt_fixup_mac_addresses(bd.bi_enetaddr, bd.bi_enet1addr); in platform_fixups() 29 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq); in platform_fixups() 33 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups() 37 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
|
D | cuboot-52xx.c | 22 static bd_t bd; variable 31 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 32 dt_fixup_mac_addresses(bd.bi_enetaddr); in platform_fixups() 33 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); in platform_fixups() 45 setprop(soc, "bus-frequency", &bd.bi_ipbfreq, in platform_fixups() 46 sizeof(bd.bi_ipbfreq)); in platform_fixups() 51 sysfreq = bd.bi_busfreq * div; in platform_fixups()
|
D | mvme7100.c | 25 static bd_t bd; variable 32 unsigned long busfreq = bd.bi_busfreq * 1000000; in mvme7100_fixups() 34 dt_fixup_cpu_clocks(bd.bi_intfreq * 1000000, busfreq / 4, busfreq); in mvme7100_fixups() 44 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in mvme7100_fixups() 46 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in mvme7100_fixups() 47 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in mvme7100_fixups() 48 dt_fixup_mac_address_by_alias("ethernet2", bd.bi_enet2addr); in mvme7100_fixups() 49 dt_fixup_mac_address_by_alias("ethernet3", bd.bi_enet3addr); in mvme7100_fixups()
|
D | cuboot-amigaone.c | 20 static bd_t bd; variable 24 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in platform_fixups() 25 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); in platform_fixups()
|
D | cuboot-kilauea.c | 28 static bd_t bd; variable 35 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in kilauea_fixups() 37 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in kilauea_fixups() 38 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in kilauea_fixups()
|
D | cuboot.h | 10 memcpy(&bd, (bd_t *)r3, sizeof(bd)); \ 11 cuboot_init(r4, r5, r6, r7, bd.bi_memstart + bd.bi_memsize); \
|
D | cuboot-acadia.c | 24 static bd_t bd; variable 152 dt_fixup_cpu_clocks(bd.bi_procfreq, bd.bi_intfreq, bd.bi_plb_busfreq); in get_clocks() 161 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in acadia_fixups() 163 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in acadia_fixups()
|
D | cuboot-ebony.c | 24 static bd_t bd; variable 30 ebony_init(&bd.bi_enetaddr, &bd.bi_enet1addr); in platform_init()
|
D | cuboot-bamboo.c | 24 static bd_t bd; variable 30 bamboo_init(&bd.bi_enetaddr, &bd.bi_enet1addr); in platform_init()
|
D | cuboot-pq2.c | 24 static bd_t bd; variable 210 mem_pow2 = 1 << (__ilog2_u32(bd.bi_memsize - 1) + 1); in fixup_pci() 249 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); in pq2_platform_fixups() 250 dt_fixup_mac_addresses(bd.bi_enetaddr, bd.bi_enet1addr); in pq2_platform_fixups() 251 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); in pq2_platform_fixups() 255 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4); in pq2_platform_fixups() 259 setprop(node, "clock-frequency", &bd.bi_brgfreq, 4); in pq2_platform_fixups()
|
D | cuboot-taishan.c | 29 static bd_t bd; variable 43 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in taishan_fixups() 44 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in taishan_fixups()
|
D | cuboot-sequoia.c | 35 static bd_t bd; variable 45 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in sequoia_fixups() 46 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in sequoia_fixups()
|
D | cuboot-rainier.c | 35 static bd_t bd; variable 45 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in rainier_fixups() 46 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in rainier_fixups()
|
D | cuboot-sam440ep.c | 29 static bd_t bd; variable 38 dt_fixup_mac_addresses(&bd.bi_enetaddr, &bd.bi_enet1addr); in sam440ep_fixups()
|
D | cuboot-yosemite.c | 23 static bd_t bd; variable 32 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in yosemite_fixups() 33 dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); in yosemite_fixups()
|
D | cuboot-katmai.c | 29 static bd_t bd; variable 44 dt_fixup_mac_address(0, bd.bi_enetaddr); in katmai_fixups()
|
D | cuboot-warp.c | 19 static bd_t bd; variable 26 dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); in warp_fixups()
|