u-boot/include
Christophe Leroy 907208c452 powerpc: Partialy restore core of mpc8xx
CS Systemes d'Information (CSSI) manufactures 8xx boards for
critical communication systems. Those boards have been
running U-Boot since 2010 and will have to be maintained
until at least 2027.

commit 5b8e76c35e
("powerpc, 8xx: remove support for 8xx") orphaned those boards
by removing support for the mpc8xx CPU.

This commit partially restores support for the 8xx, with the
following limitations:
- Restores support for MPC866 and MPC885 only
- Does not restore IDE, PCMCIA, I2C, USB
- Does not restore examples
- Does not restore POST
- Does not restore Ethernet on SCC
- Does not restore console on SCC
- Does not restore bedbug and kgdb support

As the 866 and 885 do not support the following features,
they are not restored either:
- VIDEO / LCD
- RTC clock

The CPM uCODE patch is not restored either, because:
- 866 and 885 already have support for I2C and SPI relocation
without a uCODE patch
- relocation of SMC, I2C or SPI is only needed for using SCCs
for Ethernet or QMC

The dynamic setup/calculation of clocks is removed, we
expect the target being use with the clock and PLPRCR register
defined in the configuration.
All the clock settings for 8xx prior to 866 is removed as
well as we now only support 866 and 885.

This code is mature and addresses mature boards. Therefore
all code enclosed in '#if 0/#endif' and '#if XX_DEBUG/#endif'
is unneeded.

The following files are not restored by this patch:

- arch/powerpc/cpu/mpc8xx/bedbug_860.c
- arch/powerpc/cpu/mpc8xx/fec.h
- arch/powerpc/cpu/mpc8xx/kgdb.S
- arch/powerpc/cpu/mpc8xx/plprcr_write.S
- arch/powerpc/cpu/mpc8xx/scc.c
- arch/powerpc/cpu/mpc8xx/upatch.c
- arch/powerpc/cpu/mpc8xx/video.c
- arch/powerpc/include/asm/status_led.h
- arch/powerpc/lib/ide.c
- arch/powerpc/lib/ide.h
- doc/README.MPC866
- drivers/pcmcia/mpc8xx_pcmcia.c
- drivers/rtc/mpc8xx.c
- drivers/usb/gadget/mpc8xx_udc.c
- drivers/video/mpc8xx_lcd.c
- examples/standalone/test_burst.c
- examples/standalone/test_burst.h
- examples/standalone/test_burst_lib.S
- examples/standalone/timer.c
- include/mpc823_lcd.h
- include/usb/mpc8xx_udc.h
- post/cpu/mpc8xx/Makefile
- post/cpu/mpc8xx/cache.c
- post/cpu/mpc8xx/cache_8xx.S
- post/cpu/mpc8xx/ether.c
- post/cpu/mpc8xx/spr.c
- post/cpu/mpc8xx/uart.c
- post/cpu/mpc8xx/usb.c
- post/cpu/mpc8xx/watchdog.c

Some of the restored files are not located in a proper location.
In order to keep traceability of the changes, they will be
moved to their correct location and moved to Kconfig in a
followup patch.

