]> git.kernelconcepts.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
10 years agomerged kc master branch
Lothar Waßmann [Fri, 11 Oct 2013 11:26:39 +0000 (13:26 +0200)]
merged kc master branch

10 years agoset/evaluate de-active and pixelclk-active in DT where pssible
Lothar Waßmann [Fri, 11 Oct 2013 10:51:50 +0000 (12:51 +0200)]
set/evaluate de-active and pixelclk-active in DT where pssible

10 years agocall fdt_update_native_fb_mode() only from ft_board_setup
Lothar Waßmann [Fri, 11 Oct 2013 10:51:10 +0000 (12:51 +0200)]
call fdt_update_native_fb_mode() only from ft_board_setup

10 years agoprevent error message 'Can't set phandle'
Lothar Waßmann [Fri, 11 Oct 2013 10:49:54 +0000 (12:49 +0200)]
prevent error message 'Can't set phandle'

10 years agoMerge branch 'tx28-bugfix' into karo-tx-merge
Lothar Waßmann [Fri, 11 Oct 2013 08:52:02 +0000 (10:52 +0200)]
Merge branch 'tx28-bugfix' into karo-tx-merge

10 years agokaro: tx28: remove bogus '\n' from cmd descriptions
Lothar Waßmann [Fri, 11 Oct 2013 08:51:44 +0000 (10:51 +0200)]
karo: tx28: remove bogus '\n' from cmd descriptions

10 years agokaro: tx6 remove bogus '\n' from cmd descriptions
Lothar Waßmann [Fri, 11 Oct 2013 08:51:20 +0000 (10:51 +0200)]
karo: tx6 remove bogus '\n' from cmd descriptions

10 years agokaro: tx6: Update FDT support
Lothar Waßmann [Fri, 11 Oct 2013 07:56:14 +0000 (09:56 +0200)]
karo: tx6: Update FDT support

10 years agoFix various bugs in WinCE boot protocol handler
Lothar Waßmann [Fri, 11 Oct 2013 07:52:27 +0000 (09:52 +0200)]
Fix various bugs in WinCE boot protocol handler

10 years agokaro: tx28: set CONFIG_MX28 before including regs-base.h
Lothar Waßmann [Thu, 10 Oct 2013 14:07:52 +0000 (16:07 +0200)]
karo: tx28: set CONFIG_MX28 before including regs-base.h

10 years agoMerge branch 'tx53-bugfix' into karo-tx-merge
Lothar Waßmann [Thu, 10 Oct 2013 14:06:33 +0000 (16:06 +0200)]
Merge branch 'tx53-bugfix' into karo-tx-merge

10 years agoMerge branch 'tx51-bugfix' into karo-tx-merge
Lothar Waßmann [Thu, 10 Oct 2013 14:06:30 +0000 (16:06 +0200)]
Merge branch 'tx51-bugfix' into karo-tx-merge

10 years agokaro: tx6: set default video_mode to 'VGA'
Lothar Waßmann [Thu, 10 Oct 2013 14:06:25 +0000 (16:06 +0200)]
karo: tx6: set default video_mode to 'VGA'

10 years agokaro: tx53: remove 'video_mode' from bootargs
Lothar Waßmann [Thu, 10 Oct 2013 14:05:07 +0000 (16:05 +0200)]
karo: tx53: remove 'video_mode' from bootargs

10 years agokaro: tx51: remove 'video_mode' from bootargs
Lothar Waßmann [Thu, 10 Oct 2013 14:03:54 +0000 (16:03 +0200)]
karo: tx51: remove 'video_mode' from bootargs

10 years agoMerge branch 'tx51-bugfix' into karo-tx-merge
Lothar Waßmann [Thu, 10 Oct 2013 13:23:56 +0000 (15:23 +0200)]
Merge branch 'tx51-bugfix' into karo-tx-merge

10 years agoimx: iomux-v3: SEL_INP requires 4 bits
Lothar Waßmann [Thu, 10 Oct 2013 13:23:38 +0000 (15:23 +0200)]
imx: iomux-v3: SEL_INP requires 4 bits

