From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCHv2] powerpc: Restore core of mpc8xx
Date: Thu, 22 Jun 2017 09:30:52 +0200 [thread overview]
Message-ID: <20170622073052.AD082120142@gemini.denx.de> (raw)
In-Reply-To: <1498058762-1909-1-git-send-email-trini@konsulko.com>
Dear Tom,
In message <1498058762-1909-1-git-send-email-trini@konsulko.com> you wrote:
>
> Please fill me in better with v3. I squahed the previous 1-10 into a
> single commit that brings back the core of mpc8xx. Please add an entry
> to MAINTAINERS for yourself for mpc8xx and do a travis-ci build and see
> if we really need to bring back commproc.h to the ppc4xx files as well.
> -- Tom
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
> ---
> .travis.yml | 2 +
> MAINTAINERS | 6 -
> README | 104 ++-
> api/api_platform-powerpc.c | 3 +-
> arch/powerpc/Kconfig | 4 +
> arch/powerpc/cpu/mpc8xx/Kconfig | 13 +
> arch/powerpc/cpu/mpc8xx/Makefile | 25 +
> arch/powerpc/cpu/mpc8xx/bedbug_860.c | 314 ++++++++
> arch/powerpc/cpu/mpc8xx/config.mk | 8 +
> arch/powerpc/cpu/mpc8xx/cpu.c | 580 +++++++++++++
> arch/powerpc/cpu/mpc8xx/cpu_init.c | 218 +++++
> arch/powerpc/cpu/mpc8xx/fdt.c | 27 +
> arch/powerpc/cpu/mpc8xx/fec.c | 933 +++++++++++++++++++++
> arch/powerpc/cpu/mpc8xx/fec.h | 12 +
> arch/powerpc/cpu/mpc8xx/interrupts.c | 278 +++++++
> arch/powerpc/cpu/mpc8xx/kgdb.S | 54 ++
> arch/powerpc/cpu/mpc8xx/plprcr_write.S | 119 +++
> arch/powerpc/cpu/mpc8xx/scc.c | 472 +++++++++++
> arch/powerpc/cpu/mpc8xx/serial.c | 676 ++++++++++++++++
> arch/powerpc/cpu/mpc8xx/speed.c | 385 +++++++++
> arch/powerpc/cpu/mpc8xx/spi.c | 533 ++++++++++++
> arch/powerpc/cpu/mpc8xx/start.S | 650 +++++++++++++++
> arch/powerpc/cpu/mpc8xx/traps.c | 216 +++++
> arch/powerpc/cpu/mpc8xx/upatch.c | 194 +++++
> arch/powerpc/cpu/mpc8xx/video.c | 1123 ++++++++++++++++++++++++++
> arch/powerpc/cpu/ppc4xx/4xx_uart.c | 1 +
> arch/powerpc/cpu/ppc4xx/interrupts.c | 1 +
> arch/powerpc/cpu/ppc4xx/miiphy.c | 1 +
> arch/powerpc/cpu/ppc4xx/uic.c | 1 +
> arch/powerpc/cpu/ppc4xx/xilinx_irq.c | 1 +
> arch/powerpc/include/asm/8xx_immap.h | 515 ++++++++++++
> arch/powerpc/include/asm/cache.h | 41 +-
> arch/powerpc/include/asm/global_data.h | 3 +
> arch/powerpc/include/asm/iopin_8xx.h | 379 +++++++++
> arch/powerpc/include/asm/ppc.h | 15 +
> arch/powerpc/include/asm/processor.h | 17 +-
> arch/powerpc/include/asm/status_led.h | 73 ++
> arch/powerpc/lib/Makefile | 1 +
> arch/powerpc/lib/ide.c | 184 +++++
> arch/powerpc/lib/ide.h | 15 +
> arch/powerpc/lib/immap.c | 564 +++++++++++++
> arch/powerpc/lib/time.c | 11 +
> cmd/bdinfo.c | 3 +-
> cmd/bedbug.c | 4 +
> cmd/ide.c | 9 +-
> cmd/pcmcia.c | 4 +
> cmd/reginfo.c | 59 +-
> cmd/source.c | 3 +
> common/board_f.c | 5 +-
> common/board_r.c | 14 +
> common/bootm_os.c | 14 +-
> common/lcd.c | 4 +
> doc/README.MPC866 | 24 +
> doc/README.fsl-clk | 5 +
> doc/README.scrapyard | 1 +
> drivers/block/ide.c | 11 +
> drivers/block/sil680.c | 1 +
> drivers/bootcount/bootcount.c | 5 +
> drivers/i2c/i2c_core.c | 11 +
> drivers/i2c/soft_i2c.c | 4 +
> drivers/net/4xx_enet.c | 1 +
> drivers/pcmcia/Makefile | 1 +
> drivers/pcmcia/mpc8xx_pcmcia.c | 258 ++++++
> drivers/rtc/Makefile | 1 +
> drivers/rtc/mpc8xx.c | 60 ++
> drivers/serial/serial.c | 3 -
> drivers/usb/gadget/Makefile | 1 +
> drivers/usb/gadget/mpc8xx_udc.c | 1386 ++++++++++++++++++++++++++++++++
> drivers/video/Makefile | 1 +
> drivers/video/mpc8xx_lcd.c | 400 +++++++++
> examples/standalone/Makefile | 2 +
> examples/standalone/test_burst.c | 284 +++++++
> examples/standalone/test_burst.h | 22 +
> examples/standalone/test_burst_lib.S | 154 ++++
> examples/standalone/timer.c | 333 ++++++++
> include/asm-generic/global_data.h | 2 +-
> include/asm-generic/u-boot.h | 3 +-
> include/commproc.h | 791 ++++++++++++++++++
> include/configs/CPCI4052.h | 1 +
> include/configs/MIP405.h | 1 +
> include/configs/PIP405.h | 1 +
> include/configs/PLU405.h | 1 +
> include/i2c.h | 24 +-
> include/lcd.h | 4 +-
> include/mpc823_lcd.h | 44 +
> include/net.h | 4 +
> include/pcmcia.h | 16 +-
> include/post.h | 7 +-
> include/ppc_asm.tmpl | 46 ++
> include/usb/mpc8xx_udc.h | 178 ++++
> include/watchdog.h | 5 +
> post/Makefile | 1 +
> post/cpu/mpc8xx/Makefile | 9 +
> post/cpu/mpc8xx/cache.c | 62 ++
> post/cpu/mpc8xx/cache_8xx.S | 477 +++++++++++
> post/cpu/mpc8xx/ether.c | 530 ++++++++++++
> post/cpu/mpc8xx/spr.c | 132 +++
> post/cpu/mpc8xx/uart.c | 508 ++++++++++++
> post/cpu/mpc8xx/usb.c | 249 ++++++
> post/cpu/mpc8xx/watchdog.c | 59 ++
> post/tests.c | 12 +
> scripts/config_whitelist.txt | 62 +-
> 102 files changed, 15035 insertions(+), 54 deletions(-)
I think we should not simply re-add the old mess, but clean ip up
before. Also, we should only add things that are stilkl needed and
will be actively tested and maintained.
Alll the 4xx stuff has no place here and should be thrown out.
File structure should be cleaned up - drivers should be placed where
they belong.
Stuff that is most certainly unmaintained and/or broken (bedbug
support, test_burst, PCMCIA support, USB support) should be omitted
as well.
We should not re-add this stuff, but clean up at least these things
before.
Actually I also agree with Heiko that we should fix things like
(lack of) using I/O accessors before re-adding the code. Most
modern compilers will most likely generate incorrect code in a large
number of places - this has only gone unnoticed for a long time due
to lack of testers.
I have to admit that it is kind of breaking my heart to see 8xx go,
as this is where it all started - this was the first code of this
project, long before the name U-Boot came up. But formally I'm
still maintainer of this code, and in it's current form I want to
see it removed and gone. If we re-add it, it really has to meet
today's standards.
NAK!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
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
An Ada exception is when a routine gets in trouble and says
'Beam me up, Scotty'.
prev parent reply other threads:[~2017-06-22 7:30 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-21 15:08 [U-Boot] [PATCH 00/11] powerpc, 8xx: restore support Christophe Leroy
2017-06-21 15:08 ` [U-Boot] [PATCH 01/11] Revert "powerpc, 5xx: remove some "5xx" remains" Christophe Leroy
2017-06-21 15:08 ` [U-Boot] [PATCH 02/11] Revert "powerpc, 82xx: remove some missed mpc82xx remains" Christophe Leroy
2017-06-21 15:08 ` [U-Boot] [PATCH 03/11] Revert "powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x" Christophe Leroy
2017-06-21 15:08 ` [U-Boot] [PATCH 04/11] Revert "powerpc, 5xx: remove support for 5xx" Christophe Leroy
2017-06-21 15:08 ` [U-Boot] [PATCH 05/11] Revert "powerpc, 8260: remove support for mpc8260" Christophe Leroy
2017-06-21 15:08 ` [U-Boot] [PATCH 06/11] Revert "powerpc, 8xx: remove support for 8xx" Christophe Leroy
2017-06-21 15:09 ` [U-Boot] [PATCH 07/11] powerpc, 8xx: remove support for outdated platforms Christophe Leroy
2017-06-21 15:09 ` [U-Boot] [PATCH 08/11] powerpc, 8260: remove support for mpc8260 Heiko Schocher
2017-06-21 15:09 ` [U-Boot] [PATCH 09/11] powerpc, 5xx: remove support for 5xx Heiko Schocher
2017-06-21 15:09 ` [U-Boot] [PATCH 10/11] powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x Heiko Schocher
2017-06-21 15:09 ` [U-Boot] [PATCH 11/11] powerpc, 8xx: Add a directory for soon to come boards from CSSI Christophe Leroy
2017-06-21 15:22 ` Tom Rini
2017-06-21 15:51 ` Heiko Schocher
2017-06-21 16:43 ` Tom Rini
2017-06-21 16:47 ` Christophe LEROY
2017-06-22 3:43 ` Heiko Schocher
2017-06-22 7:20 ` Wolfgang Denk
2017-06-22 8:39 ` Christophe LEROY
2017-06-21 15:26 ` [U-Boot] [PATCHv2] powerpc: Restore core of mpc8xx Tom Rini
2017-06-21 21:41 ` Christophe LEROY
2017-06-21 21:43 ` Tom Rini
2017-06-22 8:49 ` Christophe LEROY
2017-06-22 7:30 ` Wolfgang Denk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170622073052.AD082120142@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox