History log of /rk3399_rockchip-uboot/arch/arm/cpu/ (Results 2026 – 2050 of 3557)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
94db665526-Jan-2014 Fabio Estevam <fabio.estevam@freescale.com>

mx6: Distinguish mx6dual from mx6quad

Currently when we boot a mx6dual U-boot reports that it is a mx6quad.

Report it as MX6D instead:

CPU: Freescale i.MX6D rev1.2 at 792 MHz

Signed-off-by: Fab

mx6: Distinguish mx6dual from mx6quad

Currently when we boot a mx6dual U-boot reports that it is a mx6quad.

Report it as MX6D instead:

CPU: Freescale i.MX6D rev1.2 at 792 MHz

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano babic <sbabic@denx.de>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>

show more ...

16197bb823-Jan-2014 Anson Huang <b20788@freescale.com>

imx6: make sure MMDC_CHx_MASK is clear to avoid warm reset failure

Boot ROM may mask MMDC_CHx_MASK in CCM_CCDR(such as i.MX6SL TO1.2),
it will cause warm reset fail, need to clear this MMDC_CHx_MASK

imx6: make sure MMDC_CHx_MASK is clear to avoid warm reset failure

Boot ROM may mask MMDC_CHx_MASK in CCM_CCDR(such as i.MX6SL TO1.2),
it will cause warm reset fail, need to clear this MMDC_CHx_MASK field
to make sure all the i.MX6 series SOCs reset function work. Otherwise,
uboot "reset" command will fail, tested on i.MX6SL EVK board with TO1.2.

Signed-off-by: Anson Huang <b20788@freescale.com>

show more ...

5c92edc223-Jan-2014 Anson Huang <b20788@freescale.com>

imx6: ensure AHB clock is 132MHz in low freq boot mode

For low freq boot mode(ARM boot up with 396MHz), ROM
will not set AHB clock to 132MHz, and the reset value of
AHB divider is incorrect which wi

imx6: ensure AHB clock is 132MHz in low freq boot mode

For low freq boot mode(ARM boot up with 396MHz), ROM
will not set AHB clock to 132MHz, and the reset value of
AHB divider is incorrect which will lead to wrong AHB
rate, need to correct it. To enable low freq boot mode,
need to set BOOT_CFG2[2] to high, tested on i.MX6Q/DL
SabreSD board and i.MX6SL EVK board.

Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Anson Huang <b20788@freescale.com>

show more ...

e25bfecf06-Feb-2014 Inha Song <ideal.song@samsung.com>

exynos: clock: use the clear and set bits macros.

Use setbits/clrbits macro instead of readl/writel function.
(Suggested by Wolfgang)

Signed-off-by: Inha Song <ideal.song@samsung.com>
Signed-off-by

exynos: clock: use the clear and set bits macros.

Use setbits/clrbits macro instead of readl/writel function.
(Suggested by Wolfgang)

Signed-off-by: Inha Song <ideal.song@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

show more ...

3cb007a906-Feb-2014 Inha Song <ideal.song@samsung.com>

exynos: clock: fixed that cfg is set to wrong value.

This patch fixed that cfg value is set to wrong value.
Because it didn't read the related register.

Signed-off-by: Inha Song <ideal.song@samsung

exynos: clock: fixed that cfg is set to wrong value.

This patch fixed that cfg value is set to wrong value.
Because it didn't read the related register.

Signed-off-by: Inha Song <ideal.song@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

show more ...

7dbe63bc05-Feb-2014 Tom Rini <trini@ti.com>

SPL: Add CONFIG_SUPPORT_EMMC_BOOT support to CONFIG_SPL_FRAMEWORK

We use the switch CONFIG_SUPPORT_EMMC_BOOT today to enable some
additional features of the eMMC boot partitions. Add support for be

SPL: Add CONFIG_SUPPORT_EMMC_BOOT support to CONFIG_SPL_FRAMEWORK

We use the switch CONFIG_SUPPORT_EMMC_BOOT today to enable some
additional features of the eMMC boot partitions. Add support for being
told that we have booted from one of these partitions to the spl
framework and implement this on TI OMAP/related.

Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>

show more ...