10 years agokaro: tx51: use macro MUX_PAD_CTRL() to define PAD_CTL settings
Lothar Waßmann [Thu, 10 Oct 2013 13:12:27 +0000 (15:12 +0200)]
karo: tx51: use macro MUX_PAD_CTRL() to define PAD_CTL settings

10 years agokaro: tx53: add partition 'bbt' to mtdparts
Lothar Waßmann [Wed, 9 Oct 2013 13:43:02 +0000 (15:43 +0200)]
karo: tx53: add partition 'bbt' to mtdparts

10 years agoMerge branch 'tx51-bugfix' into karo-tx-merge
Lothar Waßmann [Wed, 9 Oct 2013 13:39:56 +0000 (15:39 +0200)]
Merge branch 'tx51-bugfix' into karo-tx-merge

10 years agokaro: tx51: add partition 'bbt' to mtdparts
Lothar Waßmann [Wed, 9 Oct 2013 13:38:28 +0000 (15:38 +0200)]
karo: tx51: add partition 'bbt' to mtdparts

10 years agoMerge branch 'tx48-bugfix' into karo-tx-merge
Lothar Waßmann [Mon, 7 Oct 2013 12:31:34 +0000 (14:31 +0200)]
Merge branch 'tx48-bugfix' into karo-tx-merge

10 years agokaro: fdt: update fdtsize variable in fdt_update_native_fb_mode()
Lothar Waßmann [Mon, 7 Oct 2013 12:28:34 +0000 (14:28 +0200)]
karo: fdt: update fdtsize variable in fdt_update_native_fb_mode()

10 years agokaro: fdt: print error message when fdt_setprop_cell() fails
Lothar Waßmann [Mon, 7 Oct 2013 12:27:43 +0000 (14:27 +0200)]
karo: fdt: print error message when fdt_setprop_cell() fails

10 years agokaro: fdt: improve error handling when creating phandle
Lothar Waßmann [Mon, 7 Oct 2013 12:26:22 +0000 (14:26 +0200)]
karo: fdt: improve error handling when creating phandle

10 years agokaro: fdt: make panel-name optional for video timing
Lothar Waßmann [Mon, 7 Oct 2013 12:25:35 +0000 (14:25 +0200)]
karo: fdt: make panel-name optional for video timing

10 years agokaro: fdt: update Copyright notice
Lothar Waßmann [Mon, 7 Oct 2013 12:25:28 +0000 (14:25 +0200)]
karo: fdt: update Copyright notice

10 years agokaro: fdt: add karo_fdt_create_fb_mode() to create DT entry from mode string
Lothar Waßmann [Mon, 7 Oct 2013 12:25:20 +0000 (14:25 +0200)]
karo: fdt: add karo_fdt_create_fb_mode() to create DT entry from mode string

10 years agokaro: fdt: use fdt_set_node_status() instead of fdt_setprop_string()
Lothar Waßmann [Mon, 7 Oct 2013 12:18:55 +0000 (14:18 +0200)]
karo: fdt: use fdt_set_node_status() instead of fdt_setprop_string()

10 years agokaro: fdt: disable unused nodes rather than deleting them
Lothar Waßmann [Mon, 7 Oct 2013 12:18:31 +0000 (14:18 +0200)]
karo: fdt: disable unused nodes rather than deleting them

10 years agoARM: prevent misleading message about unaligned accesses
Lothar Waßmann [Mon, 7 Oct 2013 12:17:11 +0000 (14:17 +0200)]
ARM: prevent misleading message about unaligned accesses

10 years agoam33xx: karo: remove video_mode from bootargs and set default to 'VGA'
Lothar Waßmann [Mon, 7 Oct 2013 12:14:28 +0000 (14:14 +0200)]
am33xx: karo: remove video_mode from bootargs and set default to 'VGA'

10 years agoam33xx: karo: calculate CONFIG_SPL_MAX_SIZE from SRAM_SCRATCH_SPACE_ADDR
Lothar Waßmann [Mon, 7 Oct 2013 12:13:51 +0000 (14:13 +0200)]
am33xx: karo: calculate CONFIG_SPL_MAX_SIZE from SRAM_SCRATCH_SPACE_ADDR

