Need information about ROM #defines used in plugin boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need information about ROM #defines used in plugin boot

493 Views
mrigendra_chaub
Contributor III

Hi all,

I am trying to change mx6_plugin.S for my own board. There are some #define s inside this file and I am suspecting how they are used by ROM code. I am listing those that I want to understand or their specific use case that need to be in mind before doing any change in this file


#ifdef CONFIG_ROM_UNIFIED_SECTIONS
#define ROM_API_TABLE_BASE_ADDR_LEGACY 0x180
#define ROM_VERSION_OFFSET 0x80
#else
#define ROM_API_TABLE_BASE_ADDR_LEGACY 0xC0
#define ROM_VERSION_OFFSET 0x48
#endif
#define ROM_API_TABLE_BASE_ADDR_MX6DQ_TO15 0xC
#define ROM_API_TABLE_BASE_ADDR_MX6DL_TO12 0xC4 
#define ROM_API_HWCNFG_SETUP_OFFSET 0x08
#define ROM_VERSION_TO10 0x10
#define ROM_VERSION_TO12 0x12
#define ROM_VERSION_TO15 0x15

In my case I had this older #define that is nowhere in the newer code.

#define ROM_API_TABLE_BASE_ADDR_NEWAPI  0xC4

.

.

.

ldrge r3, =ROM_API_TABLE_BASE_ADDR_NEWAPI

0 Kudos
1 Reply

391 Views
igorpadykov
NXP Employee
NXP Employee

Hi mrigendra

please look on

https://community.nxp.com/message/314263#314263 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos