powerpc/t4240: Add a frequency setting case for fman1

A new valid setting case added for fman1, it uses platform frequency.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
net/fman: add ft_fixup_xgec to support 3rd and 4th 10GEC

As mEMAC1 and mEMAC2 are dual-role MACs, which are used as 1G or 10G MAC.
So we update dynamically 'cell-index' to '2' and '3' for 10GEC3 and 10GEC4.
Also change 'fsl,fman-port-1g-rx' to 'fsl,fman-port-10g-rx', ditto for Tx.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
powerpc/p1_p2_rdb_pc: Fix warnings for __iomem pointers

Add the __iomem address space marker for the tsec pointers
to struct tsec_mii_mng memory mapped register regions.
This solves the sparse warnings for mixig normal pointers with
__iomem pointers for tsec.

p1_p2_rdb_pc.c:373:24: warning: incorrect type in assignment (different
address spaces)
p1_p2_rdb_pc.c:373:24:    expected struct tsec_mii_mng [noderef]
<asn:2>*regs
p1_p2_rdb_pc.c:373:24:    got struct tsec_mii_mng *<noident>

Use TSEC_GET_MDIO_REGS_BASE() for the remaining mdio 'regs'
initializations to remove the __iomem warnings and for consistency.

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
powerpc/mpc85xx: Update CONFIG_SYS_FSL_TBCLK_DIV for T1040

The default value of CONFIG_SYS_FSL_TBCLK_DIV is 16.

So, update its value as default.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
am335x mux: don't hang on unknown EEPROMs, assume BeagleBone Black

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
beaglebone: HACK: always return 1 for is_bone_lt

This is to make the eMMC flasher work, the EEPROM hasn't been populated yet

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
beaglebone: HACK: raise USB current limit

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Fix for screen rolling during video playback

When video is being played back in browser on BeagleBone Black. This value might need some tweaking, but it effectively allows the LCDC and the ARM to play fairer in memory, so the LCDC does not get starved causing the screen to roll See Page 439 in spruh73g (AM33xx TRM) for details
explicitly clear unaligned access bit
ti_armv7_common.h: enable btrfs support

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Introduced btrfs file-system with btrload command

Introduces btrfs file-system to read file from
volume/sub-volumes with btrload command. This
implementation has read-only support.
This btrfs implementation is based on syslinux btrfs
code.

v14:     Merge conflicts, makefile updates and do_load API changes
v13:     Added pre-calculated crc for BE & LE
v11:     Mirro super block check.
v10:     patch problem reworked.
v5:      merged with master.
v4:      btrls command added.

[port of syslinux commit 269ebc845ebc8b46ef4b0be7fa0005c7fdb95b8d]

Signed-off-by: Adnan Ali <adnan.ali@codethink.co.uk>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>