10 years agoam33xx: karo: define CONFIG_AM33XX before including asm/arch/omap.h
Lothar Waßmann [Mon, 7 Oct 2013 12:13:26 +0000 (14:13 +0200)]
am33xx: karo: define CONFIG_AM33XX before including asm/arch/omap.h

10 years agoam33xx: karo: indentation cleanup
Lothar Waßmann [Mon, 7 Oct 2013 12:12:51 +0000 (14:12 +0200)]
am33xx: karo: indentation cleanup

10 years agoARM: OMAP: use 'printf()' instead of 'debug()' to print error message
Lothar Waßmann [Mon, 7 Oct 2013 12:08:39 +0000 (14:08 +0200)]
ARM: OMAP: use 'printf()' instead of 'debug()' to print error message

10 years agomtd: nand: remove obsolete driver am33xx_nand
Lothar Waßmann [Mon, 7 Oct 2013 12:04:13 +0000 (14:04 +0200)]
mtd: nand: remove obsolete driver am33xx_nand

10 years agomtd: nand: remove duplicate items due to merge
Lothar Waßmann [Mon, 7 Oct 2013 12:02:40 +0000 (14:02 +0200)]
mtd: nand: remove duplicate items due to merge

10 years agomtd: nand: omap_gpmc: support flash based BBT
Lothar Waßmann [Mon, 7 Oct 2013 11:49:19 +0000 (13:49 +0200)]
mtd: nand: omap_gpmc: support flash based BBT

10 years agomtd: nand: omap_gpmc: don't use U-Boot global 'gpmc_cfg'
Lothar Waßmann [Mon, 7 Oct 2013 11:48:29 +0000 (13:48 +0200)]
mtd: nand: omap_gpmc: don't use U-Boot global 'gpmc_cfg'

10 years agoarm: am33xx: karo: remove obsolete function do_switch_ecc()
Lothar Waßmann [Mon, 7 Oct 2013 11:41:56 +0000 (13:41 +0200)]
arm: am33xx: karo: remove obsolete function do_switch_ecc()

10 years agoarm, am33xx: re-add include dropped by merge
Lothar Waßmann [Mon, 7 Oct 2013 10:48:08 +0000 (12:48 +0200)]
arm, am33xx: re-add include dropped by merge

10 years agotx48: call save_omap_boot_params()
Lothar Waßmann [Wed, 25 Sep 2013 14:07:42 +0000 (16:07 +0200)]
tx48: call save_omap_boot_params()

10 years agoi.MX video: add ipuv3_fb_shutdown()
Lothar Waßmann [Tue, 24 Sep 2013 09:02:42 +0000 (11:02 +0200)]
i.MX video: add ipuv3_fb_shutdown()

10 years agotx51: lowlevel_init: remove bogus RALAT from ESDGPR write
Lothar Waßmann [Tue, 24 Sep 2013 09:00:40 +0000 (11:00 +0200)]
tx51: lowlevel_init: remove bogus RALAT from ESDGPR write

10 years agoupgrade to upstream version 2013.07 KARO-TX6-2013-08-23
Lothar Waßmann [Fri, 23 Aug 2013 15:27:09 +0000 (17:27 +0200)]
upgrade to upstream version 2013.07

10 years agomtd: nand: mxc: use driver from Ka-Ro branch
Lothar Waßmann [Thu, 22 Aug 2013 14:45:58 +0000 (16:45 +0200)]
mtd: nand: mxc: use driver from Ka-Ro branch

10 years agommc: omap: fix use of get_timer()
Lothar Waßmann [Thu, 22 Aug 2013 14:39:05 +0000 (16:39 +0200)]
mmc: omap: fix use of get_timer()

10 years agommc: mxs: improve timeout loops
Lothar Waßmann [Thu, 22 Aug 2013 14:38:26 +0000 (16:38 +0200)]
mmc: mxs: improve timeout loops

10 years agommc: mxs: use calloc() to make sure the allocated memory is cleared
Lothar Waßmann [Thu, 22 Aug 2013 14:37:16 +0000 (16:37 +0200)]
mmc: mxs: use calloc() to make sure the allocated memory is cleared

