From eaa191750dd19c30f89efa56b172f7b97065b4b6 Mon Sep 17 00:00:00 2001 From: Jagpal Singh Gill Date: Wed, 27 Mar 2024 09:40:30 -0700 Subject: [PATCH] javaisland: add flashy support Summary: Add the flashy support for JavaIsland platform. Test Plan: Built flash with tools/flashy/build.sh Reviewed By: williamspatrick Differential Revision: D55333620 fbshipit-source-id: 86363e06b8d98f020f0ebe25a91e0950c5cb164b --- .../flash_procedure/flash_javaisland.go | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tools/flashy/flash_procedure/flash_javaisland.go diff --git a/tools/flashy/flash_procedure/flash_javaisland.go b/tools/flashy/flash_procedure/flash_javaisland.go new file mode 100644 index 00000000000..f81ae557cd3 --- /dev/null +++ b/tools/flashy/flash_procedure/flash_javaisland.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.FlashCpVboot) +}