summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-12-11 11:20:35 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-12-12 00:27:04 +0100
commitde48f0fd4213f8d0e2c71cbd3929e629fd76eb96 (patch)
tree282814f9ffc35b06d969c410c999f4f5ec574b87 /src/drivers
parent0dbb329b7d3edf9c9ac426e31109bdc14b1b7bf2 (diff)
Fix up Maxim MAX77686 driver
... to fit into the naming convention Change-Id: I4a7d81c4d6674d001fc831df863bd2343f6c636f Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2020 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Kconfig1
-rw-r--r--src/drivers/Makefile.inc1
-rw-r--r--src/drivers/maxim/Kconfig20
-rw-r--r--src/drivers/maxim/Makefile.inc20
-rw-r--r--src/drivers/maxim/max77686/Kconfig24
-rw-r--r--src/drivers/maxim/max77686/Makefile.inc (renamed from src/drivers/power/Makefile.inc)0
-rw-r--r--src/drivers/maxim/max77686/max77686.c (renamed from src/drivers/power/max77686.c)0
-rw-r--r--src/drivers/maxim/max77686/max77686.h (renamed from src/drivers/power/max77686.h)0
-rw-r--r--src/drivers/power/Kconfig5
9 files changed, 66 insertions, 5 deletions
diff --git a/src/drivers/Kconfig b/src/drivers/Kconfig
index ef38f34556..897b665bdb 100644
--- a/src/drivers/Kconfig
+++ b/src/drivers/Kconfig
@@ -25,6 +25,7 @@ source src/drivers/generic/Kconfig
source src/drivers/i2c/Kconfig
source src/drivers/ics/Kconfig
source src/drivers/ipmi/Kconfig
+source src/drivers/maxim/Kconfig
source src/drivers/oxford/Kconfig
if PC80_SYSTEM
source src/drivers/pc80/Kconfig
diff --git a/src/drivers/Makefile.inc b/src/drivers/Makefile.inc
index a02b70548a..b2aa0c8416 100644
--- a/src/drivers/Makefile.inc
+++ b/src/drivers/Makefile.inc
@@ -22,6 +22,7 @@ subdirs-y += dec
subdirs-y += emulation
subdirs-y += generic
subdirs-y += i2c
+subdirs-y += maxim
subdirs-y += oxford
subdirs-y += realtek
subdirs-y += sil
diff --git a/src/drivers/maxim/Kconfig b/src/drivers/maxim/Kconfig
new file mode 100644
index 0000000000..7d0b0ed876
--- /dev/null
+++ b/src/drivers/maxim/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2012 The Chromium OS Authors.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+source src/drivers/maxim/max77686/Kconfig
diff --git a/src/drivers/maxim/Makefile.inc b/src/drivers/maxim/Makefile.inc
new file mode 100644
index 0000000000..31c3d75dea
--- /dev/null
+++ b/src/drivers/maxim/Makefile.inc
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2012 The Chromium OS Authors.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+subdirs-$(CONFIG_DRIVERS_MAXIM_MAX77676) += max77686
diff --git a/src/drivers/maxim/max77686/Kconfig b/src/drivers/maxim/max77686/Kconfig
new file mode 100644
index 0000000000..ada06f6e60
--- /dev/null
+++ b/src/drivers/maxim/max77686/Kconfig
@@ -0,0 +1,24 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2012 The ChromiumOS Authors
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+config DRIVER_MAXIM_77686
+ bool
+ default n
+ help
+ Maxim 77686 power regulator
diff --git a/src/drivers/power/Makefile.inc b/src/drivers/maxim/max77686/Makefile.inc
index 3fc71042d5..3fc71042d5 100644
--- a/src/drivers/power/Makefile.inc
+++ b/src/drivers/maxim/max77686/Makefile.inc
diff --git a/src/drivers/power/max77686.c b/src/drivers/maxim/max77686/max77686.c
index 8fbcb8fb31..8fbcb8fb31 100644
--- a/src/drivers/power/max77686.c
+++ b/src/drivers/maxim/max77686/max77686.c
diff --git a/src/drivers/power/max77686.h b/src/drivers/maxim/max77686/max77686.h
index 345471eb21..345471eb21 100644
--- a/src/drivers/power/max77686.h
+++ b/src/drivers/maxim/max77686/max77686.h
diff --git a/src/drivers/power/Kconfig b/src/drivers/power/Kconfig
deleted file mode 100644
index 84ace13dbf..0000000000
--- a/src/drivers/power/Kconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-config DRIVER_MAXIM_77686
- bool "Maxim 77686"
- default n
- help
- Maxim 77686 power regulator