summaryrefslogtreecommitdiffstats
path: root/plat/nxp/soc-lx2160a/lx2160aqds/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/nxp/soc-lx2160a/lx2160aqds/platform.c')
-rw-r--r--plat/nxp/soc-lx2160a/lx2160aqds/platform.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/plat/nxp/soc-lx2160a/lx2160aqds/platform.c b/plat/nxp/soc-lx2160a/lx2160aqds/platform.c
new file mode 100644
index 0000000..b00adb5
--- /dev/null
+++ b/plat/nxp/soc-lx2160a/lx2160aqds/platform.c
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2021 NXP
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+#include <plat_common.h>
+
+#pragma weak board_enable_povdd
+#pragma weak board_disable_povdd
+
+bool board_enable_povdd(void)
+{
+#ifdef CONFIG_POVDD_ENABLE
+ return true;
+#else
+ return false;
+#endif
+}
+
+bool board_disable_povdd(void)
+{
+#ifdef CONFIG_POVDD_ENABLE
+ return true;
+#else
+ return false;
+#endif
+}