/rk3399_rockchip-uboot/README
armv7/omap-common/boot-common.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/dwmmc.h
/rk3399_rockchip-uboot/arch/microblaze/cpu/Makefile
/rk3399_rockchip-uboot/arch/microblaze/cpu/exception.c
/rk3399_rockchip-uboot/arch/microblaze/cpu/spl.c
/rk3399_rockchip-uboot/arch/microblaze/cpu/start.S
/rk3399_rockchip-uboot/arch/microblaze/cpu/timer.c
/rk3399_rockchip-uboot/arch/microblaze/cpu/u-boot-spl.lds
/rk3399_rockchip-uboot/arch/microblaze/include/asm/spl.h
/rk3399_rockchip-uboot/arch/microblaze/include/asm/u-boot.h
/rk3399_rockchip-uboot/arch/microblaze/lib/board.c
/rk3399_rockchip-uboot/arch/nds32/cpu/n1213/ag101/asm-offsets.c
/rk3399_rockchip-uboot/arch/nds32/cpu/n1213/ag101/lowlevel_init.S
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc5xxx/start.S
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/t1040_ids.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/t1040_serdes.c
/rk3399_rockchip-uboot/arch/powerpc/include/asm/config_mpc85xx.h
/rk3399_rockchip-uboot/arch/powerpc/include/asm/fsl_serdes.h
/rk3399_rockchip-uboot/arch/powerpc/include/asm/immap_85xx.h
/rk3399_rockchip-uboot/arch/sandbox/cpu/Makefile
/rk3399_rockchip-uboot/arch/sandbox/cpu/os.c
/rk3399_rockchip-uboot/board/Marvell/common/serial.c
/rk3399_rockchip-uboot/board/altera/nios2-generic/nios2-generic.c
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6x.c
/rk3399_rockchip-uboot/board/esd/cpci750/serial.c
/rk3399_rockchip-uboot/board/evb64260/serial.c
/rk3399_rockchip-uboot/board/freescale/t1040qds/Makefile
/rk3399_rockchip-uboot/board/freescale/t1040qds/README
/rk3399_rockchip-uboot/board/freescale/t1040qds/eth.c
/rk3399_rockchip-uboot/board/freescale/t1040qds/t1040qds.c
/rk3399_rockchip-uboot/board/freescale/t104xrdb/Makefile
/rk3399_rockchip-uboot/board/freescale/t104xrdb/README
/rk3399_rockchip-uboot/board/freescale/t104xrdb/eth.c
/rk3399_rockchip-uboot/board/keymile/kmp204x/Makefile
/rk3399_rockchip-uboot/board/keymile/kmp204x/kmp204x.c
/rk3399_rockchip-uboot/board/keymile/kmp204x/kmp204x.h
/rk3399_rockchip-uboot/board/keymile/kmp204x/pbi.cfg
/rk3399_rockchip-uboot/board/keymile/kmp204x/pci.c
/rk3399_rockchip-uboot/board/keymile/kmp204x/qrio.c
/rk3399_rockchip-uboot/board/keymile/kmp204x/rcw_kmp204x.cfg
/rk3399_rockchip-uboot/board/prodrive/p3mx/serial.c
/rk3399_rockchip-uboot/board/xilinx/zynq/board.c
/rk3399_rockchip-uboot/boards.cfg
/rk3399_rockchip-uboot/common/Makefile
/rk3399_rockchip-uboot/common/board_r.c
/rk3399_rockchip-uboot/common/cmd_clk.c
/rk3399_rockchip-uboot/common/cmd_pxe.c
/rk3399_rockchip-uboot/common/spl/Makefile
/rk3399_rockchip-uboot/common/spl/spl.c
/rk3399_rockchip-uboot/common/spl/spl_fat.c
/rk3399_rockchip-uboot/common/spl/spl_mmc.c
/rk3399_rockchip-uboot/common/spl/spl_usb.c
/rk3399_rockchip-uboot/config.mk
/rk3399_rockchip-uboot/doc/README.b4860qds
/rk3399_rockchip-uboot/drivers/fpga/zynqpl.c
/rk3399_rockchip-uboot/drivers/mmc/dw_mmc.c
/rk3399_rockchip-uboot/drivers/mmc/exynos_dw_mmc.c
/rk3399_rockchip-uboot/drivers/mmc/mmc.c
/rk3399_rockchip-uboot/drivers/mmc/zynq_sdhci.c
/rk3399_rockchip-uboot/drivers/mtd/nand/fsl_ifc_nand.c
/rk3399_rockchip-uboot/drivers/mtd/nand/fsl_ifc_spl.c
/rk3399_rockchip-uboot/drivers/net/fm/t1040.c
/rk3399_rockchip-uboot/drivers/net/xilinx_axi_emac.c
/rk3399_rockchip-uboot/drivers/net/zynq_gem.c
/rk3399_rockchip-uboot/drivers/pci/fsl_pci_init.c
/rk3399_rockchip-uboot/drivers/serial/serial_xuartlite.c
/rk3399_rockchip-uboot/drivers/serial/usbtty.h
/rk3399_rockchip-uboot/drivers/usb/gadget/Makefile
/rk3399_rockchip-uboot/drivers/usb/gadget/ci_udc.c
/rk3399_rockchip-uboot/drivers/usb/gadget/ci_udc.h
/rk3399_rockchip-uboot/drivers/usb/gadget/f_mass_storage.c
/rk3399_rockchip-uboot/drivers/usb/gadget/f_thor.c
/rk3399_rockchip-uboot/drivers/usb/gadget/gadget_chips.h
/rk3399_rockchip-uboot/drivers/usb/gadget/s3c_udc_otg.c
/rk3399_rockchip-uboot/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
/rk3399_rockchip-uboot/include/clk.h
/rk3399_rockchip-uboot/include/config_cmd_all.h
/rk3399_rockchip-uboot/include/config_distro_defaults.h
/rk3399_rockchip-uboot/include/configs/BC3450.h
/rk3399_rockchip-uboot/include/configs/IceCube.h
/rk3399_rockchip-uboot/include/configs/MVBC_P.h
/rk3399_rockchip-uboot/include/configs/MVSMR.h
/rk3399_rockchip-uboot/include/configs/PM520.h
/rk3399_rockchip-uboot/include/configs/T1040QDS.h
/rk3399_rockchip-uboot/include/configs/T1040RDB.h
/rk3399_rockchip-uboot/include/configs/T1042RDB_PI.h
/rk3399_rockchip-uboot/include/configs/TB5200.h
/rk3399_rockchip-uboot/include/configs/TOP5200.h
/rk3399_rockchip-uboot/include/configs/TQM5200.h
/rk3399_rockchip-uboot/include/configs/Total5200.h
/rk3399_rockchip-uboot/include/configs/a3m071.h
/rk3399_rockchip-uboot/include/configs/a4m072.h
/rk3399_rockchip-uboot/include/configs/aev.h
/rk3399_rockchip-uboot/include/configs/am43xx_evm.h
/rk3399_rockchip-uboot/include/configs/canmb.h
/rk3399_rockchip-uboot/include/configs/cm5200.h
/rk3399_rockchip-uboot/include/configs/cpci5200.h
/rk3399_rockchip-uboot/include/configs/digsy_mtc.h
/rk3399_rockchip-uboot/include/configs/galaxy5200.h
/rk3399_rockchip-uboot/include/configs/hmi1001.h
/rk3399_rockchip-uboot/include/configs/inka4x0.h
/rk3399_rockchip-uboot/include/configs/ipek01.h
/rk3399_rockchip-uboot/include/configs/jupiter.h
/rk3399_rockchip-uboot/include/configs/km/keymile-common.h
/rk3399_rockchip-uboot/include/configs/km/kmp204x-common.h
/rk3399_rockchip-uboot/include/configs/kmp204x.h
/rk3399_rockchip-uboot/include/configs/manroland/mpc5200-common.h
/rk3399_rockchip-uboot/include/configs/mcc200.h
/rk3399_rockchip-uboot/include/configs/mecp5200.h
/rk3399_rockchip-uboot/include/configs/microblaze-generic.h
/rk3399_rockchip-uboot/include/configs/motionpro.h
/rk3399_rockchip-uboot/include/configs/munices.h
/rk3399_rockchip-uboot/include/configs/nitrogen6x.h
/rk3399_rockchip-uboot/include/configs/o2dnt-common.h
/rk3399_rockchip-uboot/include/configs/pcm030.h
/rk3399_rockchip-uboot/include/configs/pf5200.h
/rk3399_rockchip-uboot/include/configs/sansa_fuze_plus.h
/rk3399_rockchip-uboot/include/configs/v38b.h
/rk3399_rockchip-uboot/include/configs/xfi3.h
/rk3399_rockchip-uboot/include/dwmmc.h
/rk3399_rockchip-uboot/include/fsl_ifc.h
/rk3399_rockchip-uboot/include/os.h
/rk3399_rockchip-uboot/include/spl.h
/rk3399_rockchip-uboot/include/usb/ci_udc.h
/rk3399_rockchip-uboot/include/usb/s3c_udc.h
/rk3399_rockchip-uboot/include/zynqpl.h
/rk3399_rockchip-uboot/spl/Makefile
c8d4b2f827-Jan-2014 Marek Vasut <marex@denx.de>

