summaryrefslogtreecommitdiffstats
path: root/plat/nxp/soc-ls1046a/ls1046ardb/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/nxp/soc-ls1046a/ls1046ardb/platform.c')
-rw-r--r--plat/nxp/soc-ls1046a/ls1046ardb/platform.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/plat/nxp/soc-ls1046a/ls1046ardb/platform.c b/plat/nxp/soc-ls1046a/ls1046ardb/platform.c
new file mode 100644
index 0000000..cef920f
--- /dev/null
+++ b/plat/nxp/soc-ls1046a/ls1046ardb/platform.c
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2020-2022 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
+}