Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187630
b: refs/heads/master
c: 3a3b585
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed Jan 21, 2010
1 parent 58b78fd commit 02eb9c1
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 224 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 50ee2d35a592ead260527244af5160c7fa6189ea
refs/heads/master: 3a3b585aa4ecad21ae91cfa9e5f387d64a15a312
2 changes: 1 addition & 1 deletion trunk/arch/arm/configs/s3c6400_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ CONFIG_ALIGNMENT_TRAP=y
#
CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZBOOT_ROM_BSS=0
CONFIG_CMDLINE="console=ttySAC0,115200 root=/dev/ram init=/bin/bash initrd=0x51000000,4M"
CONFIG_CMDLINE="console=ttySAC0,115200 root=/dev/ram init=/linuxrc initrd=0x51000000,6M ramdisk_size=6144"
# CONFIG_XIP_KERNEL is not set
# CONFIG_KEXEC is not set

Expand Down
8 changes: 0 additions & 8 deletions trunk/arch/arm/mach-s5p6440/include/mach/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@
#define S5P_PA_UART S5P6440_PA_UART
#define S5P_VA_UART S3C_VA_UART

/* HS USB OtG */
#define S5P6440_PA_HSOTG (0xED100000)

/* HSMMC */
#define S5P6440_PA_HSMMC0 (0xED800000)
#define S5P6440_PA_HSMMC1 (0xED900000)
#define S5P6440_PA_HSMMC2 (0xEDA00000)

#define S5P_PA_UART0 (S5P_PA_UART + 0x0)
#define S5P_PA_UART1 (S5P_PA_UART + 0x400)
#define S5P_PA_UART2 (S5P_PA_UART + 0x800)
Expand Down
30 changes: 0 additions & 30 deletions trunk/arch/arm/plat-s3c/include/plat/regs-serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,36 +194,6 @@
#define S3C64XX_UINTSP 0x34
#define S3C64XX_UINTM 0x38

/* Following are specific to S5PV210 and S5P6442 */
#define S5PV210_UCON_CLKMASK (1<<10)
#define S5PV210_UCON_PCLK (0<<10)
#define S5PV210_UCON_UCLK (1<<10)

#define S5PV210_UFCON_TXTRIG0 (0<<8)
#define S5PV210_UFCON_TXTRIG4 (1<<8)
#define S5PV210_UFCON_TXTRIG8 (2<<8)
#define S5PV210_UFCON_TXTRIG16 (3<<8)
#define S5PV210_UFCON_TXTRIG32 (4<<8)
#define S5PV210_UFCON_TXTRIG64 (5<<8)
#define S5PV210_UFCON_TXTRIG128 (6<<8)
#define S5PV210_UFCON_TXTRIG256 (7<<8)

#define S5PV210_UFCON_RXTRIG1 (0<<4)
#define S5PV210_UFCON_RXTRIG4 (1<<4)
#define S5PV210_UFCON_RXTRIG8 (2<<4)
#define S5PV210_UFCON_RXTRIG16 (3<<4)
#define S5PV210_UFCON_RXTRIG32 (4<<4)
#define S5PV210_UFCON_RXTRIG64 (5<<4)
#define S5PV210_UFCON_RXTRIG128 (6<<4)
#define S5PV210_UFCON_RXTRIG256 (7<<4)

#define S5PV210_UFSTAT_TXFULL (1<<24)
#define S5PV210_UFSTAT_RXFULL (1<<8)
#define S5PV210_UFSTAT_TXMASK (255<<16)
#define S5PV210_UFSTAT_TXSHIFT (16)
#define S5PV210_UFSTAT_RXMASK (255<<0)
#define S5PV210_UFSTAT_RXSHIFT (0)

#ifndef __ASSEMBLY__

