summaryrefslogtreecommitdiff
path: root/src/lib/wrdd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/wrdd.c')
-rw-r--r--src/lib/wrdd.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/wrdd.c b/src/lib/wrdd.c
new file mode 100644
index 0000000000..da082f8163
--- /dev/null
+++ b/src/lib/wrdd.c
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2012 Google Inc.
+ * Copyright (C) 2015 Intel Corp.
+ *
+ * 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.
+ */
+
+#include <wrdd.h>
+
+uint16_t __attribute__((weak)) wifi_regulatory_domain(void)
+{
+ return WRDD_DEFAULT_REGULATORY_DOMAIN;
+}