Callisto4Bootloader: drivers/target_config.h Source File

Callisto4Bootloader

target_config.h
Go to the documentation of this file.
1 /*
2 * Copyright 2017-2018 NXP
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7 #if !defined(__TARGET_CONFIG_H__)
8 #define __TARGET_CONFIG_H__
9
11 // Definitions
13
15 enum
16 {
17 kFlexSpi_AhbMemoryMaxSizeMB = (504u * 1024u * 1024u),
18 };
19
21 enum _target_version_constants
22 {
23 kTarget_Version_Name = 'T',
24 kTarget_Version_Major = 1,
25 kTarget_Version_Minor = 0,
26 kTarget_Version_Bugfix = 0
27 };
28
30 enum
31 {
32 kFlexSpiSerialClk_30MHz = 1,
33 kFlexSpiSerialClk_50MHz = 2,
34 kFlexSpiSerialClk_60MHz = 3,
35 kFlexSpiSerialClk_75MHz = 4,
36 kFlexSpiSerialClk_80MHz = 5,
37 kFlexSpiSerialClk_100MHz = 6,
38 kFlexSpiSerialClk_120MHz = 7,
39 kFlexSpiSerialClk_133MHz = 8,
40 kFlexSpiSerialClk_166MHz = 9,
41 kFlexSpiSerialClk_200MHz = 10,
42 };
43
44 extern uint32_t get_flexspinor_instance(void);
45 extern uint32_t get_flexspinor_amba_base(void);
46
47 #endif // __TARGET_CONFIG_H__
48 // EOF
kTarget_Version_Name
Definition: target_config.h:23
kFlexSpiSerialClk_75MHz
Definition: target_config.h:35
kFlexSpiSerialClk_100MHz
Definition: target_config.h:37
kFlexSpi_AhbMemoryMaxSizeMB
Definition: target_config.h:17
_target_version_constants
_target_version_constants
Version constants for the target.
Definition: target_config.h:21
kTarget_Version_Major
Definition: target_config.h:24
kFlexSpiSerialClk_200MHz
Definition: target_config.h:41
kFlexSpiSerialClk_60MHz
Definition: target_config.h:34
kFlexSpiSerialClk_166MHz
Definition: target_config.h:40
kFlexSpiSerialClk_120MHz
Definition: target_config.h:38
kFlexSpiSerialClk_50MHz
Definition: target_config.h:33
kTarget_Version_Bugfix
Definition: target_config.h:26
kFlexSpiSerialClk_30MHz
Definition: target_config.h:32
get_flexspinor_instance
uint32_t get_flexspinor_instance(void)
kFlexSpiSerialClk_80MHz
Definition: target_config.h:36
kTarget_Version_Minor
Definition: target_config.h:25
kFlexSpiSerialClk_133MHz
Definition: target_config.h:39
get_flexspinor_amba_base
uint32_t get_flexspinor_amba_base(void)