10 years agommc: improve timeout loops to finally check the condition upon exiting the loop
Lothar Waßmann [Thu, 22 Aug 2013 14:34:51 +0000 (16:34 +0200)]
mmc: improve timeout loops to finally check the condition upon exiting the loop

10 years agommc: remove space before tab
Lothar Waßmann [Thu, 22 Aug 2013 14:33:57 +0000 (16:33 +0200)]
mmc: remove space before tab

10 years agofsl_iim: correct spelling of register name to match datasheet name
Lothar Waßmann [Thu, 22 Aug 2013 14:32:15 +0000 (16:32 +0200)]
fsl_iim: correct spelling of register name to match datasheet name

10 years agomtd: nand: improve error message 'Invalid ECC parameters'
Lothar Waßmann [Thu, 22 Aug 2013 14:30:59 +0000 (16:30 +0200)]
mtd: nand: improve error message 'Invalid ECC parameters'

10 years agomtd: nand: distinguish between allocation failure and missing buffers with NAND_OWN_B...
Lothar Waßmann [Thu, 22 Aug 2013 14:28:12 +0000 (16:28 +0200)]
mtd: nand: distinguish between allocation failure and missing buffers with NAND_OWN_BUFFERS

10 years agomtd: nand: remove space before tab
Lothar Waßmann [Thu, 22 Aug 2013 14:27:29 +0000 (16:27 +0200)]
mtd: nand: remove space before tab

10 years agomtd: nand: remove unused macro
Lothar Waßmann [Thu, 22 Aug 2013 14:22:00 +0000 (16:22 +0200)]
mtd: nand: remove unused macro

10 years agogpio: mxc: prevent glitches when switching GPIO direction by setting the data registe...
Lothar Waßmann [Thu, 22 Aug 2013 14:19:31 +0000 (16:19 +0200)]
gpio: mxc: prevent glitches when switching GPIO direction by setting the data register before the direction register

10 years agogpio: mxc: add some error messages
Lothar Waßmann [Thu, 22 Aug 2013 14:18:19 +0000 (16:18 +0200)]
gpio: mxc: add some error messages

10 years agogpio: mxc: parenthesize macro argument
Lothar Waßmann [Thu, 22 Aug 2013 14:17:43 +0000 (16:17 +0200)]
gpio: mxc: parenthesize macro argument

10 years agomtdparts: fix incorrectly split error message
Lothar Waßmann [Thu, 22 Aug 2013 14:14:01 +0000 (16:14 +0200)]
mtdparts: fix incorrectly split error message

10 years agonet: fec: fix bogus packet address being written to DMA descriptor
Lothar Waßmann [Thu, 22 Aug 2013 14:13:21 +0000 (16:13 +0200)]
net: fec: fix bogus packet address being written to DMA descriptor

10 years agomxs: set vector base address to RAM to be able to use the memabort_handler
Lothar Waßmann [Thu, 22 Aug 2013 14:12:40 +0000 (16:12 +0200)]
mxs: set vector base address to RAM to be able to use the memabort_handler

10 years agoarm: use _start instead of __image_copy_start
Lothar Waßmann [Thu, 22 Aug 2013 14:08:10 +0000 (16:08 +0200)]
arm: use _start instead of __image_copy_start

TX53 creates an FCB at the start of the ELF image. This offsets _start
from __image_copy_start leading to relocation errors.

Temporary fix this by using _start instead of __image_copy_start.
A better fix would be to implement a 'romupdate' command, that takes
care of creating the FCB at runtime.

10 years agoTimer: omap-common: support 64bit timer value in get_ticks()
Lothar Waßmann [Thu, 22 Aug 2013 13:56:40 +0000 (15:56 +0200)]
Timer: omap-common: support 64bit timer value in get_ticks()

10 years agoARM: mx5: customize PLL setup for TX53
Lothar Waßmann [Thu, 22 Aug 2013 13:54:37 +0000 (15:54 +0200)]
ARM: mx5: customize PLL setup for TX53

