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