/* struct s3c24xx_uart_clksrc
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-samsung/adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ static irqreturn_t s3c_adc_irq(int irq, void *pw)
}

exit:
if (platform_get_device_id(adc->pdev)->driver_data == TYPE_S3C64XX) {
if (platform_get_device_id(client->pdev)->driver_data == TYPE_S3C64XX) {
/* Clear ADC interrupt */
writel(0, adc->regs + S3C64XX_ADCCLRINT);
}
Expand Down
22 changes: 2 additions & 20 deletions trunk/arch/arm/plat-samsung/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,6 @@ struct clk s3c24xx_uclk = {

/* initialise the clock system */

/**
* s3c24xx_register_clock() - register a clock
* @clk: The clock to register
*
* Add the specified clock to the list of clocks known by the system.
*/
int s3c24xx_register_clock(struct clk *clk)
{
if (clk->enable == NULL)
Expand All @@ -330,25 +324,13 @@ int s3c24xx_register_clock(struct clk *clk)
return 0;
}

/**
* s3c24xx_register_clocks() - register an array of clock pointers
* @clks: Pointer to an array of struct clk pointers
* @nr_clks: The number of clocks in the @clks array.
*
* Call s3c24xx_register_clock() for all the clock pointers contained
* in the @clks list. Returns the number of failures.
*/
int s3c24xx_register_clocks(struct clk **clks, int nr_clks)
{
int fails = 0;

for (; nr_clks > 0; nr_clks--, clks++) {
if (s3c24xx_register_clock(*clks) < 0) {
struct clk *clk = *clks;
printk(KERN_ERR "%s: failed to register %p: %s\n",
__func__, clk, clk->name);
if (s3c24xx_register_clock(*clks) < 0)
fails++;
}
}

return fails;
Expand All @@ -362,7 +344,7 @@ int s3c24xx_register_clocks(struct clk **clks, int nr_clks)
* Call s3c24xx_register_clock() on the @clkp array given, printing an
* error if it fails to register the clock (unlikely).
*/
void __init s3c_register_clocks(struct clk *clkp, int nr_clks)
void __initdata s3c_register_clocks(struct clk *clkp, int nr_clks)
{
int ret;

Expand Down
9 changes: 1 addition & 8 deletions trunk/drivers/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ config SERIAL_SAMSUNG_UARTS
int
depends on ARM && PLAT_S3C
default 2 if ARCH_S3C2400
default 4 if ARCH_S5P6440 || ARCH_S5PC1XX || ARCH_S5PV210 || ARCH_S3C64XX || CPU_S3C2443
default 4 if ARCH_S5P6440 || ARCH_S5PC1XX || ARCH_S3C64XX || CPU_S3C2443
default 3
help
Select the number of available UART ports for the Samsung S3C
Expand Down Expand Up @@ -540,13 +540,6 @@ config SERIAL_S5PC100
help
Serial port support for the Samsung S5PC100 SoCs

config SERIAL_S5PV210
tristate "Samsung S5PV210 Serial port support"
depends on SERIAL_SAMSUNG && CPU_S5PV210
default y
help
Serial port support for Samsung's S5P Family of SoC's

config SERIAL_MAX3100
tristate "MAX3100 support"
depends on SPI
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/serial/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ obj-$(CONFIG_SERIAL_S3C2440) += s3c2440.o
obj-$(CONFIG_SERIAL_S3C24A0) += s3c24a0.o
obj-$(CONFIG_SERIAL_S3C6400) += s3c6400.o
obj-$(CONFIG_SERIAL_S5PC100) += s3c6400.o
obj-$(CONFIG_SERIAL_S5PV210) += s5pv210.o
obj-$(CONFIG_SERIAL_MAX3100) += max3100.o
obj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o
obj-$(CONFIG_SERIAL_MUX) += mux.o
Expand Down
154 changes: 0 additions & 154 deletions trunk/drivers/serial/s5pv210.c

This file was deleted.

0 comments on commit 02eb9c1

Please sign in to comment.