This patch also declares CSSI as point of contact for the update
of the 8xx platform, as those boards are the only ones still
being maintained on the 8xx area. A later patch will add
those boards to the tree.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
2017-07-08 15:55:26 -04:00
..
andestech
asm-generic powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
bedbug powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
cavium
configs board/BuR/brppt1: fix MMC boot 2017-07-07 07:38:26 -04:00
cramfs
dm dm: Add more livetree helpers and definitions 2017-06-01 07:03:12 -06:00
dt-bindings rockchip: clk: Add rv1108 clock driver 2017-06-07 07:29:25 -06:00
environment/ti arm: omap: Extract OMAP5 boot environment to separate file 2017-06-23 10:38:02 -04:00
faraday
fsl-mc drivers: net: fsl-mc: Link MC boot to PHY_RESET_R 2017-06-01 19:55:50 -07:00
jffs2
linux avr32: Retire AVR32 for good 2017-07-06 16:17:19 -04:00
lzma
mtd
net
pcmcia
power Fixup bug in PMIC TPS65217 register address definition 2017-06-09 20:25:16 +09:00
samsung
spmi
synopsys
tee arm: omap5: Add TEE loading support 2016-12-03 13:21:21 -05:00
test dm: test: Fix nit with position of backslash 2017-06-01 07:03:17 -06:00
u-boot tools: Allow crc8 to be used 2017-02-07 10:54:32 -06:00
usb powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
zfs
_exports.h x86: Don't export interrupt handlers with x86_64 2016-10-11 11:55:33 +08:00
.gitignore cmd: rework "license" command 2017-02-08 15:56:28 -05:00
ACEX1K.h
adc.h
addr_map.h
ahci.h dm: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01:00
ali512x.h
altera.h
android_image.h image: Update include/android_image.h 2017-05-11 22:03:37 -04:00
ansi.h
api_public.h
api.h api: Add a header for api_init() 2017-06-05 11:02:29 -04:00
armcoremodule.h
asm-offsets.h
ata.h
atf_common.h spl: add support to booting with ATF 2017-05-15 10:38:09 -04:00
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
bios_emul.h
bitfield.h
blk.h dm: blk: Fix warning on !CONFIG_BLK 2017-06-10 10:01:05 -04:00
bmp_layout.h
bootcount.h
bootm.h
bootretry.h
bootstage.h bootstage: Record time taken to set up the live device tree 2017-06-05 14:13:09 -04:00
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli_hush.h
cli.h
clk-uclass.h clk: Modify xlate() method for livetree 2017-06-01 07:03:14 -06:00
clk.h Revert "ns16650: Make sure we have CONFIG_CLK set before using infrastructure" 2016-10-08 09:33:31 -04:00
cmd_spl.h
command.h
common_timing_params.h
common.h serial: make serial_stub_* to static functions 2017-07-06 13:09:35 -04:00
commproc.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
compiler.h compiler.h: use u-boot endian macros on OpenBSD 2016-12-02 21:32:38 -05:00
config_cmd_all.h Convert CONFIG_CMD_KGDB to Kconfig 2017-05-22 12:45:32 -04:00
config_defaults.h disk: convert CONFIG_PARTITIONS to Kconfig 2017-01-28 08:47:30 -05:00
config_distro_bootcmd.h Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
config_distro_defaults.h disk: convert CONFIG_EFI_PARTITION to Kconfig 2017-01-28 08:47:42 -05:00
config_fallbacks.h config_fallbacks: add additional fallbacks for fat filesystem 2017-06-03 17:55:18 -04:00
config_fsl_chain_trust.h arm: ls1043ardb: Add NAND secure boot target 2017-04-17 09:03:30 -07:00
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cpsw.h driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection 2016-10-13 12:25:02 -05:00
cpu.h cpu: Add get_vendor callback 2016-10-19 09:01:51 +02:00
crc.h
cros_ec_message.h
cros_ec.h cros_ec: Convert to support live tree 2017-06-01 07:03:11 -06:00
dataflash.h flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
ddr_spd.h
debug_uart.h serial: omap: Support debug UART 2017-05-11 22:21:27 -04:00
dfu.h
dialog_pmic.h
display_options.h
display.h video: Track whether a display is in use 2016-11-25 17:59:31 -07:00
div64.h lib: div64: sync with Linux 2017-04-13 09:41:10 -04:00
dm9000.h
dm-demo.h
dm.h dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
dma.h
dp83848.h
ds1722.h
dt-structs.h
dw_hdmi.h rockchip: video: Split out HDMI controller code 2017-04-04 20:01:57 -06:00
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg 2016-10-10 15:23:33 +09:00
e500.h
ec_commands.h
edid.h edid: Add HDMI flag to timing info 2017-05-15 20:32:12 +02:00
eeprom_field.h
eeprom_layout.h
efi_api.h efi_loader: run CreateEvent() notify function based on flags 2017-07-03 13:48:51 +02:00
efi_loader.h efi_loader: Fix efi_add_runtime_mmio definition 2016-11-17 14:18:55 +01:00
efi.h x86: Tidy up selection of building the EFI stub 2016-11-14 23:24:03 +01:00
elf.h elf: arm: Add a few ARM relocation types 2016-11-14 23:24:03 +01:00
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h common: Move environment choice to Kconfig 2017-04-07 11:23:45 +05:30
errno.h treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
ethsw.h
exports.h Export memset for standalone AQ FW load apps 2016-09-14 14:09:50 -07:00
ext4fs.h ext4: Allow reading files with non-zero offset, clamp read len 2016-11-21 14:07:27 -05:00
ext_common.h ext4: Update ext2/3/4 superblock, group descriptor and inode structures 2016-09-23 09:18:55 -04:00
exynos_lcd.h
fastboot.h
fat.h Kconfig: Migrate FS_FAT / FAT_WRITE 2017-06-03 17:55:34 -04:00
fb_mmc.h
fb_nand.h
fdt_simplefb.h
fdt_support.h fdt: Rename a few functions in fdt_support 2017-06-01 07:03:11 -06:00
fdt.h fdt: Move header files into lib/libfdt 2017-06-02 10:16:46 -06:00
fdtdec.h cros_ec: Convert to support live tree 2017-06-01 07:03:11 -06:00
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fsl_csu.h fsl: csu: add an API to set R/W permission to PCIe 2016-09-14 14:07:08 -07:00
fsl_dcu_fb.h video: fsl_dcu_fb: fix framebuffer to the end of memory 2017-04-14 13:50:41 +02:00
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h arm: freescale: Rename initdram() to fsl_initdram() 2017-04-12 13:28:32 -04:00
fsl_ddr.h ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h armv7: ls1021a: Drop macro CONFIG_LS102XA 2017-04-17 09:03:30 -07:00
fsl_esdhc.h treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fsl_fman.h
fsl_ifc.h common: arm: freescale: layerscape: Move header files out of common.h 2017-06-05 14:12:59 -04:00
fsl_immap.h driver/ddr/fsl: Add more debug registers 2016-09-14 14:05:32 -07:00
fsl_lpuart.h serial: lpuart: add i.MX7ULP support 2017-03-17 09:27:08 +01:00
fsl_mdio.h
fsl_memac.h net: fman: fix 2.5G SGMII settings 2016-12-08 10:36:22 -06:00
fsl_mmdc.h driver: ddr: fsl_mmdc: Pass board parameters through data structure 2016-09-26 08:53:07 -07:00
fsl_pmic.h
fsl_qe.h
fsl_sec_mon.h fsl_sec_mon: Update driver for Security Monitor 2016-10-06 09:54:14 -07:00
fsl_sec.h crypto: Move CONFIG_SYS_FSL_SEC_LE and _BE to Kconfig 2017-01-04 19:40:19 -05:00
fsl_secboot_err.h
fsl_sfp.h fsl_sfp : Modify macros as per changes in SFP v3.4 2016-10-06 09:56:28 -07:00
fsl_tgec.h
fsl_usb.h drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller 2016-09-27 23:30:49 +02:00
fsl_validate.h fsl: Secure Boot: Enable IE (Key extention) Feature 2017-03-28 09:03:04 -07:00
fsl_wdog.h imx_watchdog: Do not assert WDOG_B on watchdog init 2016-10-04 12:01:14 +02:00
fuse.h
g_dnl.h common: dfu: saperate the dfu common functionality 2016-09-27 23:30:18 +02:00
gdsys_fpga.h
generic-phy.h dm: phy: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
gt64120.h
hash.h Kconfig: Finish migration of hashing commands 2017-05-31 19:38:14 -04:00
hw_sha.h
hwconfig.h treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
i2c_eeprom.h i2c_eeprom: add read and write functions 2017-05-10 13:37:22 -06:00
i2c.h powerpc, 8260: remove support for mpc8260 2017-06-12 08:38:02 -04:00
i2s.h
i8042.h
ide.h
image-sparse.h
image.h armv8: Support loading 32-bit OS which is not in the form of FIT 2017-06-09 20:34:56 -04:00
imx_thermal.h
init_helpers.h board_f: Make init_helpers generic 2017-04-05 16:36:56 -04:00
initcall.h board_f: initcall: Add a header guard 2017-04-05 13:52:35 -04:00
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h cros_ec: Update the cros_ec keyboard driver to livetree 2017-06-01 07:03:16 -06:00
keyboard.h powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
kgdb.h
lattice.h
lcd_console.h Convert CONFIG_CONSOLE_SCROLL_LINES to Kconfig 2016-10-23 18:33:57 -04:00
lcd.h powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
lcdvideo.h
ld9040.h
led-display.h
led.h dm: led: Add support for blinking LEDs 2017-04-14 19:38:57 -06:00
libata.h
libfdt_env.h
libfdt.h fdt: Move header files into lib/libfdt 2017-06-02 10:16:46 -06:00
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
mailbox-uclass.h dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
mailbox.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h
membuff.h
menu.h
micrel.h net: phy: micrel: center FLP burst timing at 16ms 2016-11-07 11:28:16 -06:00
mii_phy.h
miiphy.h common: miiphyutil: Add helper function for mdio bus name 2016-12-20 07:40:04 +01:00
mipi_display.h
misc.h
mk48t59.h
mmc.h Revert "x86: Convert MMC to driver model" 2017-06-27 16:31:30 +08:00
mpc8xx_irq.h
mpc8xx.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd_node.h
mtd.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h include: nand: move endif to end of file 2017-06-16 10:11:34 -04:00
net.h powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
netdev.h powerpc, 82xx: remove some missed mpc82xx remains 2017-06-16 10:14:56 -04:00
ns16550.h serial, ns16550: bugfix: ns16550 fifo not enabled 2017-01-20 09:15:19 -05:00
ns87308.h
nuvoton_nct6102d.h
of_live.h dm: Add a function to create a 'live' device tree 2017-06-01 07:03:06 -06:00
onenand_uboot.h
os.h sandbox/fs: Free memory allocated by os_dirent_ls 2016-10-11 10:17:07 -06:00
palmas.h ARM: OMAP4+: Add support for getting pbias info from board 2016-12-04 13:54:51 -05:00
panel.h
part_efi.h fastboot: move FASTBOOT_FLASH options into Kconfig 2016-10-01 20:04:59 -04:00
part.h disk: Return the partition number in part_get_info_by_name() 2017-05-11 22:03:37 -04:00
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci_gt64120.h
pci_ids.h x86: baytrail: Add 2nd eMMC controller to the PCI probe list 2016-10-11 11:55:33 +08:00
pci_msc01.h
pci_rom.h
pci.h drivers: pci: imx: add imx_pcie_remove function 2017-05-31 10:09:03 +02:00
pcmcia.h powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
pe.h
phy.h Merge git://www.denx.de/git/u-boot-marvell 2017-04-04 09:17:56 -04:00
phys2bus.h
physmem.h
post.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
power-domain-uclass.h dm: power-domain: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
power-domain.h
ppc_asm.tmpl powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
ppc_defs.h
ps2mult.h
pwm.h power: regulator: pwm: support pwm polarity setting 2017-05-10 13:37:21 -06:00
pwrseq.h
pxa_lcd.h
qfw.h
radeon.h
ram.h
rc4.h
regmap.h
reiserfs.h
relocate.h board_f: Make relocation functions generic 2017-04-05 16:36:57 -04:00
remoteproc.h
reset-uclass.h dm: reset: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
reset.h reset: add no-op stubs for optional reset control 2016-09-23 22:25:44 -04:00
rtc_def.h
rtc.h dm: rtc: Add 16-bit read/write support 2017-04-10 10:02:03 +08:00
s6e63d6.h
s_record.h Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h
sandboxfs.h
sata.h dm: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01:00
scf0403_lcd.h
scsi.h dm: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01:00
sdhci.h mmc: sdhci: Add support for optional controller specific set_ios_post() 2017-01-25 07:03:44 +01:00
search.h search.h: Numerous grammatical fixes, comment updates 2016-10-06 20:57:41 -04:00
sed156x.h
serial.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smbios.h x86: Use unsigned long for address in table generation 2017-02-06 11:38:46 +08:00
smsc_lpc47m.h
smsc_sio1007.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd_sdram.h
spd.h
spi_flash.h spi: Move freescale-specific code into a private header 2016-10-06 15:07:35 -04:00
spi.h dm: spi: Convert uclass to livetree 2017-06-01 07:03:16 -06:00
spl.h spl: add support to booting with ATF 2017-05-15 10:38:09 -04:00
splash.h splash: add support for loading splash from a FIT image 2017-01-13 17:40:38 +01:00
status_led.h powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
stdio_dev.h Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig 2016-10-23 18:34:17 -04:00
stdlib.h
stratixII.h
sx151x.h
sy8106a.h
sym53c8xx.h
syscon.h
sysreset.h
tables_csum.h x86: Move table csum into separate file 2016-10-19 09:01:50 +02:00
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h time: import time_after, time_before and friends from Linux 2017-01-14 16:46:30 -05:00
timer.h
timestamp.h
tmu.h
tpm.h tpm: Add function to load keys via their parent's SHA1 hash 2017-03-26 13:22:58 -06:00
tps6586x.h
trace.h
tsec.h armv7: ls1021a: Drop macro CONFIG_LS102XA 2017-04-17 09:03:30 -07:00
tsi108.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h kconfig: introduce kconfig for UBI 2016-09-26 13:24:43 -04:00
ubifs_uboot.h
ubispl.h
uboot_aes.h Rename aes.h to uboot_aes.h 2017-04-12 13:28:27 -04:00
universe.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usb.h Kconfig: USB: Migrate CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCD 2017-05-15 10:40:05 -04:00
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h vbe: Make vbe_setup_video_priv() public 2016-10-12 10:56:51 +08:00
version.h Kconfig: Move config IDENT_STRING to Kconfig 2016-09-20 09:30:23 -04:00
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h video: Drop CONFIG_VIDEO_HW_CURSOR 2016-10-23 18:33:48 -04:00
video_font_4x6.h
video_font_data.h
video_font.h
video_logo.h
video.h video: Move video_get_info_str() prototype to a header file 2016-10-23 18:33:54 -04:00
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h Fix spelling of "resetting". 2016-10-31 10:13:17 -04:00
vxworks.h
w83c553f.h
wait_bit.h lib: Add WATCHDOG_RESET to wait_bit.h 2017-01-10 10:18:11 +01:00
watchdog.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
wdt.h dm: Simple Watchdog uclass 2017-05-08 11:57:30 -04:00
winbond_w83627.h
xilinx.h fpga: xilinx: zynqmp: Add PL bitstream download support for ZynqMP 2016-09-22 07:33:21 +02:00
xyzModem.h common/xyzModem.c: unifdef (Remove useless #ifdefs) 2017-04-08 09:26:54 -04:00
zfs_common.h
zynqmppl.h ARM64: zynqmp: Adjust to new SMC interface to get silicon version 2016-11-15 15:28:05 +01:00
zynqpl.h ARM: zynq: Add support for Zynq 7000S 7007s/7012s/7014s devices 2016-11-15 15:28:04 +01:00