# Configuration data table for boot loader

Source: [https://docs.qualcomm.com/doc/80-88500-4/topic/10_Boot_loader_configuration.html](https://docs.qualcomm.com/doc/80-88500-4/topic/10_Boot_loader_configuration.html)

A configuration data table (CDT) is a data block that contains
    platform/device-dependent data such as the hardware platform ID and DDR SDRAM configuration. The
    CDT is available in storage (universal flash storage, embedded multimedia card, or
    electronically erasable programmable read-only memory) or is linked with the eXtensible boot
    loader (XBL).

Various software modules can use this information to reduce dependency and perform dynamic
      initialization.

The primary goal of the CDT and platform ID is to have one identical software build work across
      different hardware platforms and form factors, and their different hardware revisions and
      variations.

For more information, see <cite class="cite">DDR SDRAM CDT/ECDT User Guide </cite>(80-N1218-1).

The CDT in the mtp\_1.0\_ext\_codec\_jedec\_lpddr4x.xml file must be reviewed and updated. The
      hardware platform ID defines the PLATFORM\_SUBTYPE.

The mtp\_1.0\_ext\_codec\_jedec\_lpddr4x.xml file has the following features:
- It consists of platform and device-dependent data, such as the hardware platform
          ID.
- It is translated to .bin and .c by the cdt\_generator.py. It is populated by the
          secondary boot loader (SBL1) and is stored in a specific shared location in the shared
          memory (SMEM) for software components.

The hardware platform ID in CDT updates the hardware configuration. Other peripheral
      cores configure some general-purpose input/output (GPIO) or other device components according
      to the hardware platform ID.

The QRB5165 SoC has a CDT partition on the universal flash storage (UFS) and uses the CDT
      settings on the CDT partition as default. If the CDT setting on a CDT partition is empty or
      invalid, it uses the CDT linked in XBL. For details, see boot\_cdt\_array.c of the boot source
      code located at boot\_images\QcomPkg\SocPkg\Library\XBLLoaderLib.

The following is the platform ID:

`0x03, 0x08, 0x01, 0x00, 0x00, 0x01, 0x04, 0x01, end `

Table : Platform IDs

| Reference platform | Subtype | Subtype description | CDT value |
| --- | --- | --- | --- |
| Mobile test platform (MTP) | 0 | Default | 0x0308010000010401 |
| Qualcomm® Reference Design (QRD) | 0 | Default | 0x030B010000010401 |

**Parent Topic:** [Boot](https://docs.qualcomm.com/doc/80-88500-4/topic/8_Boot_.html)

Last Published: Aug 18, 2023

[Previous Topic
Cold boot flow](https://docs.qualcomm.com/bundle/publicresource/80-88500-4/topics/9_Cold_boot_flow.md) [Next Topic
Boot configuration GPIOs](https://docs.qualcomm.com/bundle/publicresource/80-88500-4/topics/11_Boot_configuration_GPIOs.md)