aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/pcengines/alix2d/mainboard.c
diff options
context:
space:
mode:
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>2010-08-31 19:02:45 +0000
committerMyles Watson <mylesgw@gmail.com>2010-08-31 19:02:45 +0000
commit3063d5dfdee3ccf674b863ca6d22a229210c04a7 (patch)
treedcae5cc6610bd8ff55f86b6e0445d38bfdcca6c4 /src/mainboard/pcengines/alix2d/mainboard.c
parent9fae99fc4efa0e88f9e601848735ae20a251a862 (diff)
Make ALIX.2D3 support 2D2 as well.
Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5759 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/pcengines/alix2d/mainboard.c')
-rw-r--r--src/mainboard/pcengines/alix2d/mainboard.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mainboard/pcengines/alix2d/mainboard.c b/src/mainboard/pcengines/alix2d/mainboard.c
new file mode 100644
index 0000000000..b227d6611c
--- /dev/null
+++ b/src/mainboard/pcengines/alix2d/mainboard.c
@@ -0,0 +1,39 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2007 Advanced Micro Devices, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * 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
+ */
+
+#include <console/console.h>
+#include <device/device.h>
+#include "chip.h"
+
+static void init(struct device *dev)
+{
+ printk(BIOS_DEBUG, "ALIX.2D ENTER %s\n", __func__);
+ printk(BIOS_DEBUG, "ALIX.2D EXIT %s\n", __func__);
+}
+
+static void enable_dev(struct device *dev)
+{
+ dev->ops->init = init;
+}
+
+struct chip_operations mainboard_ops = {
+ CHIP_NAME("PC Engines ALIX.2D Mainboard")
+ .enable_dev = enable_dev,
+};
+