Skip to content

BCM270x: Move power module #980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
interrupt-parent = <&intc>;

chosen {
bootargs = "earlyprintk console=ttyAMA0";
bootargs = "";
};

soc {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-bcm2708/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Makefile for the linux kernel.
#

obj-$(CONFIG_MACH_BCM2708) += bcm2708.o armctrl.o power.o
obj-$(CONFIG_MACH_BCM2708) += bcm2708.o armctrl.o
obj-$(CONFIG_BCM2708_GPIO) += bcm2708_gpio.o
obj-$(CONFIG_BCM2708_VCMEM) += vc_mem.o
26 changes: 0 additions & 26 deletions arch/arm/mach-bcm2708/include/mach/power.h

This file was deleted.

2 changes: 1 addition & 1 deletion arch/arm/mach-bcm2709/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Makefile for the linux kernel.
#

obj-$(CONFIG_MACH_BCM2709) += bcm2709.o armctrl.o power.o
obj-$(CONFIG_MACH_BCM2709) += bcm2709.o armctrl.o
obj-$(CONFIG_BCM2708_GPIO) += bcm2708_gpio.o
obj-$(CONFIG_BCM2708_VCMEM) += vc_mem.o
62 changes: 0 additions & 62 deletions arch/arm/mach-bcm2709/include/mach/arm_power.h

This file was deleted.

26 changes: 0 additions & 26 deletions arch/arm/mach-bcm2709/include/mach/power.h

This file was deleted.

199 changes: 0 additions & 199 deletions arch/arm/mach-bcm2709/power.c

This file was deleted.

1 change: 1 addition & 0 deletions drivers/soc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
menu "SOC (System On Chip) specific Drivers"

source "drivers/soc/bcm2835/Kconfig"
source "drivers/soc/qcom/Kconfig"
source "drivers/soc/ti/Kconfig"
source "drivers/soc/versatile/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/soc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Makefile for the Linux Kernel SOC specific device drivers.
#

obj-y += bcm2835/
obj-$(CONFIG_ARCH_QCOM) += qcom/
obj-$(CONFIG_ARCH_TEGRA) += tegra/
obj-$(CONFIG_SOC_TI) += ti/
Expand Down
9 changes: 9 additions & 0 deletions drivers/soc/bcm2835/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
# BCM2835 Soc drivers
#
config BCM2708_POWER
tristate "BCM2708 legacy power driver"
depends on (ARCH_BCM2708 || ARCH_BCM2709 || ARCH_BCM2835) && BCM2708_MBOX
default y
help
Turns on USB power and provides an API for controlling power.
1 change: 1 addition & 0 deletions drivers/soc/bcm2835/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_BCM2708_POWER) += bcm2708-power.o
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
#include <linux/semaphore.h>
#include <linux/bug.h>
#include <linux/platform_data/mailbox-bcm2708.h>
#include <mach/power.h>
#include <mach/arm_power.h>
#include <soc/bcm2835/power.h>

#define DRIVER_NAME "bcm2708_power"

Expand Down
Loading