u-boot-brain/include
Li Yang 14aa71e660 powerpc/85xx: Add support for new P102x/P2020 RDB style boards
The following boards share a common design but with minor variations
between them:

P1020MSBG-PC
P1020RDB-PC
P1020UTM-PC
P1021RDB-PC
P1024RDB
P1025RDB
P2020RDB-PC

The P1020RDB-PC shares its roots in the existing P1020RDB board design,
however uses DDR3 instead of DDR2.
P2020RDB-PC differs from the P102x RDB-PC with 64-bit DDR and 100Mhz SYSCLK.

Key features on these boards include:
* DDR3
* NOR flash
* NAND flash (on RDB's only)
* SPI flash (on RDB's only)
* SDHC/MMC card slot
* VSC7385 Ethernet switch (on P1020MBG, P1020RDB, & P1021RDB)
* PCIE slot and mini-PCIE slots

As these boards use soldered DDR chips not regular DIMMs, an on-board EEPROM
is used to store SPD data. In case of absent or corrupted SPD, falling back
to timing data embedded in the source code will be used. Raw timing data is
extracted from DDR chip datasheet. Different speeds of DDR are supported
with this approach. ODT option is forced to fit this set of boards, again
because they don't have regular DIMMs.

CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS is defined as 5ms to meet
specification for writing timing.

VSC firmware Address is defined by default in config file for eTSEC1.

SD width is based off DIP switch. DIP switch is detected on the
board by reading i2c bus and setting the appropriate mux values.

Some boards have QE module in the silicon (P1021 and P1025). QE and eLBC
have pins multiplexing. QE function needs to be disabled to access Nor Flash
and CPLD. QE-UEC and QE-UART can be enabled for linux kernel by setting "qe"
in hwconfig. In addition, QE-UEC and QE-TDM also have pins multiplexing, to
enable QE-TDM for linux kernel, set "qe;tdm" in hwconfig. Syntax is as below

'setenv hwconfig qe' to enable QE UEC/UART and disable Nor-Flash/CPLD.
'setenv hwconfig 'qe;tdm'' to enalbe QE TDM and disable Nor-Flash/CPLD.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Zhao Chenhui <b26998@freescale.com>
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Tang Yuantian <b29983@freescale.com>
Signed-off-by: ramneek.mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Akhil Goyal <akhil.goyal@freescale.com>
2011-09-29 19:01:04 -05:00
..
asm-generic x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
bedbug Fix warning: "assert" redefined 2011-09-10 01:10:19 +02:00
configs powerpc/85xx: Add support for new P102x/P2020 RDB style boards 2011-09-29 19:01:04 -05:00
cramfs
faraday ftsdc010: add support of ftsdc010 mmc controller 2011-09-04 18:03:02 -05:00
galileo cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
jffs2 fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
linux Minor coding style cleanup. 2011-09-11 21:24:09 +02:00
lzma Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
mtd cfi_flash: Add optional config register write to cfi-detection 2010-12-17 09:56:05 +01:00
pcmcia
u-boot Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
usb Fix building for 83xx boards with USB support 2010-10-21 20:00:41 +02:00
_exports.h lib, vsprintf: introduce strict_strtoul 2011-05-12 21:07:06 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00
74xx_7xx.h powerpc: Move duplicated BAT defines to mmu.h 2009-02-10 00:27:40 +01:00
ACEX1K.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
addr_map.h Introduce addr_map library 2008-12-15 22:05:36 +01:00
ahci.h scsi/ahci: add support for non-PCI controllers 2011-07-26 00:06:58 +02:00
ali512x.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
altera.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
amba_clcd.h video: add amba-clcd prime-cell 2010-01-27 21:23:14 +01:00
ambapp.h
api_public.h API: Improve glue mid-layer of the API demo application. 2009-02-18 00:39:44 +01:00
arm925t.h [PATCH] omap925.c: Remove unused functions 2006-10-28 17:13:12 +02:00
armcoremodule.h
asm-offsets.h Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
at45.h at91: rename DATAFLASH_MMC_SELECT to CONFIG_DATAFLASH_MMC_SELECT 2009-04-04 20:42:19 +02:00
at91rm9200_i2c.h
at91rm9200_net.h
ata.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
atmel_lcdc.h
bcd.h Replace BCD2BIN and BIN2BCD macros with inline functions 2009-08-25 12:57:55 +02:00
bcm5221.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
bmp_layout.h * Implement new mechanism to export U-Boot's functions to standalone 2003-07-24 23:38:38 +00:00
bus_vcxk.h new video driver for bus vcxk framebuffers 2009-07-26 13:17:21 +02:00
bzlib.h * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
circbuf.h
clps7111.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
command.h cmd_usage: constify 2011-07-26 16:34:41 +02:00
common.h Add assert() for debug assertions 2011-09-10 00:04:01 +02:00
commproc.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
compiler.h include/compiler.h: typedef ulong for FreeBSD 2011-07-28 21:17:11 +02:00
config_cmd_all.h ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
config_cmd_default.h Add 'editenv' command 2009-10-27 20:58:25 +01:00
config_cmd_defaults.h crc32: make command optional 2011-04-13 15:56:43 -04:00
config_defaults.h disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
config_phylib_all_drivers.h phylib: Add a bunch of PHY drivers from tsec 2011-04-20 15:09:34 -05:00
crc.h Some code cleanup 2006-04-16 10:51:58 +02:00
da9030.h This patch adds USB storage support for the delta board. This is the first 2006-05-22 16:33:54 +02:00
dataflash.h ATMEL: fix dataflash (dirty) this file should be converted to struct SoC access 2011-05-18 07:56:51 +02:00
ddr_spd.h Adding more SPD registers 2011-07-11 13:24:20 -05:00
div64.h Add a do_div() wrapper macro, lldiv(). 2009-01-24 00:23:09 +01:00
dm9000.h Add config option for disabling DM9000-SROM support. 2009-06-08 22:57:21 -07:00
dm9161.h
dp83848.h
ds1722.h Misc ds1722 fixups 2009-09-04 21:54:52 +02:00
ds4510.h Add support for Maxim's DS4510 I2C device 2009-01-24 01:47:50 +01:00
dtt.h hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
e500.h ppc/p4080: Determine various chip frequencies on CoreNet platforms 2009-09-24 12:05:29 -05:00
elf.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
environment.h environment.h: fix warning: "CONFIG_ENV_IS_EMBEDDED" redefined 2011-08-01 15:20:16 +02:00
errno.h Add basic errno support. 2010-09-19 19:29:47 +02:00
exports.h Constify getenv(), setenv() and hash code functions 2011-07-30 01:37:44 +02:00
ext2fs.h ext2: constify file/dir names 2010-12-09 10:24:09 +01:00
fat.h VFAT: fix processing of scattered long file name entries 2010-10-12 22:39:14 +02:00
fdc.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
fdt_support.h fdt: introduce fdt_create_phandle() 2011-07-14 21:43:45 -04:00
fdt.h powerpc: Fix bootm to boot up again with a Ramdisk 2008-09-13 02:03:38 +02:00
fis.h
flash.h mtd, cfi: introduce void flash_protect_default(void) 2011-04-07 10:20:22 +02:00
fpga.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
fsl_diu_fb.h video: Add SHARP LQ084S3LG01 LCD support on P1022DS 2011-08-04 22:55:33 +02:00
fsl_esdhc.h fsl_esdhc: Deal with watermark level register related changes 2011-04-10 11:17:55 -05:00
fsl_mdio.h Minor coding style cleanup. 2011-05-19 22:22:44 +02:00
fsl_nfc.h Add MX25 support to nand_spl fsl nfc driver 2010-01-27 14:22:41 -06:00
fsl_pmic.h MX: Added Freescale Power Management Driver 2010-05-05 09:48:41 +02:00
gdsys_fpga.h ppc4xx: Enable MPC92469AC on DLVision 10G 2011-04-21 10:34:51 +02:00
hush.h common/hush: make get_local_var visible for other users 2011-05-10 23:19:07 +02:00
hwconfig.h powerpc/8xxx: Add hwconfig APIs to address early parsing used by DDR init 2011-01-19 22:58:23 -06:00
i2c.h i2c: add i2c deblock sequence before and after every mux config 2011-04-28 10:56:54 +02:00
i8042.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ide.h IDE: fix compiler warnings 2011-04-30 23:29:55 +02:00
image.h mkimage: Add OMAP boot image support 2011-08-03 12:49:20 +02:00
iomux.h stdio: constify "name" arg in public api 2010-12-09 10:24:09 +01:00
ioports.h Stop using immap_t for cpm offset on 85xx 2007-12-11 22:34:19 -06:00
keyboard.h [Strange. I _did_ check these in before. Seems SF restored an old 2004-01-16 00:30:56 +00:00
kgdb.h Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
ks8721.h Add support for Eukrea CPUAT91 SBC 2009-10-13 06:17:35 -05:00
lattice.h FPGA: constify Lattice FPGA code 2011-09-05 11:41:42 +02:00
lcd.h atmel_lcd: Allow contrast polarity to be either positive or negative 2010-09-25 15:22:51 +02:00
lcdvideo.h Initial revision 2001-11-03 22:15:16 +00:00
led-display.h led_display: remove unused DISPLAY_MARK define 2010-10-21 22:25:04 +02:00
lh7a40x.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
lh7a400.h * Patch by Paul Ruhland, 10 Jun 2004: 2004-06-10 21:55:33 +00:00
lh7a404.h
libata.h
libfdt_env.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
libfdt.h libfdt: Implement property iteration functions 2011-07-14 21:10:34 -04:00
linux_logo.h
lmb.h lmb: only force on arches that use it 2010-01-21 22:26:00 +01:00
logbuff.h Avoid initrd and logbuffer area overlaps 2008-06-03 19:34:19 +02:00
lpd7a400_cpld.h * Patch by Paul Ruhland, 17 May 2004: 2004-06-09 13:37:52 +00:00
lxt971a.h Remove duplicate definitions in include/lxt971a.h. 2008-07-06 23:44:34 -07:00
lynxkdi.h * Patch by Scott McNutt, 21 Jul 2003: 2003-07-27 00:21:01 +00:00
malloc.h Add assert() for debug assertions 2011-09-10 00:04:01 +02:00
mb862xx.h video: mb862xx: improve board-specific Lime configuration 2009-10-31 12:13:28 +01:00
mc9sdz60.h Add basic support for Freescale's mc9sdz60 2011-02-02 00:54:43 +01:00
mc13892.h MC13892: Add SWx buck switchers definitions 2011-02-02 00:54:42 +01:00
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
mg_disk.h mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
mii_phy.h
miiphy.h Create PHY Lib for U-Boot 2011-04-20 15:09:19 -05:00
mk48t59.h
mmc.h mmc: Access mode validation for eMMC cards > 2 GiB 2011-07-15 20:29:21 -05:00
mpc5xx.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc5xxx_sdma.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc5xxx.h A4M072: Added support for the board. 2010-10-12 22:44:33 +02:00
mpc8xx_irq.h
mpc8xx.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc83xx.h MPC83xx: add define for global half-strength enable (HSE) 2011-07-06 19:09:27 -05:00
mpc85xx.h powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros 2011-09-29 19:01:04 -05:00
mpc86xx.h mpc86xx: set the DDR BATs after calculating true DDR size 2010-03-30 10:50:22 -05:00
mpc106.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc824x.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc8220.h
mpc8260_irq.h
mpc8260.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mtd_node.h fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
mvmfp.h gpio: Add Multi-Function-Pin configuration driver for Marvell SoCs 2010-12-16 23:02:43 +01:00
nand.h nand_util: drop trailing all-0xff pages if requested 2011-07-01 15:56:51 -05:00
net.h Add Ethernet hardware MAC address framework to usbnet 2011-08-08 21:05:23 +02:00
netdev.h cm4008, cm41xx: fix build warnings 2011-09-10 17:00:51 +02:00
nios2-epcs.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
nios2-io.h
nios2-yanu.h nios2: Added support to YANU UART 2010-03-16 16:01:29 -04:00
nios2.h
nomadik.h include/nomadik.h: add physical address for cldc 2010-01-27 21:23:23 +01:00
ns7520_eth.h
ns9750_bbus.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns9750_eth.h Remove duplicate definitions in include/lxt971a.h. 2008-07-06 23:44:34 -07:00
ns9750_mem.h
ns9750_ser.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns9750_sys.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns16550.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ns87308.h
onenand_uboot.h Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
part.h disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
pc_keyb.h
pca953x.h Add support for PCA953x I2C gpio devices 2008-12-19 18:11:49 -06:00
pca9564.h Prepare v2010.03-rc1 2010-03-12 23:06:04 +01:00
pci_ids.h Net: Add Intel E1000 82574L PCIe card support 2011-04-11 22:20:13 +02:00
pci.h powerpc/85xx: Handle PCIe initialization requires for P1021 class SoCs 2011-03-29 07:41:37 -05:00
pcmcia.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
phy.h phylib: Add a bunch of PHY drivers from tsec 2011-04-20 15:09:34 -05:00
post.h post, memory test: add memory_post_test() to include file 2011-07-28 22:39:26 +02:00
ppc_asm.tmpl powerpc: fix wrong comment at GOT definitions 2010-06-29 23:03:40 +02:00
ppc_defs.h Initial revision 2000-07-19 14:09:16 +00:00
ps2mult.h Rename common ns16550 constants with UART_ prefix to prevent conflicts 2009-04-03 22:34:07 +02:00
pwm.h ARM: S5P: pwm driver support 2011-03-27 19:19:54 +02:00
radeon.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
reiserfs.h Code cleanup 2004-03-25 15:14:43 +00:00
rtc.h Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
s6e63d6.h A driver for the S6E63D6 SPI display controller from Samsung 2009-02-24 10:00:28 +01:00
s_record.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
SA-1100.h
sata.h SATA: do not auto-initialize during boot 2009-01-27 23:42:39 +01:00
scsi.h scsi/ahci: add support for non-PCI controllers 2011-07-26 00:06:58 +02:00
sdhci.h MMC: add sdhci generic framework 2011-07-15 20:29:18 -05:00
search.h Constify getenv(), setenv() and hash code functions 2011-07-30 01:37:44 +02:00
sed156x.h
sed13806.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
serial.h Merge branch 'master' of git://git.denx.de/u-boot-blackfin 2011-08-02 21:46:53 +02:00
sha1.h
sha256.h include/sha256.h: fix file permissions. 2008-07-06 01:21:46 +02:00
sja1000.h Add minimal SJA1000 header for basic CAN mode 2009-11-17 13:19:58 +01:00
sm501.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
smiLynxEM.h * Code cleanup: 2003-06-27 21:31:46 +00:00
spartan2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
spartan3.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
spd_sdram.h
spd.h Fix style issues primarily in 85xx and 83xx boards. 2005-08-01 13:20:47 -05:00
spi_flash.h sf: unify write funcs 2011-07-26 16:29:27 +02:00
spi.h powerpc: eSPI and eSPI controller support 2011-04-29 07:34:09 -05:00
status_led.h led: remove camel casing of led identifiers globally 2011-09-13 08:30:52 +02:00
stdio_dev.h ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
stratixII.h fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
sym53c8xx.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
systemace.h
timestamp.h Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
tsec.h tsec: Fix MDIO on devices with eTSEC2 2011-04-29 07:32:48 -05:00
tsi108.h
tsi148.h Add support for the Tundra TSI148 VME-bridge 2009-07-19 11:21:08 +02:00
twl4030.h ARMV7: OMAP: add convenience function to set TWL4030 regulator voltages 2010-09-08 14:50:23 -04:00
twl6030.h ARMV7: OMAP4: twl6030 add battery charging support 2010-12-11 10:56:01 -05:00
tws.h drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
ubi_uboot.h common: move BUILD_BUG_ON define to common.h 2011-07-27 23:45:37 +02:00
universe.h
usb_cdc_acm.h
usb_defs.h Prepare USB layer for ehci 2009-01-28 19:57:27 +01:00
usb_ether.h Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter 2011-08-08 21:05:23 +02:00
usb.h usb: increase non-bulk timeout for slow chipsets. 2011-08-08 22:34:57 +02:00
usbdescriptors.h USB add macros for debugging usb device setup. 2009-12-20 12:47:37 +01:00
usbdevice.h USB add macros for debugging usb device setup. 2009-12-20 12:47:37 +01:00
version.h Fix build error causes by "unify version_string" 2011-07-28 22:16:57 +02:00
video_ad7176.h * Patches by Yuli Barcohen, 13 Jul 2003: 2003-07-14 22:13:32 +00:00
video_ad7177.h * Patches by Yuli Barcohen, 13 Jul 2003: 2003-07-14 22:13:32 +00:00
video_ad7179.h
video_easylogo.h
video_fb.h video: cleanup comments in cfb_console.c and video_fb.h 2010-07-17 00:05:14 +02:00
video_font.h Initial revision 2000-10-25 11:24:22 +00:00
video_logo.h
video.h
virtex2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
vsc7385.h
vxworks.h Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
w83c553f.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
watchdog.h nios: remove nios-32 arch 2010-05-28 10:56:04 -04:00
xilinx.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
xyzModem.h More code cleanup 2006-07-21 15:24:56 +02:00