diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-08-23 09:19:01 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-26 11:08:30 +0200 |
commit | 791ffcdebf7a9553bfc46b39689e26531b1e1f02 (patch) | |
tree | 9b3462d63cafc55d693896793c790fa94cbad352 /arch/arm | |
parent | 254a40783d353528fce527d1f512189255b4b40c (diff) | |
download | lwn-791ffcdebf7a9553bfc46b39689e26531b1e1f02.tar.gz lwn-791ffcdebf7a9553bfc46b39689e26531b1e1f02.zip |
ARM: ux500: Purge DB8500 PRCMU registration when not booting with DT
It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ux500/devices-db8500.c | 36 | ||||
-rw-r--r-- | arch/arm/mach-ux500/devices-db8500.h | 1 |
3 files changed, 0 insertions, 43 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 8f6c1ea7b216..b37bcbc1c7b7 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -79,8 +79,6 @@ struct pl022_ssp_controller ssp0_plat = { static void __init mop500_init_machine(void) { - platform_device_register(&db8500_prcmu_device); - /* This board has full regulator constraints */ regulator_has_full_constraints(); } @@ -88,16 +86,12 @@ static void __init mop500_init_machine(void) static void __init snowball_init_machine(void) { - platform_device_register(&db8500_prcmu_device); - /* This board has full regulator constraints */ regulator_has_full_constraints(); } static void __init hrefv60_init_machine(void) { - platform_device_register(&db8500_prcmu_device); - /* This board has full regulator constraints */ regulator_has_full_constraints(); } diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c index 1b2fabaee3ce..c59f89d058ff 100644 --- a/arch/arm/mach-ux500/devices-db8500.c +++ b/arch/arm/mach-ux500/devices-db8500.c @@ -26,39 +26,3 @@ struct prcmu_pdata db8500_prcmu_pdata = { .version_offset = DB8500_PRCMU_FW_VERSION_OFFSET, .legacy_offset = DB8500_PRCMU_LEGACY_OFFSET, }; - -static struct resource db8500_prcmu_res[] = { - { - .name = "prcmu", - .start = U8500_PRCMU_BASE, - .end = U8500_PRCMU_BASE + SZ_8K - 1, - .flags = IORESOURCE_MEM, - }, - { - .name = "prcmu-tcdm", - .start = U8500_PRCMU_TCDM_BASE, - .end = U8500_PRCMU_TCDM_BASE + SZ_4K - 1, - .flags = IORESOURCE_MEM, - }, - { - .name = "irq", - .start = IRQ_DB8500_PRCMU1, - .end = IRQ_DB8500_PRCMU1, - .flags = IORESOURCE_IRQ, - }, - { - .name = "prcmu-tcpm", - .start = U8500_PRCMU_TCPM_BASE, - .end = U8500_PRCMU_TCPM_BASE + SZ_32K - 1, - .flags = IORESOURCE_MEM, - }, -}; - -struct platform_device db8500_prcmu_device = { - .name = "db8500-prcmu", - .resource = db8500_prcmu_res, - .num_resources = ARRAY_SIZE(db8500_prcmu_res), - .dev = { - .platform_data = &db8500_prcmu_pdata, - }, -}; diff --git a/arch/arm/mach-ux500/devices-db8500.h b/arch/arm/mach-ux500/devices-db8500.h index fc4048f0432c..6d592185e71c 100644 --- a/arch/arm/mach-ux500/devices-db8500.h +++ b/arch/arm/mach-ux500/devices-db8500.h @@ -16,6 +16,5 @@ struct platform_device; extern struct ab8500_platform_data ab8500_platdata; extern struct prcmu_pdata db8500_prcmu_pdata; -extern struct platform_device db8500_prcmu_device; #endif |