1 // Copyright 2018 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #pragma once
6 
7 #include <ddk/protocol/nand.h>
8 
9 #include <zircon/boot/image.h>
10 #include <zircon/types.h>
11 
12 zx_status_t SanitizePartitionMap(zbi_partition_map_t* pmap,
13                                  const fuchsia_hardware_nand_Info& nand_info);
14