uboot-mt623x/cpu/ppc4xx
Stefan Roese eb5eb2b0f7 ppc4xx: Cleanup PPC4xx I2C infrastructure
This patch cleans up the PPC4xx I2C intrastructure:

- Use C struct to describe the I2C registers instead of defines
- Coding style cleanup (braces, whitespace, comments, line length)
- Extract common code from i2c_read() and i2c_write()
- Remove unneeded IIC defines from ppc405.h & ppc440.h

Signed-off-by: Stefan Roese <sr@denx.de>
2009-11-23 16:27:02 +01:00
..
4xx_ibm_ddr2_autocalib.c ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling 2009-10-02 13:53:37 +02:00
4xx_pci.c ppc4xx: Consolidate pci_master_init() function 2009-11-19 11:35:34 +01:00
4xx_pcie.c ppc4xx: Remove some testing code from 4xx_pcie.c 2009-11-23 16:25:47 +01:00
4xx_uart.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
40x_spd_sdram.c ppc4xx: Remove mtsdram0() marcos and use common mtsdram() instead 2009-09-28 10:46:05 +02:00
44x_spd_ddr.c ppc4xx: Convert PPC4xx SDRAM defines from lower case to upper case 2009-09-28 10:45:54 +02:00
44x_spd_ddr2.c ppc4xx: 44x_spd_ddr2.c: Fix register macro ECCCR -> ECCES (SDRAM_ECCES) 2009-11-09 13:31:38 +01:00
Makefile ppc4xx: Rework cmd reginfo 2009-10-07 09:15:26 +02:00
bedbug_405.c Standardize command usage messages with cmd_usage() 2009-01-28 08:43:45 +01:00
cache.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_chip_config.c ppc4xx: Switch to I2C bus numer 0 for chip_config command 2009-11-10 15:09:28 +01:00
commproc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
config.mk ppc4xx: Add common ppc4xx linker script 2009-11-02 16:29:04 +01:00
cpu.c ppc4xx: Consolidate pci_pre_init() function 2009-11-19 11:35:30 +01:00
cpu_init.c ppc4xx: Add function to check and dynamically change PCI sync clock 2009-10-23 16:04:36 +02:00
dcr.S cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:27:39 -05:00
denali_data_eye.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
denali_spd_ddr2.c PPC4xx: Denali core: Fix incorrect DDR row bits 2009-10-07 09:10:11 +02:00
ecc.c ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling 2009-10-02 13:53:37 +02:00
ecc.h ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling 2009-10-02 13:53:37 +02:00
fdt.c ppc4xx: Update flash size in reg property of the NOR flash node 2009-10-23 15:56:32 +02:00
gpio.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
i2c.c ppc4xx: Cleanup PPC4xx I2C infrastructure 2009-11-23 16:27:02 +01:00
interrupts.c ppc4xx: Replace 4xx lowercase SPR references 2009-07-24 06:47:17 +02:00
iop480_uart.c ppc4xx: Consolidate PPC4xx UIC defines 2008-07-11 13:18:13 +02:00
kgdb.S Big white-space cleanup. 2008-05-21 00:14:08 +02:00
miiphy.c ppc_4xx: Apply new HW register names 2009-10-07 09:15:20 +02:00
reginfo.c ppc4xx: Rework cmd reginfo 2009-10-07 09:15:26 +02:00
resetvec.S * Code cleanup: 2003-06-27 21:31:46 +00:00
sdram.c ppc4xx: Convert PPC4xx SDRAM defines from lower case to upper case 2009-09-28 10:45:54 +02:00
sdram.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
speed.c ppc_4xx: Apply new HW register names 2009-10-07 09:15:20 +02:00
start.S relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
tlb.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
traps.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
u-boot.lds ppc4xx: Add common ppc4xx linker script 2009-11-02 16:29:04 +01:00
uic.c ppc4xx: Convert PPC4xx UIC defines from lower case to upper case 2009-09-28 10:45:42 +02:00
usb.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
usb_ohci.c Fix e-mail address of Gary Jennejohn. 2009-05-15 22:11:59 +02:00
usb_ohci.h Replace __attribute references with __attribute__ 2009-04-28 01:01:39 +02:00
usbdev.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
usbdev.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
xilinx_irq.c ppc4xx: CPU PPC440x5 on Virtex5 FX 2008-07-18 12:30:50 +02:00