ARM: IXP: Remove the IXP architecture support

The architecture is unmaintained and dead, remove it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Mic

ARM: IXP: Remove the IXP architecture support

The architecture is unmaintained and dead, remove it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Michael Schwingen <michael@schwingen.org>
Cc: Tom Rini <trini@ti.com>

show more ...

0ab9a03c29-Jan-2014 Minkyu Kang <mk7.kang@samsung.com>

exynos: pinmux: remove unnecessary routine

Because of the list of peripherals is not sequential,
such a routine does not check for valid correctly.
Error check will be done when call the exynos_pinm

exynos: pinmux: remove unnecessary routine

Because of the list of peripherals is not sequential,
such a routine does not check for valid correctly.
Error check will be done when call the exynos_pinmux_config function.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>

show more ...

1501cc9429-Jan-2014 Minkyu Kang <mk7.kang@samsung.com>

exynos: pinmux: remove unnecessary define

The value of PERIPH_ID_COUNT was wrong, and unnecessary.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

2f5dac9224-Jan-2014 Tom Warren <twarren.nvidia@gmail.com>

ARM: tegra: add common (shared) CPU files

These files are used by both SPL and main U-Boot.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-

ARM: tegra: add common (shared) CPU files

These files are used by both SPL and main U-Boot.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

