Merge branch 'for-2.6.22' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'for-2.6.22' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (255 commits) [POWERPC] Remove dev_dbg redefinition in drivers/ps3/vuart.c [POWERPC] remove kernel module option for booke wdt [POWERPC] Avoid putting cpu node twice [POWERPC] Spinlock initializer cleanup [POWERPC] ppc4xx_sgdma needs dma-mapping.h [POWERPC] arch/powerpc/sysdev/timer.c build fix [POWERPC] get_property cleanups [POWERPC] Remove the unused HTDMSOUND driver [POWERPC] cell: cbe_cpufreq cleanup and crash fix [POWERPC] Declare enable_kernel_spe in a header [POWERPC] Add dt_xlate_addr() to bootwrapper [POWERPC] bootwrapper: CONFIG_ -> CONFIG_DEVICE_TREE [POWERPC] Don't define a custom bd_t for Xilixn Virtex based boards. [POWERPC] Add sane defaults for Xilinx EDK generated xparameters files [POWERPC] Add uartlite boot console driver for the zImage wrapper [POWERPC] Stop using ppc_sys for Xilinx Virtex boards [POWERPC] New registration for common Xilinx Virtex ppc405 platform devices [POWERPC] Merge common virtex header files [POWERPC] Rework Kconfig dependancies for Xilinx Virtex ppc405 platform [POWERPC] Clean up cpufreq Kconfig dependencies ...
This commit is contained in:
@@ -2,11 +2,8 @@
|
||||
# QE Communication options
|
||||
#
|
||||
|
||||
menu "QE Options"
|
||||
depends on QUICC_ENGINE
|
||||
|
||||
config UCC_SLOW
|
||||
bool "UCC Slow Protocols Support"
|
||||
bool
|
||||
default n
|
||||
select UCC
|
||||
help
|
||||
@@ -14,10 +11,9 @@ config UCC_SLOW
|
||||
protocols: UART, BISYNC, QMC
|
||||
|
||||
config UCC_FAST
|
||||
bool "UCC Fast Protocols Support"
|
||||
bool
|
||||
default n
|
||||
select UCC
|
||||
select UCC_SLOW
|
||||
help
|
||||
This option provides qe_lib support to UCC fast
|
||||
protocols: HDLC, Ethernet, ATM, transparent
|
||||
@@ -26,5 +22,3 @@ config UCC
|
||||
bool
|
||||
default y if UCC_FAST || UCC_SLOW
|
||||
|
||||
endmenu
|
||||
|
||||
|
@@ -71,7 +71,7 @@ phys_addr_t get_qe_base(void)
|
||||
qe = of_find_node_by_type(NULL, "qe");
|
||||
if (qe) {
|
||||
unsigned int size;
|
||||
const void *prop = get_property(qe, "reg", &size);
|
||||
const void *prop = of_get_property(qe, "reg", &size);
|
||||
qebase = of_translate_address(qe, prop);
|
||||
of_node_put(qe);
|
||||
};
|
||||
@@ -158,7 +158,7 @@ unsigned int get_brg_clk(void)
|
||||
qe = of_find_node_by_type(NULL, "qe");
|
||||
if (qe) {
|
||||
unsigned int size;
|
||||
const u32 *prop = get_property(qe, "brg-frequency", &size);
|
||||
const u32 *prop = of_get_property(qe, "brg-frequency", &size);
|
||||
brg_clk = *prop;
|
||||
of_node_put(qe);
|
||||
};
|
||||
|
@@ -53,7 +53,7 @@ int par_io_init(struct device_node *np)
|
||||
return ret;
|
||||
par_io = ioremap(res.start, res.end - res.start + 1);
|
||||
|
||||
num_ports = get_property(np, "num-ports", NULL);
|
||||
num_ports = of_get_property(np, "num-ports", NULL);
|
||||
if (num_ports)
|
||||
num_par_io_ports = *num_ports;
|
||||
|
||||
@@ -161,7 +161,7 @@ int par_io_of_config(struct device_node *np)
|
||||
return -1;
|
||||
}
|
||||
|
||||
ph = get_property(np, "pio-handle", NULL);
|
||||
ph = of_get_property(np, "pio-handle", NULL);
|
||||
if (ph == 0) {
|
||||
printk(KERN_ERR "pio-handle not available \n");
|
||||
return -1;
|
||||
@@ -169,7 +169,7 @@ int par_io_of_config(struct device_node *np)
|
||||
|
||||
pio = of_find_node_by_phandle(*ph);
|
||||
|
||||
pio_map = get_property(pio, "pio-map", &pio_map_len);
|
||||
pio_map = of_get_property(pio, "pio-map", &pio_map_len);
|
||||
if (pio_map == NULL) {
|
||||
printk(KERN_ERR "pio-map is not set! \n");
|
||||
return -1;
|
||||
|
@@ -187,7 +187,7 @@ int ucc_slow_init(struct ucc_slow_info * us_info, struct ucc_slow_private ** ucc
|
||||
uccs->us_pram = qe_muram_addr(uccs->us_pram_offset);
|
||||
|
||||
/* Init Guemr register */
|
||||
if ((ret = ucc_init_guemr((struct ucc_common *) (us_info->regs)))) {
|
||||
if ((ret = ucc_init_guemr((struct ucc_common *) us_regs))) {
|
||||
printk(KERN_ERR "%s: cannot init GUEMR", __FUNCTION__);
|
||||
ucc_slow_free(uccs);
|
||||
return ret;
|
||||
@@ -195,7 +195,7 @@ int ucc_slow_init(struct ucc_slow_info * us_info, struct ucc_slow_private ** ucc
|
||||
|
||||
/* Set UCC to slow type */
|
||||
if ((ret = ucc_set_type(us_info->ucc_num,
|
||||
(struct ucc_common *) (us_info->regs),
|
||||
(struct ucc_common *) us_regs,
|
||||
UCC_SPEED_TYPE_SLOW))) {
|
||||
printk(KERN_ERR "%s: cannot set UCC type", __FUNCTION__);
|
||||
ucc_slow_free(uccs);
|
||||
|
Reference in New Issue
Block a user