Vipul,
The high level boot flow is shown in Figure 8-1 of the MX6Dual/Quad Reference Manual.
After POR is exited the internal ROM (iROM) is entered. It handles all boot related set up and reads the data structures, IVT and DCD, at the start of the U-Boot file to determine where U-Boot will be loaded, where U-Boot's entry point is, and how much code to load. It also reads and executes the DCD information and commands. The DCD commands allow the iROM to set up DDR and some other I/O as required to get things running. If one is using High Assurance Boot, HAB, the iROM will check the image per the HAB process flows and either start the boot process or abort the boot and drop into serial recovery, aka USB, mode.
The IVT/DCD is described in section 8.6 of the MX6Dual/Quad Reference Manual.
Note that I have U-Boot as the example here but any code could be loaded by the iROM. This allows one to use test code or custom software as they see fit.
Jim Kenney