52ef43b024-Jan-2014 Tom Warren <twarren.nvidia@gmail.com>

ARM: tegra: Add CPU (armv7) files for Tegra124

These files are for code that runs on the CPU (A15) on Tegra124 boards.
At this time, there is no A15-specific code here. The warmboot/LP0 files
aren't

ARM: tegra: Add CPU (armv7) files for Tegra124

These files are for code that runs on the CPU (A15) on Tegra124 boards.
At this time, there is no A15-specific code here. The warmboot/LP0 files
aren't included as that code hasn't been ported yet.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

32edd2ed24-Jan-2014 Tom Warren <twarren.nvidia@gmail.com>

ARM: tegra: add SPL/AVP (arm720t) CPU files for Tegra124

This provides SPL support for Tegra124 boards - AVP early init, plus
CPU (A15) init/jump to main U-Boot.

Signed-off-by: Tom Warren <twarren@

ARM: tegra: add SPL/AVP (arm720t) CPU files for Tegra124

This provides SPL support for Tegra124 boards - AVP early init, plus
CPU (A15) init/jump to main U-Boot.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

a4bcd67c24-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: remove a conditional for CSITE rate

There's already an SoC-specific conditional in cpu.h to determine the
PLLP rate. Define the CSITE clock rate inside the same conditional, so
that we c

ARM: tegra: remove a conditional for CSITE rate

There's already an SoC-specific conditional in cpu.h to determine the
PLLP rate. Define the CSITE clock rate inside the same conditional, so
that we can remove a conditional from clock_enable_coresight(). This
means one less place to update the code for new SoCs.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

41447fb224-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: enable PLLX only once it's been fully configured

This programming sequence is correct per Jimmy Zhang, and makes sense
too!

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by:

ARM: tegra: enable PLLX only once it's been fully configured

This programming sequence is correct per Jimmy Zhang, and makes sense
too!

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

cad38a5724-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: pass just partition ID to power_partition()

Pass just the partition ID to power_partition(), rather than also passing
the partition's status register mask too. This makes it simpler to g

ARM: tegra: pass just partition ID to power_partition()

