> As I said, SMC offsets relative to pram things are screwed for PQ2. > That needs to be fixed. It is assumed, that for each SMC ready-for-use > offset should be defined in pram resource (as for 8xx). There is no need to > dpalloc/dpfree because the idea is that pram thing should be fixed to > prevent confusion. So the odd offset for SMC devices in pq2_devices.c > should be replaced with correct values (which should be > dpram_start+PROFF_SMCx - have a look at 8xx as reference)
Ok. dpram[PROFF_SMCx_BASE] must still be set to the values returned by platform_get_resource_byname(). Where should that be done ? Laurent Pinchart