All of lore.kernel.org
 help / color / mirror / Atom feed
* identifying s5p based devices
@ 2010-01-14  7:01 Ben Dooks
  0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2010-01-14  7:01 UTC (permalink / raw)
  To: linux-samsung-soc

After thinking about previous discussions with Samsng SystemLSI group
about the newer SoC and lack of continuty in the placement of the device
identification register I was thinking the following:

Woud it be possible to probe each possible ID register location to see
if there is a valid identity there and stop once a valid one is read?

IE:
	void __iomem *idplaces = {
	     ...
	     ....
	}

	...	

	for (r in idplaces) {
	    id = __raw_readl(r);
	    cpu = cpu_find(r);
	    if (cpu) {
	       print_cpu_id(cpu);
	       break;
	    }
	}

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-14  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14  7:01 identifying s5p based devices Ben Dooks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.