44 lines
1.1 KiB
C
44 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2012 Apple Inc. All rights reserved.
|
|
*
|
|
* This document is the property of Apple Inc.
|
|
* It is considered confidential and proprietary.
|
|
*
|
|
* This document may not be reproduced or transmitted in any form,
|
|
* in whole or in part, without the express written permission of
|
|
* Apple Inc.
|
|
*/
|
|
|
|
#ifndef __PLATFORM_IMAGE_DEVICES_H
|
|
#define __PLATFORM_IMAGE_DEVICES_H
|
|
|
|
static const struct image_device platform_image_devices[] = {
|
|
#if defined(WITH_HW_ASP)
|
|
{ "asp_fw", 0x00000 },
|
|
#elif defined(WITH_ANC_FIRMWARE)
|
|
{ "anc_firmware", 0x00000 },
|
|
#endif
|
|
#if defined(WITH_NVME)
|
|
{ "nvme_firmware0", 0x0000 },
|
|
#endif
|
|
#if !defined(WITH_HW_ASP) && !defined(WITH_ANC_FIRMWARE) && !defined(WITH_NVME)
|
|
{ "nor0", 0x00000 },
|
|
#endif
|
|
};
|
|
|
|
#if WITH_SYSCFG
|
|
static const struct image_device platform_syscfg_devices[] = {
|
|
#if defined(WITH_NAND_BOOT)
|
|
{ "nand_syscfg", 0x00000 },
|
|
#endif
|
|
#if defined(WITH_NVME)
|
|
{ "nvme_syscfg0", 0x0000 },
|
|
#endif
|
|
#if !defined(WITH_NAND_BOOT) && !defined(WITH_NVME)
|
|
{ "nor0", 0x00000 },
|
|
#endif
|
|
};
|
|
#endif /* WITH_SYSCFG */
|
|
|
|
#endif /* ! __PLATFORM_IMAGE_DEVICES_H */
|