10 years agoARM: mx5: use 'bic' instead of 'and' and mask with shift
Lothar Waßmann [Thu, 22 Aug 2013 13:54:04 +0000 (15:54 +0200)]
ARM: mx5: use 'bic' instead of 'and' and mask with shift

10 years agoARM: mx5: cleanup comments
Lothar Waßmann [Thu, 22 Aug 2013 13:53:10 +0000 (15:53 +0200)]
ARM: mx5: cleanup comments

10 years agoARM: mx5: don't clobber r0 in setup_pll
Lothar Waßmann [Thu, 22 Aug 2013 13:48:13 +0000 (15:48 +0200)]
ARM: mx5: don't clobber r0 in setup_pll

10 years agokaro: u-boot.lds: whitespace cleanup
Lothar Waßmann [Thu, 22 Aug 2013 13:45:01 +0000 (15:45 +0200)]
karo: u-boot.lds: whitespace cleanup

10 years agomerged tx6dl-devel into denx master branch
Lothar Waßmann [Wed, 21 Aug 2013 14:14:19 +0000 (16:14 +0200)]
merged tx6dl-devel into denx master branch

10 years agotx53: lowlevel_init: update memory initialization to fit NT5CB128M16 'F' revision KARO-TX53-2013-08-19
Lothar Waßmann [Mon, 19 Aug 2013 15:20:30 +0000 (17:20 +0200)]
tx53: lowlevel_init: update memory initialization to fit NT5CB128M16 'F' revision

10 years agotx53: lowlevel_init: remove bogus register defines
Lothar Waßmann [Mon, 19 Aug 2013 15:19:24 +0000 (17:19 +0200)]
tx53: lowlevel_init: remove bogus register defines

10 years agotx53: lowlevel_init: use .error pseudo op where appropriate
Lothar Waßmann [Mon, 19 Aug 2013 15:19:03 +0000 (17:19 +0200)]
tx53: lowlevel_init: use .error pseudo op where appropriate

10 years agoi.MX video: use already defined CONFIG_IPUV3_CLK instead of CONFIG_IPU_CLKRATE
Lothar Waßmann [Fri, 9 Aug 2013 09:20:17 +0000 (11:20 +0200)]
i.MX video: use already defined CONFIG_IPUV3_CLK instead of CONFIG_IPU_CLKRATE

10 years agoi.MX video: remove dead code
Lothar Waßmann [Fri, 9 Aug 2013 09:18:46 +0000 (11:18 +0200)]
i.MX video: remove dead code

10 years agonds32: fix the missing COBJS-y change
ken kuo [Mon, 5 Aug 2013 17:00:54 +0000 (01:00 +0800)]
nds32: fix the missing COBJS-y change

There is a missing in previous
commit 951344b778d6ac67b94011d942a5a55da7202027
(nds32: Convert Makefiles to use COBJS-y style)
will cause compile error.

Signed-off-by: Kuan-Yu Kuo <ken.kuoky@gmail.com>
Cc: Macpaul Lin <macpaul@gmail.com>
Cc: Andes <uboot@andestech.com>
Signed-off-by: Andes <uboot@andestech.com>
10 years agonds32: introduce DMA allocation API
ken kuo [Mon, 5 Aug 2013 17:00:53 +0000 (01:00 +0800)]
nds32: introduce DMA allocation API

U-Boot does not compile for the adp-ag101 boards since
commit a8f9cd1893bef05b92f63242228607b45821c4a7
(net: update FTGMAC100 for MMU/D-cache support)

The driver assumes that the DMA allocation API are provided by all
architectures. This is not the case for nds32 and it causes a
build error. This patch adds DMA allocation API to avoid the errors.

Signed-off-by: Kuan-Yu Kuo <ken.kuoky@gmail.com>
Cc: Macpaul Lin <macpaul@gmail.com>
Cc: Andes <uboot@andestech.com>
Signed-off-by: Andes <uboot@andestech.com>
10 years agonds32: Change of NDS32 Custodian
Andes [Sat, 3 Aug 2013 13:59:22 +0000 (21:59 +0800)]
nds32: Change of NDS32 Custodian

