Hi,I am using toradex carrier board with colibri t30 module.In that X13 and X14
are uart.first uart X13 is default serial console.In that i need to check the
second uart X14. How can i use second uart or how can i check second uart
X14.please help me.Regards,shobin.b
Hi Masahiro,
On 20 September 2014 00:56, Masahiro YAMADA wrote:
> Hi Simon,
>
>
>
> 2014-09-20 7:25 GMT+09:00 Simon Glass :
>
>> - the bind/unbind allows you to have devices which are known to the
>> system, but not yet probed. This is important in a boot loader (e.g.
>> we don't want to probe de
Hi, Albert,
> > On Thu, 18 Sep 2014 13:47:18 +0800, Alison Wang
> > wrote:
> >
> > > +
> > > + . = ALIGN(4);
> > > + .u_boot_list : {
> > > + KEEP(*(SORT(.u_boot_list*_i2c_*)));
> > > + }
> >
> > IS this required? And if it is, could it not be added to the
> > arch/arm/cpu
Hi Marek, Eric
> On Saturday, September 20, 2014 at 02:06:46 AM, Eric Nelson wrote:
> > Without this flag, tools like Alex Page's USB Image Tool
> > won't see drives exposed over USB Gadget as removable,
> > and won't allow access to them.
> > http://www.alexpage.de/usb-image-tool/
> >
> > Th
Hi Masahiro,
On 19 September 2014 23:34, Masahiro YAMADA wrote:
> Hi.
>
> I vote for comments near the implementation.
>
> I have been digging into the driver model code recently,
> but I have to admit it is unreadable because most of comments
> are placed in its header files.
> (and I am plannin
Hi Masahiro,
On 20 September 2014 01:18, Masahiro YAMADA wrote:
> Hi Simon,
>
>
> 2014-09-20 1:30 GMT+09:00 Simon Glass :
>>>
>>> It looks like CONFIG_DM_SERIAL depends on CONFIG_OF_CONTROL.
>>>
>>>
>>> UniPhier SoCs do not support device tree control.
>>> Is the driver model serial still availab
Hi, Albert,
> On Thu, 18 Sep 2014 13:47:14 +0800, Alison Wang
> wrote:
>
> > @@ -111,6 +115,14 @@ static void pbl_parser(char *name)
> > size_t len = 0;
> >
> > fname = name;
> > +
> > + if (strstr(fname, "ls102xa")) {
> > + next_pbl_cmd = 0x8101a000;
> > + pbl_cmd_
Hi, Albert,
> > > On Thu, 18 Sep 2014 13:47:13 +0800, Alison Wang
> > >
> > > wrote:
> > >
> > > > For the pblimage tool, the SPL image is splitted into 64 byte
> > > > chunks, and PBL needs a command for each piece. In current
> > > > pblimage structure, the size of the SPL image should be a fix
Hi
Il 08/set/2014 15:36 "Chen-Yu Tsai" ha scritto:
>
> From: Maxime Ripard
>
> Signed-off-by: Maxime Ripard
> Signed-off-by: Hans de Goede
> [w...@csie.org: commit message was "ARM: sunxi: Setup the A31 UART0
muxing"]
> Signed-off-by: Chen-Yu Tsai
> ---
> arch/arm/cpu/armv7/sunxi/board.c | 4
This tools is unnecessary since commit f6c8f38ec601
(tools/genboardscfg.py: improve performance more with Kconfiglib).
Signed-off-by: Masahiro Yamada
---
tools/reformat.py | 132 --
1 file changed, 132 deletions(-)
delete mode 100755 tools/re
When booted with upstream code, it shows error in u-boot that board is not
compliant. This patch will make board compliant with upstream code changes
in u-boot.
Signed-off-by: Vijay Rai
---
include/configs/T1040QDS.h |2 ++
include/configs/T104xRDB.h |2 ++
2 files changed, 4 insertions(
Ping :)
Thanks,
BRs
Xiubo
> -Original Message-
> From: Xiubo Li [mailto:li.xi...@freescale.com]
> Sent: Tuesday, September 16, 2014 10:48 AM
> To: albert.u.b...@aribaud.net; Wang Huan-B18965; i...@hellion.org.uk;
> hdego...@redhat.com; Kushwaha Prabhakar-B32579; Wang Huan-B18965;
> andr
OK, if you say so.
Thanks,
Yuantian
> -Original Message-
> From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net]
> Sent: Friday, September 19, 2014 11:59 PM
> To: Tang Yuantian-B29983
> Cc: Wang Huan-B18965; Lu Jingchang-B35083; Jin Zhengxiong-R64188;
> Kushwaha Prabhakar-B32579; u-boot
On Mon, Sep 22, 2014 at 2:44 AM, Ian Campbell wrote:
> On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
>> From: Hans de Goede
>>
>> Signed-off-by: Hans de Goede
>> [w...@csie.org: use setbits_le32 for reset control, drop obsolete changes,
>> squash "sunxi-mmc: sun6i has its
Hi,
On Mon, Sep 22, 2014 at 1:05 AM, Ian Campbell wrote:
> On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
>> From: Oliver Schinagl
>>
>> To setup clocks and control voltages.
>
> perhaps add "... For P2WI and PIO", since that is apparently what it is
> doing?
Sounds good. I'll expand th
On Sun, 21 Sep 2014 23:33:47 +0200
Georges Savoundararadj wrote:
> Hi folks,
>
> I wanted to use interrupt on U-Boot on my Raspberry Pi but I have
> found that it did not work properly.
>
> My patches intend to make interrupt work.
I am not sure if interrupt feature is necessary for a boot
This commit sets the stack pointers for IRQ and FIQ modes.
Signed-off-by: Georges Savoundararadj
---
arch/arm/lib/interrupts.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/lib/interrupts.c b/arch/arm/lib/interrupts.c
index f6b7c03..49c1bf3 100644
--- a/arch/a
ARM1176 has security extensions which includes the Vector Base Address
Register (VBAR) useful to move the exception vector after relocation.
This fix is similar to what is done for the ARMv7 (f8b9d1d3).
Signed-off-by: Georges Savoundararadj
---
arch/arm/cpu/arm1176/start.S | 6 ++
1 file cha
Hi folks,
I wanted to use interrupt on U-Boot on my Raspberry Pi but I have
found that it did not work properly.
My patches intend to make interrupt work.
Regards,
Georges
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/list
Before the commit 41623c91, the exception vector was in a .text
section which is allocatable. After this, the .vectors section was
introduced to contain the exception vector without specifying it as a
.text section but only as a executable section ("x").
This fix marks the section .vectors as alloc
On Sunday, September 21, 2014 at 10:00:24 PM, Michael Trimarchi wrote:
> Hi Marek
>
> On Sun, Sep 21, 2014 at 9:36 PM, Marek Vasut wrote:
> > On Sunday, September 21, 2014 at 07:53:35 PM, Hans de Goede wrote:
> >> Hi,
> >
> > [...]
> >
> >> >> - if (length > usb_maxpacket(dev, pipe)) {
>
Hi Marek
On Sun, Sep 21, 2014 at 9:36 PM, Marek Vasut wrote:
> On Sunday, September 21, 2014 at 07:53:35 PM, Hans de Goede wrote:
>> Hi,
> [...]
>> >> - if (length > usb_maxpacket(dev, pipe)) {
>> >> - printf("%s: Interrupt transfers requiring several "
>> >> -
On Sunday, September 21, 2014 at 07:53:35 PM, Hans de Goede wrote:
> Hi,
[...]
> >> - if (length > usb_maxpacket(dev, pipe)) {
> >> - printf("%s: Interrupt transfers requiring several "
> >> - "transactions are not supported.\n", __func__);
> >> -
Hi Ian,
On Sun, Sep 21, 2014 at 07:51:17PM +0100, Ian Campbell wrote:
> On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
> > From: Maxime Ripard
> >
> > Add a new sun6i machine that doesn't do much for now.
>
> Can you briefly outline here what it _does_ do, please.
When I contributed th
On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
> From: Maxime Ripard
>
> Add a new sun6i machine that doesn't do much for now.
Can you briefly outline here what it _does_ do, please.
The actual code looks ok to me. There is some possibility we might
consolidate some of these Kconfig opt
On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
> From: Maxime Ripard
>
> Signed-off-by: Maxime Ripard
> Signed-off-by: Hans de Goede
> [w...@csie.org: commit message was "ARM: sunxi: Setup the A31 UART0 muxing"]
> Signed-off-by: Chen-Yu Tsai
Acked-by: Ian Campbell
_
On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
> From: Hans de Goede
>
> Signed-off-by: Hans de Goede
> [w...@csie.org: use setbits_le32 for reset control, drop obsolete changes,
> squash "sunxi-mmc: sun6i has its fifo at a different address"]
> Signed-off-by: Chen-Yu Tsai
On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
> +#ifdef CONFIG_SPL_BUILD
Since there is no SPL support this is dead code right now, correct?
I'm wondering whether we should leave it out of mainline until the SPL
stuff is done, so SPL will be upstreamed all at once. What do others
think?
Hi,
On 09/20/2014 07:53 PM, Michael Trimarchi wrote:
> Hi
>
> On Sat, Sep 20, 2014 at 5:01 PM, Hans de Goede wrote:
>> Instead of looking them up every time we need them.
>>
>
> split subject and patch description
>
>> Signed-off-by: Hans de Goede
>> ---
>> common/usb_kbd.c | 34
Hi,
On 09/20/2014 07:42 PM, Michael Trimarchi wrote:
> Hi
>
> On Sat, Sep 20, 2014 at 5:01 PM, Hans de Goede wrote:
>> Preperation patch to use create_int_queue outside of ehci-hcd.c .
>>
>> Signed-off-by: Hans de Goede
>> ---
>> drivers/usb/host/ehci-hcd.c | 36 +++
Hi Tom,
The following changes since commit
9170818a4e004af7893fa0113f6e5b4afafded55:
kconfiglib: change SPDX-License-Identifier to ISC (2014-09-17
21:03:18 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-arm master
for you to fetch changes up to 2a8c9c86b92a9ccee3
On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
> From: Oliver Schinagl
>
> To setup clocks and control voltages.
perhaps add "... For P2WI and PIO", since that is apparently what it is
doing?
> HdG: Rename the files from the somewhat generic pmu name to prcm.{c,h}
> HdG: Make the prcm c
Hi Tom,
On Thu, 18 Sep 2014 08:34:22 -0400, Tom Rini wrote:
> Hello,
>
> The following changes since commit c292adae170fa8c27dca75963bdb0a9afc640e57:
>
> Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2014-09-17
> 23:35:34 +0200)
>
> are available in the git repository at:
>
>
On 4 September 2014 16:27, Simon Glass wrote:
> Use driver model for serial ports.
>
> Since Tegra now uses driver model for serial, adjust the definition of
> V_NS16550_CLK so that it is clear that this is only used for SPL.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/master and now in
On 4 September 2014 16:27, Simon Glass wrote:
> Some Tegra device tree files do not include information about the serial
> ports. Add this and also add information about the input clock speed.
>
> The console alias needs to be set up to indicate which port is used for
> the console.
>
> Also add a
On 4 September 2014 16:27, Simon Glass wrote:
> Add driver model support so that ns16550 can support operation both with
> and without driver model.
>
> The driver needs a clock frequency so cannot stand alone unfortunately. The
> clock frequency must be provided by a separate driver.
>
> Signed-o
On 4 September 2014 16:27, Simon Glass wrote:
> The same sequence is used in several places, so move it into a function.
> Note that UART_LCR_BKSE is an alias for UART_LCR_DLAB.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/master and now in mainline.
__
On 4 September 2014 16:27, Simon Glass wrote:
> Move the function that calculates the baud rate divisor into ns16550.c so
> it can be used by that file.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/master and now in mainline.
___
U-Boot mailing
On 4 September 2014 16:27, Simon Glass wrote:
> If the sandbox device tree is provided to U-Boot (with the -d flag) then it
> will use the device tree version in preference to the built-in device. The
> only difference is the colour.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/master and
On 4 September 2014 16:27, Simon Glass wrote:
> The current sandbox serial driver is a pretty trivial example and does not
> have the featues that might be needed for other board serial drivers. To
> help provide a better example, add a text colour property to the device
> tree for sandbox. This u
On 4 September 2014 16:27, Simon Glass wrote:
> Adjust the sandbox serial driver to use the new driver model uclass. The
> driver works much as before, but within the new framework.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/master and now in mainline.
__
On 4 September 2014 16:27, Simon Glass wrote:
> Serial devices support simple byte input/output and a few operations to find
> out whether data is available. Add a basic uclass for serial devices to be
> used by drivers that are converted to driver model.
>
> Signed-off-by: Simon Glass
Applied t
On 4 September 2014 16:27, Simon Glass wrote:
> Allow the caller to find out the device that was bound in response to this
> call.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/master and now in mainline.
___
U-Boot mailing list
U-Boot@lists.denx
On 4 September 2014 16:27, Simon Glass wrote:
> Within /chosen we may have a node which points to another node, similar
> to how /aliases works. Add a helper function to do this lookup.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/master and now in mainline.
__
On 4 September 2014 16:27, Simon Glass wrote:
> The stdio_dev structure has a private pointer for its creator, but it is
> not set up by the serial system. Set it to point to the serial device so
> that it can be found by code called by stdio.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/
On 3 September 2014 17:37, Simon Glass wrote:
> This is an implementation of GPIOs for Tegra that uses driver model. It has
> been tested on trimslice and also using the new iotrace feature.
>
> The implementation uses a top-level GPIO device (which has no actual GPIOS).
> Under this all the banks
On 3 September 2014 17:37, Simon Glass wrote:
> Allocate 1KB so that driver model can operate before relocation.
>
> Signed-off-by: Simon Glass
Applied to u-boot-dm/master and now in mainline.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.d
On 3 September 2014 17:37, Simon Glass wrote:
> For some boards board_init() will change GPIOs, so we need to have driver
> model available before then. Adjust the board init to arrange this, but
> enable it for driver model only, just to be safe.
>
> This does create additional #ifdef logic, but
On 3 September 2014 17:37, Simon Glass wrote:
> Since driver model registers itself with the stdio subsystem, and we
> want to avoid delayed registration and other complexity associated with
> the current serial console, move the stdio subsystem init earlier when
> driver model is used for serial.
On 3 September 2014 17:36, Simon Glass wrote:
>
> In order to support GPIO access in board_early_init_f() we must set up
> driver model before this function is called. In any case, earlier is
> better since driver model is (or will become) a key function for most
> init.
>
> Signed-off-by: Simon G
Hi Robert,
On 17 September 2014 02:03, Robert Baldyga wrote:
> Define CONFIG_SYS_GENERIC_BOARD to make board generic.
>
> Signed-off-by: Robert Baldyga
>
Please see this patch too:
http://patchwork.ozlabs.org/patch/389163/
Regards,
Simon
___
U-Boot
Hi Andreas,
On Fri, 19 Sep 2014 08:32:28 +0200, Andreas Bießmann
wrote:
> Dear Albert Aribaud,
>
> please pull the following changes into u-boot-arm/master.
>
> The following changes since commit 9170818a4e004af7893fa0113f6e5b4afafded55:
>
> kconfiglib: change SPDX-License-Identifier to ISC
On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
> From: Oliver Schinagl
>
> A31 has several new and changed memory address. This patch adds them.
>
> Signed-off-by: Oliver Schinagl
> Signed-off-by: Hans de Goede
> Signed-off-by: Chen-Yu Tsai
Acked-by: Ian Campbell
_
On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote:
> BOOT_TARGET_DEVICES includes USB unconditionally. This breaks when
> CONFIG_CMD_USB is not defined. Use a secondary macro to conditionally
> include it when CONFIG_EHCI is enabled, as we do for CONFIG_AHCI.
>
> Signed-off-by: Chen-Yu Tsai
Hi Fabio,
On 21/09/14 02:05, Fabio Estevam wrote:
From: Fabio Estevam
We should not hardcode CONFIG_NETMASK in the config file.
Signed-off-by: Fabio Estevam
---
Acked-by: Nikita Kiryanov
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boo
On Tuesday, September 16, 2014 at 01:00:11 PM, Stefano Babic wrote:
> On 30/08/2014 16:20, Marek Vasut wrote:
> > On Saturday, August 30, 2014 at 03:55:48 PM, Fabio Estevam wrote:
> >> On Sat, Aug 30, 2014 at 9:40 AM, Marek Vasut wrote:
> >>> On Friday, August 29, 2014 at 07:08:54 PM, Fabio Esteva
Add support for the Kosagi Novena board. Currently supported are:
- I2C busses
- FEC Ethernet
- MMC0, MMC1, Booting from MMC
- SATA
- USB ports
- USB Ethernet
Signed-off-by: Marek Vasut
---
arch/arm/Kconfig | 4 +
board/kosagi/novena/Kconfig | 23 ++
board/kosagi/novena/M
Enable DWC2 USB, storage and ethernet support. Tested on RPi B+.
Signed-off-by: Marek Vasut
Cc: Stephen Warren
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
include/configs/rpi_b.h | 15 +--
1 file changed, 9 insertio
From: Oleksandr Tymoshenko
This is the USB host controller used on the Altera SoCFPGA and Raspbery Pi.
This code has three checkpatch warnings, but to make sure it stays at least
readable and clear, these are not fixed. These bugs are in the USB request
handling combinatorial logic, so any abstr
This series adds reworked DWC2 USB driver based on work from Oleksandr.
This series also enables that driver on Altera SoCFPGA Cyclone V SoC
and RPi B+ .
The patch 2/3 in this series depends on another series, but as this
series is targetting next, that would be no problem or it can be
skipped. Th
Enable support for the DWC2 USB controller.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
include/configs/socfpga_cyclone5_common.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/con
From: Pavel Machek
Split the SoCFPGA configuration into SoC-specific part which is
common for all boards (socfpga_cyclone5_common.h) and a board
specific part. There is currently only one board, which is the
generic SoCFPGA board (socfpga_cyclone5.h), but there are more
to come.
This is necessar
Enable and use the CONFIG_CMD_FS_GENERIC to avoid hard-coding the
filesystem type into the environment.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
include/configs/socfpga_cyclone5.h | 5 +++--
1 file
From: Pavel Machek
Reorganize and cleanup the configuration file for SoCFPGA. There
is no functional change after this cleanup. This was necessary,
since the file was a wild mess and it was impossible to make sense
of it's content, let alone change something without breaking some
other thing. Thi
Move icache_enable() and dcache_enable() function calls from
board code into the CPU code and into the enable_caches()
function. This is how the cache enabling code was designed
to work.
Signed-off-by: Marek Vasut
Cc: Dinh Nguyen
Cc: Pavel Machek
Cc: Marek Vasut
Cc: Tom Rini
Cc: Albert Aribau
From: Chin Liang See
Enable the SDMMC boot as default boot for SOCFPGA U-Boot dev kit.
Enable the bootz command as zImage is used instead uImage.
Signed-off-by: Chin Liang See
Cc: Dinh Nguyen
Cc: Pavel Machek
Cc: Marek Vasut
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Wolfgang Denk
---
include/c
From: Pavel Machek
Add command to enable and disable the bridges between HPS and FPGA.
This patch does have a checkpatch issue with the assembler portion,
checkpatch correctly complains that there should be no whitespace
before quoted newline. I do not agree that fixing this specific
checkpatch
Configure the PL310 address filter to make sure DRAM is mapped to 0x0.
This code also configures the "remap" register of NIC-301 and sets the
required 'mpuzero' bit.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Mach
From: Chin Liang See
Enable the DesignWare MMC controller driver support
for SOCFPGA Cyclone5 dev kit
Signed-off-by: Chin Liang See
Cc: Dinh Nguyen
Cc: Pavel Machek
Cc: Marek Vasut
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Wolfgang Denk
---
include/configs/socfpga_cyclone5.h | 16 +
Add register definition for the NIC-301 used on SoCFPGA.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek
---
arch/arm/include/asm/arch-socfpga/nic301.h | 195 +++
From: Pavel Machek
Add code which configures the AMBA NIC-301 and the SCU on the SoCFPGA .
The code sets the access permissions for the CPU to the AMBA slaves such
that the CPU can access them in both secure and non-secure mode.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc
Add the Snoop Control Unit register definition file.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek
---
arch/arm/include/asm/arch-socfpga/scu.h | 23 +++
1 file cha
Enable the PL310 L2 cache controller support for the SoCFPGA.
With the cache related issues resolved, this is safe to be done.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek
---
includ
The Cortex-A9 has 32-byte long L1 cachelines. Define this value.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek
---
include/configs/socfpga_cyclone5.h | 2 ++
1 file changed, 2 inserti
The code is now fixed to the point where we can safely enable
the L1 data cache. Enable the D-Cache and set it as write-alloc.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek
---
board/
Add a table of FPGA family with matching functions associated with
it and make all the code just look up the family in that table and
call the associated function instead of the horrible switch voodoo
which was duplicated all over the place.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh
Add missing system manager bits from Altera U-Boot to make the code
comparable. These are the bits which depend on the FPGA manager.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
arch/arm/cpu/armv7/socfp
Add configuration for the write-allocate mode of L1 D-Cache on ARM.
This is needed for D-Cache operation on Cortex-A9 on the SoCFPGA .
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek
---
From: Pavel Machek
Add code necessary to program the FPGA part of SoCFPGA from U-Boot
with an RBF blob. This patch also integrates the code into the
FPGA driver framework in U-Boot so it can be used via the 'fpga'
command.
Signed-off-by: Pavel Machek
Signed-off-by: Marek Vasut
Cc: Chin Liang S
Move the function to the top of the file to avoid forward declaration.
No functional change.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
drivers/fpga/altera.c | 58 +++--
Add function to enable and disable FPGA bridges. This code is used
by the FPGA manager to disable the bridges before programming the
FPGA and will later be also used by the initialization code for the
chip to put the chip into well defined state during startup.
Signed-off-by: Marek Vasut
Cc: Chin
Make the function return either 0 or -EINVAL, that is, normal
expected error codes and success codes instead of true/false
nonsense.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
drivers/fpga/altera.c |
Get rid of the line-over-80 problems and zap the typedef that
went alongside those enums.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
include/altera.h | 76 -
Further improve the indentation in the rest of the file, where
the indentation is initially a bit less brutal. There is no
functional change in this patch.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
d
Boldly go, where no programmer has gone before and just clean up
the indentation mayhem. No functional change.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
drivers/fpga/altera.c | 43 +++
Clean up the printf() statements and get rid of the PRINTF()
macro by replacing it with debug_cond().
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
drivers/fpga/altera.c | 117 +--
On Saturday, September 20, 2014 at 05:01:05 PM, Hans de Goede wrote:
> Hi Marek,
>
> This time a patch-set for next :)
>
> Currently one can choose between 2 poll methods for usb keyboards, both of
> which are suboptimal. One option is to use control messages to get reports,
> which some devices
On Saturday, September 20, 2014 at 04:51:22 PM, Hans de Goede wrote:
> For full / low speed devices we need to get the devnum and portnr of the
> tt, so of the first upstream usb-2 hub, not of the parent device (which
> may be a usb-1 hub).
>
> Signed-off-by: Hans de Goede
Applied all, thanks a
On Saturday, September 20, 2014 at 05:03:51 PM, Hans de Goede wrote:
> Hi Marek,
>
> And last 2 misc. fixes for USB for next. The first patch is self
> explanatory, the second patch is a result of me looking into why u-boot's
> usb scanning is so slww, not that it really helps there, but i
On Saturday, September 20, 2014 at 04:54:33 PM, Hans de Goede wrote:
> Hi Marek,
>
> Here is the second set of USB patches / fixes I've been working on,
> currently u-boot does "really bad things" (tm) when doing "usb reset"
> while using an usb keyboard. This set fixes this.
>
> Given that these
From: Pavel Machek
The bi_boot_params must point to offset 0x100 in DRAM. Make it so.
Signed-off-by: Pavel Machek
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
board/altera/socfpga/socfpga_cyclone5.c
Cosmetic change to the checkboard() function output. Align the
output with the rest of initial output produced by U-Boot.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek
---
board/alter
From: Pavel Machek
Cosmetic change to the print_cpuinfo() function output. Align the
output with the rest of initial output produced by U-Boot.
Signed-off-by: Pavel Machek
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: P
From: Pavel Machek
Add CPU function to register and initialize the dw_mmc SD controller.
This allows us to use the HPS SDMMC block.
Signed-off-by: Pavel Machek
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
From: Pavel Machek
Add function to initialize the EMAC blocks upon board startup.
The preprocessor guards against building on SoCFPGA-VT and against
SPL build are not needed as those are handled implicitly via both
SPL framework and the socfpga_cyclone5.h config file, which will
not define CONFIG
Add functions to reset the EMAC ethernet blocks. We cannot handle
two EMAC ethernet blocks yet, therefore the ifdefs. Once there is
hardware using both EMAC blocks, this ifdef will have to go.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wo
The timer reload value is a property of the timer hardware and there
is no reason for this to be configurable. Place this into the timer
driver just like on the other hardware.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc:
From: Pavel Machek
Make the SoCFPGA MMC stub pick clock via the clock manager
frequency accessors instead of hard-coding the frequency.
Also fix calloc() misuse.
Signed-off-by: Pavel Machek
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: W
Clean up the clock code definitions so they are aligned with mainline
standards. There are no functional changes in this patch.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
---
arch/arm/cpu/armv7/socfpga/cl
Add the missing pieces from the reference clock code from Altera. This
puts the code on par with the Altera U-Boot fork for all but the SDRAM
self-refresh bits, which are not part of this patch.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc:
1 - 100 of 119 matches
Mail list logo