Pass just the partition ID to power_partition(), rather than also passing
the partition's status register mask too. This makes it simpler to get
call-sites correct, since they don't need to pass two different values
that define the same thing and must match.

Consequently, we can remove the mask definitions from pmc.h.

Suggested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

41cd530d24-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: misc cleanups triggered by Tegra124 review

Use a named constant for the PLL lock bit in enable_cpu_clocks().

Construct the complete value of pmc_pwrgate_toggle, rather than doing a
read

ARM: tegra: misc cleanups triggered by Tegra124 review

Use a named constant for the PLL lock bit in enable_cpu_clocks().

Construct the complete value of pmc_pwrgate_toggle, rather than doing a
read-modify-write; the register is simple enough and doesn't need to
maintain state between operations.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

b9dd621524-Jan-2014 Jimmy Zhang <jimmzhang@nvidia.com>

ARM: tegra: don't exceed AVP limits when configuring PLLP

Based on the Tegra TRM, the system clock (which is the AVP clock) can
run up to 275MHz. On power on, the default sytem clock source is set t

ARM: tegra: don't exceed AVP limits when configuring PLLP

Based on the Tegra TRM, the system clock (which is the AVP clock) can
run up to 275MHz. On power on, the default sytem clock source is set to
PLLP_OUT0. In function clock_early_init(), PLLP_OUT0 will be set to
408MHz which is beyond system clock's upper limit.

The fix is to set the system clock to CLK_M before initializing PLLP,
and then switch back to PLLP_OUT4, which has an appropriate divider
configured, after PLLP has been configured

Implement this logic in new function tegra30_set_up_pllp(),
which sets up PLLP and all PLLP_OUT* dividers, and handles the AVP
clock switching. Remove the duplicate PLLP setup from pllx_set_rate()
and adjust_pllp_out_freqs().

Signed-off-by: Jimmy Zhang <jimmzhang@nvidia.com>
[swarren, significantly refactored the change]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

9399e54024-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: amend pmc.h for Tegra114+

Tegra114 and later's PMC module removes the pwrgate_timer_on register
and replaces it with a clamp_status register. Adjust pmc.h to reflect
this, and update any

ARM: tegra: amend pmc.h for Tegra114+

Tegra114 and later's PMC module removes the pwrgate_timer_on register
and replaces it with a clamp_status register. Adjust pmc.h to reflect
this, and update any code affected by the change.

The cpu.c change in this patch was extracted from a much larger patch
by Jimmy Zhang. The pmc.h change was written from scratch, but inspired
by related changes made by Tom Warren.

There could well be other differences in the PMC register set for chips
after Tegra20/30. However, they don't affect the code in U-Boot at
present, so I haven't attempted an exhaustive update of pmc.h.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

c82014da24-Jan-2014 Tom Warren <twarren.nvidia@gmail.com>

ARM: tegra: implement MASK_BITS_31_29

Some clock sources have 3-bit muxes in bits 31:29. Implement core
support for this mux field.