Signed-off-by: Andes <uboot@andestech.com>
Cc: Macpaul Lin <macpaul@gmail.com>
Cc: Kuan-Yu Kuo <ken.kuoky@gmail.com>
10 years agoMerge branch 'master' of git://git.denx.de/u-boot-i2c
Tom Rini [Tue, 6 Aug 2013 13:49:06 +0000 (09:49 -0400)]
Merge branch 'master' of git://git.denx.de/u-boot-i2c

10 years agoMerge remote branch 'remotes/kc/karo-tx28' into tx6q-rel
Lothar Waßmann [Mon, 5 Aug 2013 11:56:14 +0000 (13:56 +0200)]
Merge remote branch 'remotes/kc/karo-tx28' into tx6q-rel

10 years agoi2c: soft: Fix typo in CONFIG_SYS_I2C_SOFT_SPEED
Marek Vasut [Thu, 1 Aug 2013 10:32:20 +0000 (12:32 +0200)]
i2c: soft: Fix typo in CONFIG_SYS_I2C_SOFT_SPEED

In case only the CONFIG_SYS_I2C_SPEED is set in configuration file,
the CONFIG_SYS_I2C_SOFT_SPEED is defined as CONFIG_SYS_I2C_SPEED.
The CONFIG_SYS_I2C_SOFT_SPEED is then used throughout the driver.

Unfortunatelly, due to a typo in the driver, instead of defining
CONFIG_SYS_I2C_SOFT_SPEED, an CONFIG_SYS_SOFT_I2C_SPEED was defined
and therefore the driver failed to compile. The same applies for
CONFIG_SYS_I2C_SOFT_SLAVE , where the swap happens as well.

This patch fixes the issue.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
10 years agodts/Makefile: pass -undef -D__DTS__ to cpp
Stephen Warren [Wed, 24 Jul 2013 17:09:24 +0000 (10:09 -0700)]
dts/Makefile: pass -undef -D__DTS__ to cpp

This brings U-Boot's cpp invocation into line with the way the Linux
kernel invokes cpp on device trees. Consistency will be useful to ensure
*.dts is portable between the two.

-undef also has the added advantage of not defining "linux", so DT
property names such as "linux,keymap" don't get mangled.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
10 years agodts/Makefile: don't use cpp -P
Stephen Warren [Wed, 24 Jul 2013 17:09:23 +0000 (10:09 -0700)]
dts/Makefile: don't use cpp -P

Recent dtc supports #line directives in the input source code, and even
uses them to generate useful line numbers in any messages it emits. Stop
passing -P to cpp, since there's no need any more.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
10 years agoconfig: don't define CONFIG_ARCH_DEVICE_TREE
Stephen Warren [Wed, 24 Jul 2013 17:09:22 +0000 (10:09 -0700)]
config: don't define CONFIG_ARCH_DEVICE_TREE

Now that nothing uses CONFIG_ARCH_DEVICE_TREE, stop defining it.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
10 years agodts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTS
Stephen Warren [Wed, 24 Jul 2013 17:09:21 +0000 (10:09 -0700)]
dts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTS

Now that nothing uses the defines ARCH_CPU_DTS, BOARD_DTS, stop defining
them.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
10 years agodt: don't use ARCH_CPU_DTS
Stephen Warren [Wed, 24 Jul 2013 17:09:20 +0000 (10:09 -0700)]
dt: don't use ARCH_CPU_DTS

Now that we assume dtc supports the -i option, we don't need to use
ARCH_CPU_DTS in *.dts{,i}; we simply specify the include filename
directly, and dtc will find it.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
10 years agodts/Makefile: unify cpp/dtc include paths
Stephen Warren [Wed, 24 Jul 2013 17:09:19 +0000 (10:09 -0700)]
dts/Makefile: unify cpp/dtc include paths

*.dts may use #include (via cpp) or /include/ (via dtc; assuming a newer
dtc). The choice is up to the creator of the DT. Create a common variable
DTC_INCDIRS that lists the paths searched by include statements, and
update cpp and dtc invocation to use them.

For cpp, also specify -nostdinc to ensure the same set of paths is
available to both type of include statement.

