From 48e25996909da46f295eea81b0a9506f0fae0f86 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Fri, 8 Mar 2024 14:01:37 -0800 Subject: [PATCH] minerva: flashy: add flash procedure Summary: Copy flash procedure from bletchley for minerva and harma update. Test Plan: Build flashy. Reviewed By: kawmarco Differential Revision: D54686413 fbshipit-source-id: 16b557f53714a2ee145730cf14d48975e4d65800 --- tools/flashy/flash_procedure/flash_harma.go | 29 +++++++++++++++++++ tools/flashy/flash_procedure/flash_minerva.go | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 tools/flashy/flash_procedure/flash_harma.go create mode 100644 tools/flashy/flash_procedure/flash_minerva.go diff --git a/tools/flashy/flash_procedure/flash_harma.go b/tools/flashy/flash_procedure/flash_harma.go new file mode 100644 index 000000000000..2d02d19d42d5 --- /dev/null +++ b/tools/flashy/flash_procedure/flash_harma.go @@ -0,0 +1,29 @@ +/** + * Copyright 2020-present Facebook. All Rights Reserved. + * + * This program file 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. + * + * You should have received a copy of the GNU General Public License + * along with this program in a file named COPYING; if not, write to the + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +package flash_procedure + +import ( + "github.com/facebook/openbmc/tools/flashy/lib/flash" + "github.com/facebook/openbmc/tools/flashy/lib/step" +) + +func init() { + step.RegisterStep(flash.FlashCp) +} diff --git a/tools/flashy/flash_procedure/flash_minerva.go b/tools/flashy/flash_procedure/flash_minerva.go new file mode 100644 index 000000000000..2d02d19d42d5 --- /dev/null +++ b/tools/flashy/flash_procedure/flash_minerva.go @@ -0,0 +1,29 @@ +/** + * Copyright 2020-present Facebook. All Rights Reserved. + * + * This program file 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. + * + * You should have received a copy of the GNU General Public License + * along with this program in a file named COPYING; if not, write to the + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +package flash_procedure + +import ( + "github.com/facebook/openbmc/tools/flashy/lib/flash" + "github.com/facebook/openbmc/tools/flashy/lib/step" +) + +func init() { + step.RegisterStep(flash.FlashCp) +}