The internal on-chip ROM contains code required for booting from eSPI or eSDHC interface - refer to the P1024 QorIQ Integrated Processor Reference Manual, 4.6 Initialization/applications information.
The on-chip ROM code can't be altered by any means and can't be used for different purposes except booting from eSPI or eSDHC.