Signed-off-by: Tom Warren <twarren@nvidia.com>
[swarren, extracte

ARM: tegra: implement MASK_BITS_31_29

Some clock sources have 3-bit muxes in bits 31:29. Implement core
support for this mux field.

Signed-off-by: Tom Warren <twarren@nvidia.com>
[swarren, extracted from a larger patch by Tom]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

54d2e18224-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: use MASK_BITS_* macros everywhere

Not all code that set or interpreted "mux_bits" was using the named
macros, but rather some was simply using hard-coded integer constants.
This makes it

ARM: tegra: use MASK_BITS_* macros everywhere

Not all code that set or interpreted "mux_bits" was using the named
macros, but rather some was simply using hard-coded integer constants.
This makes it hard to determine which pieces of code are affected by
changes to those constants.

Replace the integer constants with the equivalent macro definitions so
that everything is nicely tied together.

Note that I'm not convinced all the code was using the correct integer
constants, and hence I'm not convinced that all the code is now using
the desired macros. However, this change is a purely mechanical
replacement and should have no functional change. Fixing any bugs will
come later, separately.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

9cb0c6dc24-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: rename OUT_CLK_SOURCE_*

OUT_CLK_SOURCE_ are currently named after the number of bits the mask
they represent includes. However, bit count is not the only possible
variable; bit position

ARM: tegra: rename OUT_CLK_SOURCE_*

OUT_CLK_SOURCE_ are currently named after the number of bits the mask
they represent includes. However, bit count is not the only possible
variable; bit position may also vary. Rename OUT_CLK_SOURCE_ to
OUT_CLK_SOURCE_31_30_ and OUT_CLK_SOURCE4_ to OUT_CLK_SOURCE_31_28 to
more completely describe exactly what they represent, without having to
go look up the definitions.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

5916a36e24-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28

The only place where the MASK_BITS_* values are used is in
adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28,
new MASK_BITS

ARM: tegra: rename MASK_BITS_29_28 to MASK_BITS_31_28

The only place where the MASK_BITS_* values are used is in
adjust_periph_pll(), which interprets the value 4 (old MASK_BITS_29_28,
new MASK_BITS_31_28) as being associated with mask OUT_CLK_SOURCE4_MASK,
i.e. bits 31:28. Rename the MASK_BITS_ macro to reflect how it's actually
implemented.

Note that no Tegra clock register actually uses all of bits 31:28 as
the mux field. Rather, bits 30:28, 29:28, or 28 are used. However, in
those cases, nothing is stored in the bits above the mux field, so it's
safe to pretend that the mux field extends all the way to the end of the
register. As such, the U-Boot clock driver is currently a bit lazy, and
doesn't distinguish between 31:28, 30:28, 29:28 and 28; it just lumps
them all together and pretends they're all 31:28. This patch doesn't
cause this issue; it was pre-existing. Hopefully, future patches will
clean this up.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

0b01b53a24-Jan-2014 Tom Warren <twarren.nvidia@gmail.com>

ARM: tegra: deduplicate MASK_BITS_xxx clock mux enum

The enum used to define the set of register bits used to represent a
clock's input mux, MUX_BITS_*, is defined separately for each SoC at
present

ARM: tegra: deduplicate MASK_BITS_xxx clock mux enum

The enum used to define the set of register bits used to represent a
clock's input mux, MUX_BITS_*, is defined separately for each SoC at
present. Move this definition to a common location to ease fixing up
some issues with the definition, and the code that uses it.

Signed-off-by: Tom Warren <twarren@nvidia.com>
[swarren, extracted from a larger patch by Tom]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

86b6578722-Jan-2014 Stephen Warren <swarren@nvidia.com>

ARM: tegra: accept any SKU ID for most chips

For Tegra20, the SKU ID actually impacts how U-Boot programs the chip,
and hence we need to explicitly know about each and every SKU ID in order
to opera

ARM: tegra: accept any SKU ID for most chips

For Tegra20, the SKU ID actually impacts how U-Boot programs the chip,
and hence we need to explicitly know about each and every SKU ID in order
to operate correctly.

However, for Tegra30/114, this isn't the case. Rather than forcing each
new user with a different SKU to manually add their SKU ID into the code,
simply accept any SKU ID.

If U-Boot ever starts e.g. programming maximal CPU clocks etc., we'll
need to undo this, or make the default case map to conservative defaults,
but for now it's likely the path to least support cost.

Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

show more ...

e97f9d8129-Jan-2014 Albert ARIBAUD <albert.u.boot@aribaud.net>

Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'


armv7/omap-common/clocks-common.c
armv7/omap-common/emif-common.c
armv7/omap-common/hwinit-common.c
armv7/omap4/hw_data.c
armv7/omap5/abb.c
armv7/omap5/hw_data.c
armv7/omap5/hwinit.c
armv7/omap5/prcm-regs.c
armv7/omap5/sdram.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/ddr_defs.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap3/omap3.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap4/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap5/omap.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap5/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/omap_common.h
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc5xxx/start.S
/rk3399_rockchip-uboot/arch/sandbox/cpu/os.c
/rk3399_rockchip-uboot/board/Marvell/common/serial.c
/rk3399_rockchip-uboot/board/armltd/versatile/versatile.c
/rk3399_rockchip-uboot/board/esd/cpci750/serial.c
/rk3399_rockchip-uboot/board/evb64260/serial.c
/rk3399_rockchip-uboot/board/prodrive/p3mx/serial.c
/rk3399_rockchip-uboot/board/ti/am43xx/board.c
/rk3399_rockchip-uboot/board/ti/omap5_uevm/evm.c
/rk3399_rockchip-uboot/board/ti/omap5_uevm/mux_data.h
/rk3399_rockchip-uboot/board/ti/panda/panda.c
/rk3399_rockchip-uboot/board/ti/panda/panda_mux_data.h
/rk3399_rockchip-uboot/board/ti/sdp4430/sdp.c
/rk3399_rockchip-uboot/board/ti/sdp4430/sdp4430_mux_data.h
/rk3399_rockchip-uboot/boards.cfg
/rk3399_rockchip-uboot/common/Makefile
/rk3399_rockchip-uboot/common/board_r.c
/rk3399_rockchip-uboot/common/spl/Makefile
/rk3399_rockchip-uboot/common/spl/spl.c
/rk3399_rockchip-uboot/common/spl/spl_fat.c
/rk3399_rockchip-uboot/common/spl/spl_mmc.c
/rk3399_rockchip-uboot/common/spl/spl_usb.c
/rk3399_rockchip-uboot/doc/feature-removal-schedule.txt
/rk3399_rockchip-uboot/include/configs/BC3450.h
/rk3399_rockchip-uboot/include/configs/IceCube.h
/rk3399_rockchip-uboot/include/configs/MVBC_P.h
/rk3399_rockchip-uboot/include/configs/MVSMR.h
/rk3399_rockchip-uboot/include/configs/PM520.h
/rk3399_rockchip-uboot/include/configs/TB5200.h
/rk3399_rockchip-uboot/include/configs/TOP5200.h
/rk3399_rockchip-uboot/include/configs/TQM5200.h
/rk3399_rockchip-uboot/include/configs/Total5200.h
/rk3399_rockchip-uboot/include/configs/a3m071.h
/rk3399_rockchip-uboot/include/configs/a4m072.h
/rk3399_rockchip-uboot/include/configs/aev.h
/rk3399_rockchip-uboot/include/configs/am43xx_evm.h
/rk3399_rockchip-uboot/include/configs/canmb.h
/rk3399_rockchip-uboot/include/configs/cm5200.h
/rk3399_rockchip-uboot/include/configs/cpci5200.h
/rk3399_rockchip-uboot/include/configs/digsy_mtc.h
/rk3399_rockchip-uboot/include/configs/dra7xx_evm.h
/rk3399_rockchip-uboot/include/configs/galaxy5200.h
/rk3399_rockchip-uboot/include/configs/hmi1001.h
/rk3399_rockchip-uboot/include/configs/inka4x0.h
/rk3399_rockchip-uboot/include/configs/ipek01.h
/rk3399_rockchip-uboot/include/configs/jupiter.h
/rk3399_rockchip-uboot/include/configs/manroland/mpc5200-common.h
/rk3399_rockchip-uboot/include/configs/mcc200.h
/rk3399_rockchip-uboot/include/configs/mecp5200.h
/rk3399_rockchip-uboot/include/configs/motionpro.h
/rk3399_rockchip-uboot/include/configs/munices.h
/rk3399_rockchip-uboot/include/configs/o2dnt-common.h
/rk3399_rockchip-uboot/include/configs/omap3_igep00x0.h
/rk3399_rockchip-uboot/include/configs/omap4_panda.h
/rk3399_rockchip-uboot/include/configs/omap4_sdp4430.h
/rk3399_rockchip-uboot/include/configs/omap5_uevm.h
/rk3399_rockchip-uboot/include/configs/pcm030.h
/rk3399_rockchip-uboot/include/configs/pf5200.h
/rk3399_rockchip-uboot/include/configs/ti_am335x_common.h
/rk3399_rockchip-uboot/include/configs/ti_armv7_common.h
/rk3399_rockchip-uboot/include/configs/ti_omap3_common.h
/rk3399_rockchip-uboot/include/configs/ti_omap4_common.h
/rk3399_rockchip-uboot/include/configs/ti_omap5_common.h
/rk3399_rockchip-uboot/include/configs/v38b.h
/rk3399_rockchip-uboot/include/configs/versatile.h
/rk3399_rockchip-uboot/include/os.h
/rk3399_rockchip-uboot/include/spl.h
/rk3399_rockchip-uboot/spl/Makefile

1...<<81828384858687888990>>...143