For dtc, create a new DTC_FLAGS variable to hold all the flags passed to
dtc.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
10 years agodts/Makefile: simplify dtc invocation
Stephen Warren [Wed, 24 Jul 2013 17:09:18 +0000 (10:09 -0700)]
dts/Makefile: simplify dtc invocation

The invocation of dtc is significantly more complex that it could be,
in order to work around an issue on old versions of dtc, which print
a message to stdout every time they run.

Remove this workaround, on the assumption that people have or will
upgrade to a newer version of dtc. This simplifies the build rule
significantly.

Related, split the invocation of cpp and dtc into separate commands
rather than a pipeline, so that if either fail, it is detected. This has
the nice benefit of saving off the result of the pre-processing step,
allowing it to be easily inspected.

Assuming a new enough dtc (which an earlier patch enforces), dtc will
parse #line directives in its input file, and generate correct file and
line numbers in error messages, even though cpp is unconditionally
applied to its input file.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
10 years agoxilinx: move microblaze-generic .dts to standard location
Stephen Warren [Wed, 24 Jul 2013 17:09:17 +0000 (10:09 -0700)]
xilinx: move microblaze-generic .dts to standard location

Aside from microblaze, all other SoCs/boards/vendors store their DT files
in board/$vendor/dts/$soc-$board.dts. Move microblaze-generic.dts to this
location for consistency.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Michal Simek <monstr@monstr.eu>
10 years agoValidate dtc is new enough
Stephen Warren [Wed, 24 Jul 2013 17:09:16 +0000 (10:09 -0700)]
Validate dtc is new enough

Subsequent patches assume that dtc supports various recent features.
These are available in dtc 1.4.0. Validate that dtc is at least that
version.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
10 years agokaro: tx28: adapt fdt fixups for Linux 3.11 KARO_TX28-2013-08-02 karo-tx28
Lothar Waßmann [Fri, 2 Aug 2013 13:16:38 +0000 (15:16 +0200)]
karo: tx28: adapt fdt fixups for Linux 3.11

10 years agokaro: fdt: properly handle USB nodes for TX28 and TX6
Lothar Waßmann [Fri, 2 Aug 2013 13:15:34 +0000 (15:15 +0200)]
karo: fdt: properly handle USB nodes for TX28 and TX6

10 years agoMerge branch 'master' of git://git.denx.de/u-boot-usb
Tom Rini [Thu, 1 Aug 2013 13:19:28 +0000 (09:19 -0400)]
Merge branch 'master' of git://git.denx.de/u-boot-usb

10 years agokaro: tx6: remove debug code KARO_TX6-2013-08-01
Lothar Waßmann [Thu, 1 Aug 2013 13:19:03 +0000 (15:19 +0200)]
karo: tx6: remove debug code

10 years agokaro: tx6: fix broken calculation of MTDPARTS parameters
Lothar Waßmann [Thu, 1 Aug 2013 13:11:26 +0000 (15:11 +0200)]
karo: tx6: fix broken calculation of MTDPARTS parameters

10 years agokaro: tx6: set PHYS_SDRAM_1_SIZE independent from processor type
Lothar Waßmann [Thu, 1 Aug 2013 13:10:54 +0000 (15:10 +0200)]
karo: tx6: set PHYS_SDRAM_1_SIZE independent from processor type

10 years agokaro: tx6: rename board variants
Lothar Waßmann [Thu, 1 Aug 2013 13:10:08 +0000 (15:10 +0200)]
karo: tx6: rename board variants

10 years agokaro: tx6: use standard config option CONFIG_SYS_NAND_BLOCK_SIZE instead of CONFIG_SY...
Lothar Waßmann [Thu, 1 Aug 2013 09:23:29 +0000 (11:23 +0200)]
karo: tx6: use standard config option CONFIG_SYS_NAND_BLOCK_SIZE instead of CONFIG_SYS_NAND_ERASE_SIZE

10 years agospi: bfin_spi: Use DIV_ROUND_UP instead of open-coded
Axel Lin [Fri, 12 Jul 2013 09:39:41 +0000 (17:39 +0800)]
spi: bfin_spi: Use DIV_ROUND_UP instead of open-coded

Use DIV_ROUND_UP to simplify the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>