OK.. But it does not go into detail about how the address is setup fro the shared RAM... I've two RAM layouts shown below:
BFF00000 is defined as MCC_BASE_ADDRESS in mcc_config_linux.h
1GB
physical memory 80000000 +
1GB of RAM 40000000 =
top address is C0000000 - BFF00000 = 100000 1MB of RAM
512MB
9ff00000 is defined as MCC_BASE_ADDRESS in mcc_config_linux.h
80000000 + 20000000 = A0000000 - 9ff00000 = 100000
But this does not work.. mcc_get_bookeeping_data crashes using ioremap_nocache
Or I'm not understanding the memory mapping of DDR memory to MCC_BASE_ADDRESS?