mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (77 commits) [POWERPC] Abolish powerpc_flash_init() [POWERPC] Early serial debug support for PPC44x [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc [POWERPC] Add device tree for Ebony [POWERPC] Add powerpc/platforms/44x, disable platforms/4xx for now [POWERPC] MPIC U3/U4 MSI backend [POWERPC] MPIC MSI allocator [POWERPC] Enable MSI mappings for MPIC [POWERPC] Tell Phyp we support MSI [POWERPC] RTAS MSI implementation [POWERPC] PowerPC MSI infrastructure [POWERPC] Rip out the existing powerpc msi stubs [POWERPC] Remove use of 4level-fixup.h for ppc32 [POWERPC] Add powerpc PCI-E reset API implementation [POWERPC] Holly bootwrapper [POWERPC] Holly DTS [POWERPC] Holly defconfig [POWERPC] Add support for 750CL Holly board [POWERPC] Generalize tsi108 PCI setup [POWERPC] Generalize tsi108 PHY types ... Fixed conflict in include/asm-powerpc/kdebug.h manually Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
commit
df6d3916f3
217 changed files with 8175 additions and 2119 deletions
|
|
@ -892,16 +892,16 @@ static int get_system_info(void)
|
|||
if (!rootdn)
|
||||
return -ENOENT;
|
||||
|
||||
model = get_property(rootdn, "model", NULL);
|
||||
id = get_property(rootdn, "system-id", NULL);
|
||||
model = of_get_property(rootdn, "model", NULL);
|
||||
id = of_get_property(rootdn, "system-id", NULL);
|
||||
if (model && id)
|
||||
snprintf(system_id, sizeof(system_id), "%s-%s", model, id);
|
||||
|
||||
name = get_property(rootdn, "ibm,partition-name", NULL);
|
||||
name = of_get_property(rootdn, "ibm,partition-name", NULL);
|
||||
if (name)
|
||||
strncpy(partition_name, name, sizeof(partition_name));
|
||||
|
||||
num = get_property(rootdn, "ibm,partition-no", NULL);
|
||||
num = of_get_property(rootdn, "ibm,partition-no", NULL);
|
||||
if (num)
|
||||
partition_number = *num;
|
||||
|
||||
|
|
|
|||
|
|
@ -162,11 +162,11 @@ static void gather_partition_info(void)
|
|||
return;
|
||||
}
|
||||
|
||||
ppartition_name = get_property(rootdn, "ibm,partition-name", NULL);
|
||||
ppartition_name = of_get_property(rootdn, "ibm,partition-name", NULL);
|
||||
if (ppartition_name)
|
||||
strncpy(partition_name, ppartition_name,
|
||||
sizeof(partition_name));
|
||||
p_number_ptr = get_property(rootdn, "ibm,partition-no", NULL);
|
||||
p_number_ptr = of_get_property(rootdn, "ibm,partition-no", NULL);
|
||||
if (p_number_ptr)
|
||||
partition_number = *p_number_ptr;
|
||||
of_node_put(rootdn);
|
||||
|
|
|
|||
|
|
@ -471,7 +471,7 @@ static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *mat
|
|||
goto out_free;
|
||||
}
|
||||
|
||||
clkprop = get_property(node, "clock-frequency", &proplen);
|
||||
clkprop = of_get_property(node, "clock-frequency", &proplen);
|
||||
if (clkprop == NULL || proplen != sizeof(int)) {
|
||||
printk(KERN_ERR "%s: can't get clock frequency, "
|
||||
"assuming 25MHz\n", node->full_name);
|
||||
|
|
|
|||
|
|
@ -1947,7 +1947,7 @@ static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match)
|
|||
ms->tgts[tgt].current_req = NULL;
|
||||
}
|
||||
|
||||
if ((cfp = get_property(mesh, "clock-frequency", NULL)))
|
||||
if ((cfp = of_get_property(mesh, "clock-frequency", NULL)))
|
||||
ms->clk_freq = *cfp;
|
||||
else {
|
||||
printk(KERN_INFO "mesh: assuming 50MHz clock frequency\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue