public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] CONFIG_LCD_BMP_RLE8 and MCC200 dead code?
@ 2014-11-06 12:23 Nikita Kiryanov
  2014-11-06 12:50 ` Wolfgang Denk
  2014-11-06 18:06 ` Simon Glass
  0 siblings, 2 replies; 4+ messages in thread
From: Nikita Kiryanov @ 2014-11-06 12:23 UTC (permalink / raw)
  To: u-boot

Hi all,

I've been trying to do some cleanup in common/lcd.c, and noticed some
unused code:

One is the CONFIG_LCD_BMP_REL8 stuff. This code was added 2 years ago
in patch 45d7f52511f43b71b623a502fdf31feb905f70a1, and so far it has
no users (sandbox.h defines it, but only to fix a compilation error,
see commit 0156444cf7e77e92fed7a61d6c6123b349f1d600).

The other case is MCC200 specific #ifdefs. It handles 1bpp BMPs, which
I don't think is likely to be used by current and future boards, and
the board itself is old, and has no maintainer. Perhaps this board
can be removed?

-- 
Regards,
Nikita Kiryanov

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

* [U-Boot] CONFIG_LCD_BMP_RLE8 and MCC200 dead code?
  2014-11-06 12:23 [U-Boot] CONFIG_LCD_BMP_RLE8 and MCC200 dead code? Nikita Kiryanov
@ 2014-11-06 12:50 ` Wolfgang Denk
  2014-11-06 18:03   ` Nikita Kiryanov
  2014-11-06 18:06 ` Simon Glass
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2014-11-06 12:50 UTC (permalink / raw)
  To: u-boot

Dear Nikita,

In message <545B6844.2060608@compulab.co.il> you wrote:
> 
> I've been trying to do some cleanup in common/lcd.c, and noticed some
> unused code:

Thanks!

> The other case is MCC200 specific #ifdefs. It handles 1bpp BMPs, which
> I don't think is likely to be used by current and future boards, and
> the board itself is old, and has no maintainer. Perhaps this board
> can be removed?

I agree.  We should remove the MCC200 and PRS200 boards.

Can you submit such a patch, please?  TIA...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is your destiny.                                     - Darth Vader

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

* [U-Boot] CONFIG_LCD_BMP_RLE8 and MCC200 dead code?
  2014-11-06 12:50 ` Wolfgang Denk
@ 2014-11-06 18:03   ` Nikita Kiryanov
  0 siblings, 0 replies; 4+ messages in thread
From: Nikita Kiryanov @ 2014-11-06 18:03 UTC (permalink / raw)
  To: u-boot

Hi Wolfgang,

On 11/06/2014 02:50 PM, Wolfgang Denk wrote:
> Dear Nikita,
>
> In message <545B6844.2060608@compulab.co.il> you wrote:
>>
>> I've been trying to do some cleanup in common/lcd.c, and noticed some
>> unused code:
>
> Thanks!
>
>> The other case is MCC200 specific #ifdefs. It handles 1bpp BMPs, which
>> I don't think is likely to be used by current and future boards, and
>> the board itself is old, and has no maintainer. Perhaps this board
>> can be removed?
>
> I agree.  We should remove the MCC200 and PRS200 boards.
>
> Can you submit such a patch, please?  TIA...

Sure. I'll prepare one tomorrow..

>
> Best regards,
>
> Wolfgang Denk
>

-- 
Regards,
Nikita Kiryanov

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

* [U-Boot] CONFIG_LCD_BMP_RLE8 and MCC200 dead code?
  2014-11-06 12:23 [U-Boot] CONFIG_LCD_BMP_RLE8 and MCC200 dead code? Nikita Kiryanov
  2014-11-06 12:50 ` Wolfgang Denk
@ 2014-11-06 18:06 ` Simon Glass
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Glass @ 2014-11-06 18:06 UTC (permalink / raw)
  To: u-boot

Hi Nikita,

On 6 November 2014 05:23, Nikita Kiryanov <nikita@compulab.co.il> wrote:
>
> Hi all,
>
> I've been trying to do some cleanup in common/lcd.c, and noticed some
> unused code:
>
> One is the CONFIG_LCD_BMP_REL8 stuff. This code was added 2 years ago
> in patch 45d7f52511f43b71b623a502fdf31feb905f70a1, and so far it has
> no users (sandbox.h defines it, but only to fix a compilation error,
> see commit 0156444cf7e77e92fed7a61d6c6123b349f1d600).

No this is not dead code, we use it. It will be enabled on a few other
boards before long, but the exynos upsteaming was stalled for a while.

Regards,
Simon

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

end of thread, other threads:[~2014-11-06 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 12:23 [U-Boot] CONFIG_LCD_BMP_RLE8 and MCC200 dead code? Nikita Kiryanov
2014-11-06 12:50 ` Wolfgang Denk
2014-11-06 18:03   ` Nikita Kiryanov
2014-11-06 18:06 ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox