Enable fuse supply before fuse programming and disable after.
Signed-off-by: Sergey Alyoshin
Tested-by: Sergey Alyoshin
Tested on i.MX53 custom board by writing MAC addresses in fuse bank 1.
---
arch/arm/cpu/armv7/mx5/clock.c | 12
arch/arm/include/asm/arch-mx5/clock.h
Hi Bo,
On 12/10/2013 09:14 AM, Bo Shen wrote:
> As the cs for spi is worked in gpio mode, so no need to configure
> it as peripheral and then configure to gpio.
That statement may be correct.
>
> Signed-off-by: Bo Shen
> ---
>
> arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 28
>
Hi Bo,
On 12/10/2013 09:13 AM, Bo Shen wrote:
> This patch series do a clean up for at91sam9x5ek board.
I think this series is to fixup broken things, therefore could be
applied for upcomming release. Can you please provide v1 for 1/3?
>
> Bo Shen (3):
> arm: atmel: at91sam9x5: cleanup cs con
Single-source clocking is new feature introduced in T1040.
In this mode, a single differential clock is supplied to the
DIFF_SYSCLK_P/N inputs to the processor, which in turn is
used to supply clocks to the sysclock, ddrclock and usbclock.
So, both ddrclock and syclock are driven by same different
As the cs for spi is worked in gpio mode, so no need to configure
it as peripheral and then configure to gpio. Configure it to gpio
directly.
Signed-off-by: Bo Shen
---
Change in v2:
- only move line to configure it to peripheral
---
board/atmel/at91sam9x5ek/at91sam9x5ek.c |1 -
1 file cha
Hi Andreas,
On 12/17/2013 05:07 PM, Andreas Bießmann wrote:
Hi Bo,
On 12/10/2013 09:13 AM, Bo Shen wrote:
This patch series do a clean up for at91sam9x5ek board.
I think this series is to fixup broken things, therefore could be
applied for upcomming release. Can you please provide v1 for 1/3
Hi Andreas,
On 12/17/2013 05:07 PM, Andreas Bießmann wrote:
Hi Bo,
On 12/10/2013 09:13 AM, Bo Shen wrote:
This patch series do a clean up for at91sam9x5ek board.
I think this series is to fixup broken things, therefore could be
applied for upcomming release. Can you please provide v1 for 1/3
Dear Sergey Alyoshin,
On Tuesday, December 17, 2013 9:17:58 AM, Sergey Alyoshin wrote:
> Enable fuse supply before fuse programming and disable after.
>
> Signed-off-by: Sergey Alyoshin
> Tested-by: Sergey Alyoshin
>
> Tested on i.MX53 custom board by writing MAC addresses in fuse bank 1.
Usu
Patch f33b9bd3
[arm: omap3: Enable clocks for peripherals only if they are used]
breaks SPL booting on Beagleboard. Since some gpio input's are
read to detect the board revision. But with this patch above, the
clocks to the GPIO subsystems are not enabled per default any more.
The GPIO banks need t
This has been missing from beagleboard for quite some time. Add this
now, as its very convenient for the user.
Additionally the "1" is removed after CONFIG_AUTO_COMPLETE. An empty
define is preferred for such compile options.
Signed-off-by: Stefan Roese
Cc: Tom Rini
---
include/configs/omap3_b
On 12/17/2013 01:03 AM, Scott Wood wrote:
On Mon, 2013-12-16 at 19:19 +0200, Nikita Kiryanov wrote:
If we change to software ecc and then back to hardware ecc, the nand ecc ops
pointers are populated with incorrect function pointers. This is related to the
way nand_scan_tail() handles assigning
If we change to software ecc and then back to hardware ecc, the nand ecc ops
pointers are populated with incorrect function pointers. This is related to the
way nand_scan_tail() handles assigning functions to ecc ops:
If we are switching to software ecc/no ecc, it assigns default functions to the
Hi Albert,
I modified the patch, but it didn't worked on the board. Than I
realized the cause of this problem is in interrupt_init() function. It
has IRQ_STACK_START_IN variable touched before relocation, which is in
flash.
Later I found other guys had same problem. So if it's going to be
fixed m
From: Sergey Kostanbaev
This patch returns back support for old ep93xx processors family
Signed-off-by: Sergey Kostanbaev
Cc: albert.u.b...@aribaud.net
---
Changes for v3:
- Update makefiles to the new style
Changes for v2:
- Replace constants in lowlevel_init.S to defines
- Add mo
Hi Otavio,
On Tue, Nov 26, 2013 at 1:59 PM, Otavio Salvador
wrote:
>> isn't the last change (enabling bypass) sufficient to fix the problem
>> or do you also need the 2 power_down before ?
>
> It does indeed. I did a full test cycle from cold boot and also from
> inside system reboot and it work
On Tue, Dec 17, 2013 at 12:18 PM, Fabio Estevam wrote:
> Hi Otavio,
>
> On Tue, Nov 26, 2013 at 1:59 PM, Otavio Salvador
> wrote:
>
>>> isn't the last change (enabling bypass) sufficient to fix the problem
>>> or do you also need the 2 power_down before ?
>>
>> It does indeed. I did a full test c
Enable fuse supply before fuse programming and disable after.
Signed-off-by: Sergey Alyoshin
---
arch/arm/cpu/armv7/mx5/clock.c | 12
arch/arm/include/asm/arch-mx5/clock.h|1 +
arch/arm/include/asm/arch-mx5/crm_regs.h |3 +++
drivers/misc/fsl_iim.c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/17/2013 10:24 AM, Andre Przywara wrote:
> Hi,
>
> the Arndale board does not work anymore with current master HEAD.
> If I turn on the board, I see exactly nothing.
>
> I bisected it down to:
> 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7 is the fi
Hi,
the Arndale board does not work anymore with current master HEAD.
If I turn on the board, I see exactly nothing.
I bisected it down to:
47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7 is the first bad commit
commit 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7
Author: Albert ARIBAUD
Date: Thu Nov 7 1
On Tue, Dec 17, 2013 at 02:14:18PM +0100, Stefan Roese wrote:
> This has been missing from beagleboard for quite some time. Add this
> now, as its very convenient for the user.
>
> Additionally the "1" is removed after CONFIG_AUTO_COMPLETE. An empty
> define is preferred for such compile options.
Dear Sergey Alyoshin,
On Tuesday, December 17, 2013 3:51:00 PM, Sergey Alyoshin wrote:
[...]
> +#if !defined(CONFIG_MX51) && !defined(CONFIG_MX53)
> +#define enable_efuse_prog_supply(enable)
> +#endif
> +static void enable_fuse_prog(bool enable)
> +{
> + enable_efuse_prog_supply(enable);
> +}
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/17/2013 10:47 AM, Andre Przywara wrote:
> (CCing Inderpal, Chander and Minkyu)
>
> On 12/17/2013 04:30 PM, Tom Rini wrote:
> On 12/17/2013 10:24 AM, Andre Przywara wrote:
Hi,
the Arndale board does not work anymore with current ma
(CCing Inderpal, Chander and Minkyu)
On 12/17/2013 04:30 PM, Tom Rini wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/17/2013 10:24 AM, Andre Przywara wrote:
Hi,
the Arndale board does not work anymore with current master HEAD.
If I turn on the board, I see exactly nothing.
I bise
On 14/11/2013 00:36, Eric Nelson wrote:
> This allows the use of either or both declarations from
> the files mx6q_pins.h and mx6dl_pins.h.
>
> All board files should include
> with one of the following defined in boards.cfg
> MX6Q - for boards targeting i.MX6Q or i.MX6D
> MX6DL - for
Dear Bo Shen,
Bo Shen writes:
>As the cs for spi is worked in gpio mode, so no need to configure
>it as peripheral and then configure to gpio. Configure it to gpio
>directly.
>
>Signed-off-by: Bo Shen
>
>---
>Change in v2:
> - only move line to configure it to peripheral
>---
> board/atmel/at91
Dear Bo Shen,
Bo Shen writes:
>remove unneeded #undef for at91sam9x5ek board.
>
>Signed-off-by: Bo Shen
>
>---
>include/configs/at91sam9x5ek.h |5 -
> 1 file changed, 5 deletions(-)
applied to u-boot-atmel/master, thanks!
Best regards,
Andreas Bießmann
__
Dear Bo Shen,
Bo Shen writes:
>In config_cmd_default.h, it will use CONFIG_SYS_NO_FLASH to decide
>whether include CONFIG_CMD_FLASH and CONFIG_CMD_IMLS. So, move the
>CONFIG_SYS_NO_FLASH to proper position, then we don't need to undef
>these two commands.
>
>Signed-off-by: Bo Shen
>
>---
>includ
Dear Albert Aribaud,
please pull the following fix ups from u-boot-atmel/master into
u-boot-arm/master.
The following changes since commit d2c7074b9593d822e2359a09c21747248fdf5fac:
ARM: OMAP5: clocks: Update MPU settings for OPP_NOM (2013-12-12 17:43:39
-0500)
are available in the git reposi
On 28/11/2013 12:32, Giuseppe Pagano wrote:
> Move setup_sata function definition from platform file nitrogen6x.c
> to arch/arm/imx-common/sata.c to avoid code duplication.
>
> Signed-off-by: Giuseppe Pagano
> CC: Stefano Babic
> CC: Fabio Estevam
> CC: Eric Nelson
> ---
Applied to u-boot-imx
On 28/11/2013 12:32, Giuseppe Pagano wrote:
> Add SATA support on uDoo Board.
>
> Signed-off-by: Giuseppe Pagano
> CC: Stefano Babic
> CC: Fabio Estevam
> ---
>
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
On 20/11/2013 23:38, Fabio Estevam wrote:
> From: Fabio Estevam
>
> According to the README:
>
> "- CONFIG_SYS_SPD_BUS_NUM
> If SPD EEPROM is on an I2C bus other than the first
> one, specify here. Note that the value must resolve
> to something your dri
On 29/11/2013 15:38, Liu Ying wrote:
> Align with the context to use readl() to read the CCM_CCGR3
> register with memory barrier instead of __raw_readl().
>
> Signed-off-by: Liu Ying
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
===
On 02/12/2013 17:01, Marek Vasut wrote:
> This patch adds support for the AMPIRE 800x480 LCD panel that is available
> for M53EVK.
>
> Signed-off-by: Marek Vasut
> Cc: Stefano Babic
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
===
On 27/11/2013 01:40, Eric Nelson wrote:
> The CPU errata expressed in include/configs/mx6_common.h apply
> to all i.MX6DQ and i.MX6DLS parts.
>
> Signed-off-by: Eric Nelson
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
===
On 03/12/2013 21:26, Fabio Estevam wrote:
> From: Fabio Estevam
>
> According to the mx6 quad reference manual, the DIV_SELECT field of register
> CCM_ANALOG_PLL_ENETn has the following meaning:
>
> "Controls the frequency of the ethernet reference clock.
> - 00 - 25MHz
> - 01 - 50MHz
> - 10 - 1
On 04/12/2013 04:08, Fabio Estevam wrote:
> From: Fabio Estevam
>
> mx6sabresd boards have a 18-bit LVDS data width and the correct color format
> is RGB666.
>
> Suggested-by: Liu Ying
> Signed-off-by: Fabio Estevam
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
On 04/12/2013 04:08, Fabio Estevam wrote:
> From: Fabio Estevam
>
> HSYNC, VSYNC and DISP_CLK are very useful display signals for debugging.
>
> Configure them as active pins.
>
> Signed-off-by: Fabio Estevam
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
==
On 04/12/2013 14:27, Marek Vasut wrote:
> According to NOTE in strtoul(3), the errno must be zeroed before strtoul()
> is called. Zero the errno. The NOTE reads as such:
>
> Since strtoul() can legitimately return 0 or ULONG_MAX (ULLONG_MAX for
> strtoull()) on both success and failure, the ca
On 13/11/2013 17:58, Frank Li wrote:
> ROM did not invalidate L1 cache when download by usb
> Need invalidate L1 cache before enable cache
>
> Signed-off-by: Huang yongcai
> Signed-off-by: Frank Li
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
Dear Sergey Alyoshin,
On Tuesday, December 17, 2013 8:24:54 PM, Sergey Alyoshin wrote:
> Enable fuse supply before fuse programming and disable after.
>
> Signed-off-by: Sergey Alyoshin
> ---
> arch/arm/cpu/armv7/mx5/clock.c | 12
> arch/arm/include/asm/arch-mx5/clock.h
From: Fabio Estevam
Add CONFIG_CMD_FUSE option, so that the fuse API can be used.
Signed-off-by: Fabio Estevam
---
include/configs/mx6sabre_common.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/mx6sabre_common.h
b/include/configs/mx6sabre_common.h
index d52c9a8..63
Define CONFIG_SYS_NAND_MAX_ECCPOS and CONFIG_SYS_NAND_MAX_OOBFREE to
reduce the image size, by taking advantage of the new nand_ecclayout
structure.
Signed-off-by: York Sun
CC: Prabhakar Kushwaha
CC: Scott Wood
---
include/configs/P1022DS.h |2 ++
1 file changed, 2 insertions(+)
diff --gi
From: Fabio Estevam
When using the fuse API in U-boot user must calculate the 'bank' and 'word'
values.
Provide a real example on how to calculate such values for the mx6q.
Signed-off-by: Fabio Estevam
---
doc/README.fuse | 57 +
1 fil
Enable fuse supply before fuse programming and disable after.
Signed-off-by: Sergey Alyoshin
---
arch/arm/cpu/armv7/mx5/clock.c | 12
arch/arm/include/asm/arch-mx5/clock.h|1 +
arch/arm/include/asm/arch-mx5/crm_regs.h |3 +++
drivers/misc/fsl_iim.c
Define CONFIG_SYS_NAND_MAX_ECCPOS and CONFIG_SYS_NAND_MAX_OOBFREE to
reduce the image size, by taking advantage of the new nand_ecclayout
structure.
Signed-off-by: York Sun
CC: Prabhakar Kushwaha
CC: Scott Wood
---
include/configs/B4860QDS.h |2 ++
1 file changed, 2 insertions(+)
diff --g
Hi Fabio,
On Tuesday, December 17, 2013 9:03:40 PM, Fabio Estevam wrote:
> From: Fabio Estevam
>
> When using the fuse API in U-boot user must calculate the 'bank' and 'word'
> values.
>
> Provide a real example on how to calculate such values for the mx6q.
>
> Signed-off-by: Fabio Estevam
>
Hi Fabio,
On Tuesday, December 17, 2013 9:03:41 PM, Fabio Estevam wrote:
> From: Fabio Estevam
>
> Add CONFIG_CMD_FUSE option, so that the fuse API can be used.
>
> Signed-off-by: Fabio Estevam
> ---
> include/configs/mx6sabre_common.h | 5 +
> 1 file changed, 5 insertions(+)
>
> diff --
Hi,
On 16 December 2013 21:59, Abraham V. wrote:
> On Tue, Dec 17, 2013 at 2:00 AM, Simon Glass wrote:
>> Hi,
>>
>> On 13 December 2013 01:47, Abraham V. wrote:
>>> Hello,
>>>
>>> I just discovered that uboot has a "sandbox" build - output binary is
>>> a standard linux application. This prompt
Hi Masahiro,
On 16 December 2013 19:25, Masahiro Yamada wrote:
> Hello Guilherme, Simon
>
>
>> diff --git a/Makefile b/Makefile
>> index a2fb037..653d3b3 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -796,6 +796,7 @@ clean:
>> $(obj)tools/envcrc
On Thu, Dec 05, 2013 at 05:54:21PM +0530, pekon gupta wrote:
> As per OMAP3530 TRM referenced below [1]
>
> For large-page NAND, ROM code expects following ecc-layout for HAM1 ecc-scheme
> - OOB[1] (offset of 1 *byte* from start of OOB) for x8 NAND device
> - OOB[2] (offset of 1 *word* from star
On Thu, Dec 05, 2013 at 07:58:06AM +0100, Stefan Roese wrote:
> Signed-off-by: Stefan Roese
> Cc: Pekon Gupta
> Cc: Scott Wood
>
> ---
> drivers/mtd/nand/omap_gpmc.c | 86 ++--
> 1 file changed, 43 insertions(+), 43 deletions(-)
Applied to u-boot-nand-fl
On Thu, Dec 12, 2013 at 03:19:31PM +0200, Nikita Kiryanov wrote:
> Commit "mtd: nand: omap: enable BCH ECC scheme using ELM for generic
> platform" (d016dc42cedbf6102e100fa9ecb58462edfb14f8) changed the way
> software ECC is configured, both during boot, and during ecc switch, in a way
> that is no
On Mon, Dec 16, 2013 at 09:59:34AM -0500, Tom Rini wrote:
> length is size_t so needs to be '%zd' not '%d' to avoid warnings.
>
> Cc: Scott Wood
> Signed-off-by: Tom Rini
> Acked-by: Scott Wood
>
> ---
> Changes in v2:
> - Use %zd, the correct format, rather than %ld, a differntly incorrect
>
On Mon, Dec 16, 2013 at 07:19:01PM +0200, Nikita Kiryanov wrote:
> When switching ecc mode, omap_select_ecc_scheme() assigns the appropriate
> values
> into the current nand chip's ecc.layout struct. This is done under the
> assumption that the struct exists only to store values, so it is OK to
>
On Tue, Dec 17, 2013 at 03:18:01PM +0200, Nikita Kiryanov wrote:
> If we change to software ecc and then back to hardware ecc, the nand ecc ops
> pointers are populated with incorrect function pointers. This is related to
> the
> way nand_scan_tail() handles assigning functions to ecc ops:
>
> If
Send RPC commands to the VideoCore to turn on the SDHCI and USB modules.
For SDHCI this isn't needed in practice, since the firmware already
turned on the power in order to load U-Boot. However, it's best to be
explicit. For USB, this is necessary, since the module isn't powered
otherwise. This wil
Hello Simon.
> >> diff --git a/Makefile b/Makefile
> >> index a2fb037..653d3b3 100644
> >> --- a/Makefile
> >> +++ b/Makefile
> >> @@ -796,6 +796,7 @@ clean:
> >> $(obj)tools/envcrc \
> >> $(obj)tools/gdb/{astest,gdbcont,gdbsend}
CONFIG_SYS_FSL_NUM_USB_CTRLS is no longer used,
update it to new CONFIG_USB_MAX_CONTROLLER_COUNT.
Signed-off-by: Shengzhou Liu
---
arch/powerpc/include/asm/config_mpc85xx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/config_mpc85xx.h
b/arch/power
On Fri, 2013-12-13 at 21:11 -0800, Aaron Williams wrote:
> Hi all,
>
> I am working on trying to shrink down a bootloader for one of our chips
> where the bootloader must fit in around 448K of memory and things are
> fairly tight. I found that the oob data structures for 8, 16, 64 and 128
> byt
This fixes a build break due to excessively large NAND data structures.
Signed-off-by: Scott Wood
Cc: Matthias Fuchs
---
include/configs/CMS700.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/CMS700.h b/include/configs/CMS700.h
index 4a5fc86..0bb22be 100644
--- a/includ
Hi Minkyu,
Can we please, get these patches reviewed and merged.
Regards,
Rajeshwari.
On Mon, Dec 16, 2013 at 2:12 PM, Rajeshwari S Shinde
wrote:
> This patch adds basic board support for SMDK5420 board.
> These patches are tested for booting fine on EVT1 SMDK5420.
>
> Changes in V2:
>
Before this commit, {spl,tpl}-autoconf.mk was always generated
at the top Makefile even if SPL(TPL) build was not selected.
This commit moves the build rule of {spl,tpl}-autoconf.mk
from the top Makefile to spl/Makefile.
It prevents unnecessary {spl,tpl}-autoconf.mk from being
generated.
Signed-o
We had switched to Kbuild.
We do not need old build scripts any more.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
rules.mk | 47 -
scripts/Makefile.build.tmp | 127 -
scripts/Makefile.host.tmp | 61
This commit moves some variable definitions from config.mk
to the top Makefile:
- HOSTCC, HOSTCFLAGS, HOSTLDFLAGS
- AS, LD, CC, CPP, etc.
- SHELL (renamed to CONFIG_SHELL)
I'd like to slim down config.mk file
because it is included from all recursive make.
It is redundant to re-define the v
This commit adds scripts/Makefile.host.tmp which will
be used in the next commit to convert makefiles
under tools/ directory to Kbuild style.
Notice this script, scripts/Makefile.host.tmp
is temporary.
When switching over to real Kbuild,
it will be replaced with scripts/Makefile.host of Linux Ker
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 5 +
examples/api/Makefile| 21 +---
examples/standalone/Makefile | 46 ++--
scripts/Makefile.build | 7 ---
4 files changed, 24
Some Samsung boards have their own tools under board/samsung//tools/.
This commit refactor more makefiles with "hostprogs-y".
Signed-off-by: Masahiro Yamada
---
Note1:
Samsung boards have tools under board/samsung//tools/
and have tools/mkexynosspl.c too.
It is inconsistent, so we should choose
Some build scripts including scripts/Makefile.build
will be imported from Linux Kernel in the next commit.
We need to adjust them for U-Boot in the following commits.
To make it easier for reviewers to track the modification,
this commit renames scripts/Makefile.build to
scripts/Makefile.build.tmp
We are going to switch over to Kbuild in upcoming commits.
Each makefile must have non-empty obj- or obj-y
to generate built-in.o on Kbuild.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
arch/arm/cpu/armv7/tegra114/Makefile | 3 ++-
arch/arm/cpu/armv7/tegra30/Makefile | 3 ++-
arch/
This commit adjusts some files to use Kbuild.include.
- Use cc-option defined in Kbuild.include
(Delete cc-option in config.mk)
- Use cc-version defined in
(Delete cc-version in config.mk)
- Move binutils-version and dtc-version to Kbuild.include
by analogy to cc-version
This comm
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
scripts/Kbuild.include | 278 +
1 file changed, 278 insertions(+)
create mode 100644 scripts/Kbuild.include
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
new file mode 100644
Before this commit, "make tidy" did
"make clean" + delete "*.depend*" files.
But, we do not have "*.depend*" files any more,
which means "make tidy" is the same as "make clean".
This commit removes the redandant target "tidy".
Signed-off-by: Masahiro Yamada
---
Changes in v2:
- Rebase on v20
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 20 +---
config.mk | 19 +--
2 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/Makefile b/Makefile
index f29673a..99e0de5 100644
--- a/Makefile
+++ b/Makefile
@@ -281,13 +281,27 @@
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 2 +-
nand_spl/board/amcc/acadia/Makefile | 8
nand_spl/board/amcc/bamboo/Makefile | 8
nand_spl/board/amcc/canyonlands/Makefile | 8
na
Some flags are used for SPL (and TPL) build only.
This commit moves them from config.mk to spl/Makefile.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
config.mk| 19 ---
spl/Makefile | 14 ++
2 files changed, 14 insertions(+), 19 deletions(-)
diff --gi
Before this commit, makefiles under tools/ directory
were implemented with their own way.
This commit refactors them by using "hostprogs-y" variable.
Several C sources have been added to wrap other C sources
to simplify Makefile.
For example, tools/crc32.c includes lib/crc32.c
Signed-off-by: Mas
We switched to Kbuild style makefiles at v2014.01-rc1 release.
With that modification, we can write makefiles simpler.
But it is NOT real Kbuild.
As the next step, this series imports (+ adjusts) build scripts
from Linux Kernel under scripts/ directory.
By applying this series, we can get more ad
This commit moves suffix rules from config.mk
to scripts/Makefile.build, which will allow us
to switch smoothly to real Kbuild.
Note1:
post/lib_powerpc/fpu/Makefile has
its own rule to compile C sources.
We need to tweak it to keep the same behavior.
Note2:
There are two file2 with the same name:
For out-of-tree build
- Check if the source tree is clean
- Create a Makefile in the output directory
Signed-off-by: Masahiro Yamada
---
Changes in v2:
- Newly added
Makefile | 63 +--
1 file changed, 57 insertions(+), 6 deletio
This commit merges commonly-used header include paths
to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed
at the top Makefile.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 14 +-
config.mk | 11 ++-
tools/Makefile | 8
- Move "easylogo", "env", "gdb" tagets to tools/Makefile
- Delete "gdbtools" target (same as "gdb")
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 7 +--
tools/Makefile | 6 +-
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 5 +
examples/Makefile| 9 +
examples/api/Makefile| 4
examples/standalone/Makefile | 4
4 files changed, 10 insertions(+), 12 deletions(-)
create mode 100644 example
This commit imports build scripts from Linux Kernel v3.12
as they are.
I know they include some trailing spaces
but I keep intentionally them untouched.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
scripts/Makefile.build | 479 +++
scrip
This commit fixes two problems:
[1] We could not do board configuration and "make all"
in one command line.
For example, the following did not work as we expect:
$ make sandbox_config all
Configuring for sandbox board...
make: Nothing to be done for `all'.
[2] mixed-target build did no
Before this commit, most of compiler flags were defined in config.mk.
But it is redundant because config.mk is included from all recursive make.
This commit moves many complier flags to the top Makefile
and export them.
And we use new vaiarables to store them:
KBUILD_CPPFLAGS, KBUILD_CFLAGS, KBUIL
This commit refactors cleaning targets such as
clean, clobber, mrpropper, distclean
with scripts/Makefile.clean.
By using scripts/Makefile.clean, we can recursively descend
into subdirectories and delete generated files there.
We do not need add a big list of generated files
to the "clean" target
This commit refactors rules of directory descending
and defines u-boot-dirs and u-boot-all-dirs.
(We will need u-boot-all-dirs when using
scripts/Makefile.clean)
Additionally, rename LIBS-y to libs-y.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 163 ++
This commit changes the location of include directives
of board configuration files.
The purpose of this change is:
- Slim down $(TOPDIR)/config.mk
- Prevent $(TOPDIR)/Makefile from including the same
configuration file twice
- Do not include include/config.mk multiple times
because ARC
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 57 +
1 file changed, 29 insertions(+), 28 deletions(-)
diff --git a/Makefile b/Makefile
index 54fbe2a..56e0135 100644
--- a/Makefile
+++ b/Makefile
@@ -14,34 +14,6 @@ U_BO
We can get Kbuild-ish log style like this:
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
We do not need XECHO any more.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 70
1 file changed, 39 i
$(MTD_VERSION) is used in tools/env/Makefile
If you specify a variable at a command line like:
$ make MTD_VERSION=old env
or specify it thru an envrionment variable like:
$ export MTD_VERSION=old
$ make env
it is inherited to the sub-make too.
We do not need to pass it from the top Makefile
This commit changes the top Makefile to handle various targets
nicely.
Make targets are divided into four categories:
- mixed-targets
We can call a configuration target and build targets
at one command line like follows:
$ make _config u-boot
They are handled one by one.
-
This commit moves some flags which are used
under examples/ directory only.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
config.mk| 8
examples/api/Makefile| 4
examples/standalone/Makefile | 4
3 files changed, 8 insertions(+), 8 deleti
Ignore generated files by Kbuild such as .*.cmd, *.order, etc.
Besides above,
- Ignore *.s files
We do not need to ignore with file name, asm-offsets.s
- Do not ignore *.rej (for quilt)
- Ignore backup files, \#*#
Signed-off-by: Masahiro Yamada
---
Changes in v2:
- Do not double "*~"
-
BFD_ROOT_DIR is used only in tools/gdb/Makefile
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
config.mk | 23 ---
tools/gdb/Makefile | 21 +
2 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/config.mk b/config.mk
index 74
This patch adds a driver for Renesas SoC's Quad SPI bus.
This supports with 8 bits per transfer to use with SPI flash.
Signed-off-by: Kouei Abe
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Jagannadha Sutradharudu Teki
---
Changes for v7:
- Add comments on each initialization steps and oth
Hello Simon
> Prerequisite
>
>
> You need to apply some patches beforehand to use this series.
> This series uses the followings as prerequisites:
>
> [1] sandbox: Use system headers first for sandbox's os.c in a different way
> http://patchwork.ozlabs.org/patch/294233/
>
> [2]
The SH7753 EVB board has SH7753, 512MB DDR3-SDRAM, SPI ROM,
Gigabit Ethernet, and eMMC.
This patch support the following functions:
- 512MB DDR3-SDRAM, SCIF4, SPI ROM, Gigabit Ethernet, eMMC
Signed-off-by: Yoshihiro Shimoda
---
about v2:
- The patch doesn't remove the sh7752evb source codes.
Signed-off-by: Yoshihiro Shimoda
---
about v2:
- The patch doesn't remove the CONFIG_CPU_SH7752.
drivers/serial/serial_sh.h |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h
index 556b868..f5e9854 100644
--- a/d
SH7753 has two fast ethernet controllers and two gigabit ethernet
controllers. It is similar to SH7757.
Signed-off-by: Yoshihiro Shimoda
---
about v2:
- The patch doesn't remove the CONFIG_CPU_SH7752.
drivers/net/sh_eth.h |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
dif
1 - 100 of 108 matches
Mail list logo