From 8329190a5c07bcb4934461805f766a458d6c943d Mon Sep 17 00:00:00 2001 From: Leo Liou Date: Tue, 14 Mar 2023 15:37:19 +0800 Subject: gs201: conf: run ufs ffu script after boot complete The ufs script is to work for ffu preparing. If device's ufs has an old firmware, the script will copy the valid firmware into disk and wait for ffu update on bootloader. Bug: 273305212 Test: full build and test ffu update Change-Id: Ic5069561b67e2773cd87edb31bfa3d682867b838 Signed-off-by: Leo Liou --- storage/Android.bp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 storage/Android.bp (limited to 'storage/Android.bp') diff --git a/storage/Android.bp b/storage/Android.bp new file mode 100644 index 0000000..90a919b --- /dev/null +++ b/storage/Android.bp @@ -0,0 +1,27 @@ +// +// Copyright (C) 2017 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package { + default_applicable_licenses: [ + "//device/google/gs201:device_google_gs201_license", + ], +} + +sh_binary { + name: "ufs_firmware_update.sh", + src: "ufs_firmware_update.sh", + init_rc: ["storage.gs201.rc"], + vendor: true, +} -- cgit v1.2.3