All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] T2080 l2-cache-controller compatible string overwritten by ft_fixup_l2cache
@ 2016-11-23  9:43 Chris Packham
  2016-11-23 17:41 ` york sun
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Packham @ 2016-11-23  9:43 UTC (permalink / raw)
  To: u-boot

Hi,

I was just looking at what it would take to add the T2080 L2 cache to
the mpc85xx_edac driver in Linux. At a cursory glance all the
registers appear to be there so I figured I'd just add the appropriate
entry to the of match table.

To my surprise I found that the compatible string in my device tree
was overwritten with "cache". I've tracked this down to the
CONFIG_SYS_FSL_QORIQ_CHASSIS2 implementation of ft_fixup_l2cache in
u-boot.

The CONFIG_L2_CACHE version seems to take care to update the device tree node to

  compatible = "fsl,t2080-l2-cache-controller", "cache";

but the CONFIG_SYS_FSL_QORIQ_CHASSIS2 version just sets this to

  compatible = "cache";

Is this an over-site or is it intentional?

Thanks,
Chris

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-12-20 17:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23  9:43 [U-Boot] T2080 l2-cache-controller compatible string overwritten by ft_fixup_l2cache Chris Packham
2016-11-23 17:41 ` york sun
2016-11-28 23:52   ` [U-Boot] [PATCH] arch: powerpc: Retain compatible property for L2 cache Chris Packham
2016-11-29  3:10   ` [U-Boot] [PATCH] " Chris Packham
2016-11-30 17:18     ` york sun
2016-12-01  7:47       ` Chris Packham
2016-12-01 17:34         ` york sun
     [not found]           ` <CAFOYHZA7ycTE3rTQJiAgBBVBUFW9_QemAcCra33VnfGiWn0Arg@mail.gmail.com>
     [not found]             ` <CAFOYHZD5JrrC=d9-kZd6tLiZHynJFjS3AtbkaPS9b9Pfy-s5hQ@mail.gmail.com>
2016-12-02  7:35               ` Chris Packham
2016-12-02  8:22                 ` [U-Boot] [PATCH v2] " Chris Packham
2016-12-20 17:16                   ` york sun

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.