mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
A lot of functions were added some time ago, nominally to support keeping the firmware in an MTD device that wasn't formatted with the GPT headers. That work was never completed, so these functions aren't used anywhere. We may want to resurrect this work at some future point. Until then, this CL just moves some of the functions into an "unused" file. BUG=chromium:231567 BRANCH=ToT TEST=manual All tests pass, all firmware and external repos build. Change-Id: I420dd52d1cea0418cedf2f8e834c61145915f20c Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/207037 Reviewed-by: Randall Spangler <rspangler@chromium.org>
20 lines
750 B
C
20 lines
750 B
C
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef VBOOT_REFERENCE_MTDLIB_UNUSED_H_
|
|
#define VBOOT_REFERENCE_MTDLIB_UNUSED_H_
|
|
|
|
int MtdIsKernelEntry(const MtdDiskPartition *e);
|
|
void MtdModified(MtdData *mtd);
|
|
int MtdIsPartitionValid(const MtdDiskPartition *part);
|
|
int MtdCheckParameters(MtdData *disk);
|
|
int MtdCheckEntries(MtdDiskPartition *entries, MtdDiskLayout *h);
|
|
int MtdSanityCheck(MtdData *disk);
|
|
int MtdInit(MtdData *mtd);
|
|
int MtdNextKernelEntry(MtdData *mtd, uint64_t *start_sector, uint64_t *size);
|
|
int MtdUpdateKernelEntry(MtdData *mtd, uint32_t update_type);
|
|
|
|
#endif /* VBOOT_REFERENCE_MTDLIB_UNUSED_H_ */
|