Hi Fabio,
On 02/08/2015 17:48, Fabio Estevam wrote:
> Hi Stefano,
>
> On Sun, Aug 2, 2015 at 6:40 AM, Stefano Babic wrote:
>
>> I have a main question. For i.MX6, we could factorize (mainly thanks
>> Tim's work) the major SOC variants, getting some important goals, as
>> having a single u-boot
Hi Baruch,
On 02/08/2015 20:45, Baruch Siach wrote:
> Hi Stefano,
>
> On Wed, Jul 15, 2015 at 09:13:33AM +0200, Stefano Babic wrote:
>> On 14/07/2015 21:05, Baruch Siach wrote:
>>> On Thu, Jul 09, 2015 at 06:04:17PM +0200, Stefano Babic wrote:
On 09/07/2015 17:19, Baruch Siach wrote:
> W
At present we have a simple assignment to gd. With some archs this is
implemented as a register or through some other means; a simple assignment
does not suit in all cases.
Change this to a function and add documentation to describe how this all
works.
Signed-off-by: Simon Glass
---
common/boa
Much of the early-init assembler on x86 can be removed if we use the new
board_init_f_mem() function. At present only PowerPC uses it, but we should
try to move more archs over.
This has been contemplated for a while but it is time to take the plunge.
Simon Glass (5):
x86: Remove init_gd() fun
bd->bi_dram[] has both start address and size defined as 32-bit,
which is not the case on some platforms where >=4GiB memory bank
is used. Change them to support such memory banks.
Signed-off-by: Bin Meng
---
Changes in v2:
- Drop patches which are already applied
- Change start to phys_addr_t
Document the development flow on figuring out PIRQ information
during the U-Boot porting.
Signed-off-by: Bin Meng
---
Changes in v2:
- New patch to document how to write PIRQ information in the device tree
doc/README.x86 | 41 +
1 file changed, 41 inser
Remove DEBUG in drivers/pci/pci_compat.c.
Signed-off-by: Bin Meng
---
Changes in v2:
- New patch to remove DEBUG from pci_compat.c
drivers/pci/pci_compat.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pci/pci_compat.c b/drivers/pci/pci_compat.c
index 05c3510..712c48f 100644
---
This patch rewrites MMU translation table entries to achieve:
a) Start with all table entries as "invalid".
b) Rewrite the table entries as "device-ngnrne" for cache-inhibit
access.
c) Rewrite the table entries as "normal" for cache-enabled access.
Signed-off-by: Alison Wang
Signed-off-by: York S
Hi,
I am getting below error with gcc v4.9 building for powerpc target.
Looks like GCCv4.9 is doing more optimization than earlier version.
build 31-Jul-2015 02:49:45 powerpc: + TQM834x
build 31-Jul-2015 02:49:45 +(TQM834x) (((base + size - 1) >>
CSBNDS_EA_SHIFT) &
build 31-
Acked-by: Alison Wang
Tested-by: Alison Wang
Best Regards,
Alison Wang
> -Original Message-
> From: Zhang Zhuoyu-B46552
> Sent: Friday, July 31, 2015 2:02 PM
> To: Sun York-R58495
> Cc: u-boot@lists.denx.de; Jin Zhengxiong-R64188; Wang Huan-B18965; Wang
> Dongsheng-B40534
> Subject: R
York,
Ok, I will rebase.
Best Regards,
Alison Wang
> -Original Message-
> From: Sun York-R58495
> Sent: Saturday, August 01, 2015 1:16 AM
> To: Wang Huan-B18965; u-boot@lists.denx.de
> Cc: Wang Huan-B18965
> Subject: Re: [PATCH] armv8: fsl-lsch3: Rewrite MMU translation table
> e
Hi Simon,
On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote:
> Hi Bin,
>
> On 27 July 2015 at 01:45, Bin Meng wrote:
>> Hi Simon,
>>
>> With driver model pci conversion on x86 boards, we now missed the call
>> to board_pci_pre_scan() and board_pci_post_scan() which are called in
>> the non-dm pa
Hi Simon,
On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote:
> Hi Bin,
>
> On 27 July 2015 at 01:33, Bin Meng wrote:
>> With driver model, probing pci bus is all done on a lazy basis,
>> as needed. On x86, pci bus is the fundamental device that needs
>> to work before any other peripherals. In o
Hi Simon,
On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote:
> Hi Bin,
>
> On 27 July 2015 at 01:33, Bin Meng wrote:
>> Increase CONFIG_MALLOC_F_LEN so that dm pci does not fail with -ENOMEM
>> before relocation. This makes pci uart work again on Intel Crown Bay.
>>
>> Signed-off-by: Bin Meng
>
Hi Simon,
On Mon, Aug 3, 2015 at 6:31 AM, Simon Glass wrote:
> Hi Bin,
>
> On 27 July 2015 at 01:33, Bin Meng wrote:
>> Currently Intel queensbay fsp initializes a CAR size with only 4KiB,
>> which is not enough when dm pci is enabled before relocation. Change
>> arch/x86/start.s to reserve a sm
Hi Simon,
On Sun, Aug 02, 2015 at 04:30:52PM -0600, Simon Glass wrote:
>Hi Peng,
>
>On 28 July 2015 at 08:48, Peng Fan wrote:
>> 1. Add new regulator driver pfuze100.
>>* Introduce struct pfuze100_regulator_desc for mataining info for
>> regulator.
>> 2. Add new Kconfig entry DM_REGULATOR_PFU
Hi Simon,
On Sun, Aug 02, 2015 at 04:31:06PM -0600, Simon Glass wrote:
>Hi Peng,
>
>On 28 July 2015 at 08:48, Peng Fan wrote:
>> If there is no property named 'regulator-name' for regulators,
>> choose node name instead, but not directly return failure value.
>>
>> Signed-off-by: Peng Fan
>> Cc:
Move to driver model for USB on minnowmax.
Signed-off-by: Simon Glass
---
Changes in v2: None
configs/minnowmax_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig
index 6ba22d6..4c13968 100644
--- a/configs/minnowmax_defcon
Move to driver model for networking on minnowmax.
Signed-off-by: Simon Glass
---
Changes in v2: None
board/intel/minnowmax/minnowmax.c | 6 --
configs/minnowmax_defconfig | 1 +
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/board/intel/minnowmax/minnowmax.c
b/board/i
On Monday, August 03, 2015 at 01:38:28 AM, Simon Glass wrote:
> Hi Marek,
Hi Simon,
[...]
> >> > + if (!fdtdec_get_bool(blob, node, "gpio-controller"))
> >> > + continue;
> >> > +
> >> > + plat = NULL;
> >> > + plat = calloc(1, size
When trying to figure out where an exception has occured, the relocated
address is not a lot of help. Its value depends on various factors. Show
the un-relocated IP as well. This can be looked up in System.map directly.
Signed-off-by: Simon Glass
---
Changes in v2:
- Tweak the dump_regs() output
This reverts commit 5b34436035fc862b5e8d0d2c3eab74ba36f1a7f4.
This function has a few problems. It calls fdt_parent_offset() which as
mentioned in code review is very slow.
https://patchwork.ozlabs.org/patch/499482/
https://patchwork.ozlabs.org/patch/452604/
It also happens to break SPI flash on
Rather than keeping track of the Global Descriptor Table in its own memory
we may as well put it in global_data with everything else. As a first step,
stop using the separately allocated GDT.
Signed-off-by: Simon Glass
---
arch/x86/cpu/cpu.c | 9 +
arch/x86/include/asm/g
Some archs like to have larger alignment for their global data. Use 16 bytes
which suits all current archs.
Signed-off-by: Simon Glass
---
common/board_f.c | 2 +-
include/asm-generic/global_data.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/bo
This is declared but no-longer exists. Drop it.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/u-boot-x86.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/include/asm/u-boot-x86.h
b/arch/x86/include/asm/u-boot-x86.h
index 4dae365..1c459d5 100644
--- a/arch/x86/include/asm/u-b
There is quite a bit of assembler code that can be removed if we use the
generic global_data setup. Less arch-specific code makes it easier to add
new features and maintain the start-up code.
Drop the unneeded code and adjust the hooks in board_f.c to cope.
Signed-off-by: Simon Glass
---
arch/
Enable the debug UART and emit a single 'a' early in the init sequence to
show that it is working.
Unfortunately the debug UART implementation needs a stack to work. I cannot
seem to remove this limitation as the absolute 'jmp %eax' instruction goes
off into the weeds.
So this means that the char
Hi Marek,
On 2 August 2015 at 17:55, Marek Vasut wrote:
> On Monday, August 03, 2015 at 01:52:03 AM, Simon Glass wrote:
>> On 2 August 2015 at 17:15, Marek Vasut wrote:
>> > Add Kconfig entries for the simple-bus driver, both for U-Boot
>> > and for SPL. The simple-bus is enabled by default in U
On Monday, August 03, 2015 at 01:52:03 AM, Simon Glass wrote:
> On 2 August 2015 at 17:15, Marek Vasut wrote:
> > Add Kconfig entries for the simple-bus driver, both for U-Boot
> > and for SPL. The simple-bus is enabled by default in U-Boot and
> > disabled by default in SPL to preserve the origin
On 2 August 2015 at 17:15, Marek Vasut wrote:
> Add Kconfig entries for the simple-bus driver, both for U-Boot
> and for SPL. The simple-bus is enabled by default in U-Boot and
> disabled by default in SPL to preserve the original behavior.
>
> Signed-off-by: Marek Vasut
> Cc: Simon Glass
> ---
On 28 July 2015 at 01:50, Bin Meng wrote:
> Hi Simon,
>
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> The steps required to boot a Linux distribution from U-Boot on x86 are not
>> very complicated, but it is a good idea to have these written down in an
>> accessible place.
>>
>> Docume
Hi Marek,
On 2 August 2015 at 16:19, Marek Vasut wrote:
> On Sunday, August 02, 2015 at 11:28:13 PM, Simon Glass wrote:
>> Hi Marek,
>
> Hi,
>
>> On 27 July 2015 at 14:44, Marek Vasut wrote:
>> > Add driver for the DesignWare APB GPIO IP block.
>> > This driver is DM capable and probes from DT.
On 28 July 2015 at 01:48, Bin Meng wrote:
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> Fix a small typo in this binding file.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> doc/device-tree-bindings/misc/intel,irq-router.txt | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
On 28 July 2015 at 01:49, Bin Meng wrote:
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> These are now in the device tree so we don't need to use the CONFIG options.
>> Drop them.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> include/configs/minnowmax.h | 12
>> 1 file ch
On 28 July 2015 at 01:48, Bin Meng wrote:
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> This is provided in Kconfig so we don't need it here.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> include/configs/x86-chromebook.h | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/incl
On 28 July 2015 at 01:48, Bin Meng wrote:
> Hi Simon,
>
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> Move this config option to Kconfig and tidy up.
>>
>> Signed-off-by: Simon Glass
>> ---
>
> Reviewed-by: Bin Meng
>
> But please see nits below.
Nits fixed and
Applied to u-boot-x8
On 28 July 2015 at 01:47, Bin Meng wrote:
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> At present the PCI output displays 'Mem' when it allocates memory for a PCI
>> device, whether it is prefetchable or not. There is a distinction since the
>> memory comes from separate pools. Use 'P
On 28 July 2015 at 01:46, Bin Meng wrote:
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> Rather than using 0xff in the code, add a constant.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> drivers/pci/pci.c | 3 ++-
>> include/pci.h | 2 ++
>> 2 files changed, 4 insertions(+), 1 del
On 28 July 2015 at 01:47, Bin Meng wrote:
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> At present this function does not specify its return value. Fix it.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>
> Reviewed-by: Bin Meng
>
> But please see comments below.
>
>> include/dm/device.
On 28 July 2015 at 01:48, Bin Meng wrote:
> On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote:
>> Drop these from the header file and use Kconfig instead.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> configs/chromebook_link_defconfig | 3 +++
>> configs/chromebox_panther_defconfig | 3 +++
>
On 2 August 2015 at 09:04, Bin Meng wrote:
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> From: Ben Stoltz
>>
>> When U-Boot runs as an EFI application is does not have a definition of
>> CONFIG_SYS_TEXT_BASE. U-Boot is a relocatable application and the relocation
>> is done by EFI. U
On 2 August 2015 at 09:00, Bin Meng wrote:
> Hi Simon,
>
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> When running as an EFI application, U-Boot must request memory from EFI,
>> and provide access to the boot services U-Boot needs.
>>
>> Add library code to perform these tasks. This
On 31 July 2015 at 09:31, Simon Glass wrote:
> With EFI the start address of U-Boot is specified differently. We could
> consider just setting GD_FLG_RELOC and then setting up reloc_off. But that
> flag has other implementations and we are not able to use U-Boot relocation
> which this flag implie
On 2 August 2015 at 08:32, Bin Meng wrote:
> Hi Simon,
>
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> On x86 the global_data pointer is provided through a somewhat-bizarre and
>> x86-specific mechanism: the F segment register is set to a pointer to the
>> start of global_data, so tha
On 2 August 2015 at 07:22, Bin Meng wrote:
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> This option is not used by any board but appears to still be useful, at least
>> for testing. With recent commits it does not build, so fix it.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> Chang
On 2 August 2015 at 07:17, Bin Meng wrote:
> Hi Simon,
>
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> These flags now overlap some global ones. Adjust the x86-specific flags to
>> avoid this. Since this requires a change to the start.S code, add a way for
>> tools to find the 32-bit
On 2 August 2015 at 07:19, Bin Meng wrote:
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> Fix a typo, remove an unused field and make sure to use existing #define
>> constants instead of open-coded values.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> Changes in v2: None
>>
>> arch/x
On 31 July 2015 at 09:31, Simon Glass wrote:
> This is now handled by generic U-Boot code so we do not need an x86 version.
> It is no-longer called, so remove it.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/include/asm/relocate.h | 1 -
>
On 2 August 2015 at 07:09, Bin Meng wrote:
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> Add a convention that the generic global_data only occupy the bottom 16 bits
>> of the flags word, so that there is less chance of a conflict. At present the
>> x86 flags conflict.
>>
>> Signed-of
On 31 July 2015 at 09:31, Simon Glass wrote:
> This file does not need its own way of doing debug(). Clean it up to use the
> new way.
>
> Signed-off-by: Simon Glass
> Acked-by: Pavel Machek
> Reviewed-by: Bin Meng
> ---
>
> Changes in v2: None
>
> drivers/pci/pci_auto.c | 48 +
On 31 July 2015 at 09:31, Simon Glass wrote:
> The GDT works but technically the length is incorrect. Fix this and add a
> comment.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/cpu/call64.S | 4 ++--
> 1 file changed, 2 insertions(+), 2 delet
On 31 July 2015 at 09:31, Simon Glass wrote:
> Some files use global_data but don't declare it. Fix this.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/cpu/mp_init.c | 2 ++
> arch/x86/lib/bootm.c | 2 ++
> arch/x86/lib/fsp/f
On 31 July 2015 at 09:31, Simon Glass wrote:
> We should use these constants where possible.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/cpu/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-x86.
__
On 2 August 2015 at 07:07, Bin Meng wrote:
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> These will be used for efi.h both for U-Boot running as an EFI application
>> and as a payload. They come from Linux 4.1.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> Changes in v2:
>> - Fix _al
On 31 July 2015 at 09:31, Simon Glass wrote:
> Fix a typo, improve some comments and add a little more detail in some
> cases.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/cpu/start.S | 46 ++
> 1 f
On 2 August 2015 at 07:00, Bin Meng wrote:
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> Provide the types necessary to relocate 64-bit images.
>>
>> Signed-off-by: Simon Glass
>>
>> ---
>>
>> Changes in v2:
>> - Follow existing file conventions for type definitions
>>
>> include/el
On 31 July 2015 at 09:31, Simon Glass wrote:
> This is currently done for all targets, since 0xff is the default erased
> value for most flash devices. In some cases this is not what we want (e.g.
> for EFI images) so provide a command to do a vanilla objcopy.
>
> Signed-off-by: Simon Glass
> Rev
On 2 August 2015 at 15:26, Simon Glass wrote:
> On 31 July 2015 at 01:24, Bin Meng wrote:
>> Do not print confusing "Board: Unknown" during boot.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> common/board_info.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>
> Acked-by: Simon Glass
>
>> diff --git
On 2 August 2015 at 15:26, Simon Glass wrote:
> On 31 July 2015 at 01:24, Bin Meng wrote:
>> Ignore defconfig and tools/fdtgrep.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> .gitignore | 1 +
>> tools/.gitignore | 1 +
>> 2 files changed, 2 insertions(+)
>
> Acked-by: Simon Glass
Applied
On 31 July 2015 at 09:31, Simon Glass wrote:
> In a final attempt to find a console UART this function uses the first
> first available serial device. However the check for a valid device is
> inverted.
>
> This code is only executed when there is in fact no serial UART, but at
> present it can fa
On 2 August 2015 at 09:55, Tom Rini wrote:
> On Fri, Jul 31, 2015 at 09:31:18AM -0600, Simon Glass wrote:
>
>> The CFLAGS_REMOVE_ feature allows default C compiler flags to be
>> removed for particular files. Add the same feature for assembler, using
>> AFLAGS_REMOVE_.
>>
>> Signed-off-by: Simon G
On 2 August 2015 at 06:57, Bin Meng wrote:
> On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass wrote:
>> This function needs to check the list has entries before traversing it.
>> Fix this bug.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> Changes in v2:
>> - Correct the return code to avoid a test
On 2 August 2015 at 15:21, Simon Glass wrote:
> Hi Bin,
>
> On 30 July 2015 at 22:01, Bin Meng wrote:
>> Hi Simon,
>>
>> On Fri, Jul 31, 2015 at 3:53 AM, Simon Glass wrote:
>>> Hi Bin,
>>>
>>> On 30 July 2015 at 04:49, Bin Meng wrote:
Add PCI IRQ routing information in the board device tre
On 2 August 2015 at 15:25, Simon Glass wrote:
> On 28 July 2015 at 08:45, Peng Fan wrote:
>> Add '\n' for debug msg.
>>
>> Signed-off-by: Peng Fan
>> Cc: Tom Rini
>> Cc: Masahiro Yamada
>> Cc: Simon Glass
>> ---
>> common/command.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
On 2 August 2015 at 15:21, Simon Glass wrote:
> On 1 August 2015 at 01:03, Masahiro Yamada
> wrote:
>> Match the depth of indentation between #ifdef and #endif
>> for better readability.
>>
>> Signed-off-by: Masahiro Yamada
>> ---
>>
>> lib/fdtdec.c | 2 +-
>> 1 file changed, 1 insertion(+), 1
On 2 August 2015 at 15:23, Simon Glass wrote:
> On 27 July 2015 at 05:16, Bin Meng wrote:
>> Add a cpu1 node to the device tree and enable the MP initialization
>> on QEMU targets (i440fx and q35).
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> arch/x86/dts/qemu-x86_i440fx.dts | 7 +++
>> arch/
On 2 August 2015 at 15:24, Simon Glass wrote:
> On 27 July 2015 at 01:33, Bin Meng wrote:
>> Correct two typos and mention how pci bus will be probed.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> doc/driver-model/pci-info.txt | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> Acke
On 30 July 2015 at 13:53, Simon Glass wrote:
> On 30 July 2015 at 04:49, Bin Meng wrote:
>> Intel Bayley Bay board is a BayTrail based board. Add this board
>> with existing baytrail fsp support.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> arch/x86/dts/Makefile | 3 +-
>> arch/x86/
On 2 August 2015 at 15:24, Simon Glass wrote:
> On 27 July 2015 at 05:16, Bin Meng wrote:
>> From: Miao Yan
>>
>> When running SMP configuration on QEMU (tcg mode, no kvm), there is
>> a busy loop in start_aps(), calling udelay(), that waits for APs to
>> show up online. However, there is a chan
On 30 July 2015 at 13:53, Simon Glass wrote:
> On 30 July 2015 at 04:49, Bin Meng wrote:
>> This commit adds the microcode blob for BayTrail-I B0 stepping,
>> CPUID signature 30671h.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> arch/x86/dts/microcode/m0230671117.dtsi | 4244
>> ++
On 30 July 2015 at 13:53, Simon Glass wrote:
> On 30 July 2015 at 04:49, Bin Meng wrote:
>> BayTrail FSP Gold4 release adds one UPD parameter to control IGD
>> enable/disable.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> arch/x86/include/asm/arch-baytrail/fsp/fsp_vpd.h | 3 ++-
>> 1 file changed,
On 30 July 2015 at 13:55, Simon Glass wrote:
> On 30 July 2015 at 04:49, Bin Meng wrote:
>> On Intel BayTrail SoC, there is a legacy UART (I/O 0x3f8) integrated
>> into the SoC which is enabled by the FSP. Remove the smsc47x superio
>> initialization codes.
>>
>> Signed-off-by: Bin Meng
>> ---
>
On 30 July 2015 at 13:53, Simon Glass wrote:
> On 30 July 2015 at 04:49, Bin Meng wrote:
>> We should not set up kernel screen_info when the vesa parameters are
>> insane, otherwise kernel will panic.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> drivers/pci/pci_rom.c | 4
>> 1 file changed,
On 2 August 2015 at 15:24, Simon Glass wrote:
> On 27 July 2015 at 01:33, Bin Meng wrote:
>> On some platforms pci devices behind bridge need to be probed (eg:
>> a pci uart on recent x86 chipset) before relocation. Remove such
>> limitation so that dm pci can be used before relocation.
>>
>> Sig
Hi Tom.
On 2 August 2015 at 17:29, Tom Rini wrote:
> On Sun, Aug 02, 2015 at 05:22:30PM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 2 August 2015 at 17:07, Tom Rini wrote:
>> > On Sun, Aug 02, 2015 at 03:29:12PM -0600, Simon Glass wrote:
>> >> Hi Tom,
>> >>
>> >> On 31 July 2015 at 17:55, Tom
Make the support for 4K subpage I/O on a SPI NOR flash configurable.
A board which requires the SPI NOR to be accessed in larger 32KiB
or 64KiB pages can disable the 4K subpage support, but by default,
the support for 4K subpage I/O is enabled. The functionality of this
option is the same as CONFIG
On Sun, Aug 02, 2015 at 05:22:30PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 2 August 2015 at 17:07, Tom Rini wrote:
> > On Sun, Aug 02, 2015 at 03:29:12PM -0600, Simon Glass wrote:
> >> Hi Tom,
> >>
> >> On 31 July 2015 at 17:55, Tom Rini wrote:
> >> > - Import various DT files for DRA7 / DR72
Hi Tom,
On 2 August 2015 at 17:07, Tom Rini wrote:
> On Sun, Aug 02, 2015 at 03:29:12PM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 31 July 2015 at 17:55, Tom Rini wrote:
>> > - Import various DT files for DRA7 / DR72x / dra72-evm from Linux Kernel
>> > v4.1
>> > - Add config file for this b
Actually convert the sequencer code to use socfpga_sdram_io_config
instead of the IO_* macros. This is just an sed excercise here, no
manual coding needed.
Signed-off-by: Marek Vasut
---
drivers/ddr/altera/sequencer.c | 201 -
1 file changed, 100 insertion
Fix most of the dangling checkpatch issues, no functional change.
There are still 7 warnings, 1 checks , but those are left in place
for the sake of readability of the code.
Signed-off-by: Marek Vasut
---
drivers/ddr/altera/sequencer.c | 159 +++--
1 file chan
This is defined in the QTS-generated headers, so it must not be
re-defined in sequencer.h .
Signed-off-by: Marek Vasut
---
drivers/ddr/altera/sequencer.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/ddr/altera/sequencer.h b/drivers/ddr/altera/sequencer.h
index 3ecd733..f621e14 1006
Introduce two wrapper functions, socfpga_get_seq_ac_init() and
socfpga_get_seq_inst_init() to avoid direct inclusion of the
sequencer_auto_ac_init.h and sequencer_auto_inst_init.h QTS
generated files. This reduces namespace polution again.
Signed-off-by: Marek Vasut
---
arch/arm/mach-socfpga/inc
This is another macro used to obfuscate the real code. The
T(INIT|RESET)_CNTR._VAL is always defined, so this indirection
is unnecessary. Get rid of this.
Signed-off-by: Marek Vasut
---
drivers/ddr/altera/sequencer.c | 8
drivers/ddr/altera/sequencer.h | 45
Introduce structure socfpga_sdram_rw_mgr_config to wrap the RW manager
configuration values in board file. Introduce a complementary function,
socfpga_get_sdram_rwmgr_config(), which returns this the structure.
This is another step toward wrapping the nasty QTS generated macros
in board files and r
Replace uintNN_t with uNN. No functional change.
Signed-off-by: Marek Vasut
---
drivers/ddr/altera/sequencer.c | 96 +-
1 file changed, 48 insertions(+), 48 deletions(-)
diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c
index e6
These parameters are not used in the code, zap them and the
macros which are used by them as well.
Signed-off-by: Marek Vasut
---
drivers/ddr/altera/sequencer.c | 49 +-
drivers/ddr/altera/sequencer.h | 31 --
2 files changed, 5 ins
Just use READ_VALID_FIFO_SIZE directly, no need for this macro obfuscation.
Signed-off-by: Marek Vasut
---
drivers/ddr/altera/sequencer.c | 8
drivers/ddr/altera/sequencer.h | 3 ---
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/ddr/altera/sequencer.c b/drivers/
Introduce structure socfpga_sdram_misc_config to wrap the remainging
misc configuration values in board file. Again, introduce a function,
socfpga_get_sdram_misc_config(), which returns this the structure. This
is almost the final step toward wrapping the nasty QTS generated macros
in board files a
This entire series focuses solely on cleaning up the
drivers/ddr/altera/sequencer.c file. After this series,
this one file is totally checkpatch clean and does not
pull in any weird qts-generated macros ; all that is
wrapped in the board file.
This micro-series applies on top of my previous middle
Actually convert the sequencer code to use socfpga_sdram_misc_config
instead of the various macros. This is just an sed excercise here, no
manual coding needed.
This patch actually removes the need to include any board-specific
files in sequencer.c , so sequencer.c namespace is now no longer
polut
Introduce structure socfpga_sdram_io_config to wrap the IO configuration
values in board file. Introduce socfpga_get_sdram_io_config() function,
which returns this the structure. This is another step toward wrapping
the nasty QTS generated macros in board files and reducing the polution
of the name
Actually convert the sequencer code to use socfpga_sdram_rw_mgr_config
instead of the RW_MGR_* macros. This is just an sed excercise here, no
manual coding needed.
Signed-off-by: Marek Vasut
---
drivers/ddr/altera/sequencer.c | 292 -
drivers/ddr/altera/se
Move the files generated by QTS into the board directory, they should not
be part of the driver files at all.
Signed-off-by: Marek Vasut
---
.../altera => board/altera/socfpga/qts}/sequencer_auto.h| 0
.../altera/socfpga/qts}/sequencer_auto_ac_init.h| 0
.../altera/socfpga/qts}
Zap non-existent functions and place function prototypes at the
beginning of the header file.
Signed-off-by: Marek Vasut
---
arch/arm/mach-socfpga/include/mach/sdram.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/mach-socfpga/include/mach/sdram.h
b/arch/arm/ma
Add Kconfig entries for the simple-bus driver, both for U-Boot
and for SPL. The simple-bus is enabled by default in U-Boot and
disabled by default in SPL to preserve the original behavior.
Signed-off-by: Marek Vasut
Cc: Simon Glass
---
drivers/core/Kconfig | 15 +++
drivers/core/Ma
On Sunday, August 02, 2015 at 11:28:10 PM, Simon Glass wrote:
> Hi Marek,
>
> On 27 July 2015 at 14:31, Marek Vasut wrote:
> > There's no reason why simple-bus driver can not be used in SPL,
> > in fact it is necessary to get SoCFPGA SPL probe the cadence
> > SPI driver. So drop the restriction.
On Sun, Aug 02, 2015 at 03:29:12PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 31 July 2015 at 17:55, Tom Rini wrote:
> > - Import various DT files for DRA7 / DR72x / dra72-evm from Linux Kernel
> > v4.1
> > - Add config file for this board, enable DM and DM_GPIO
> >
> > Cc: Simon Glass
> > Sig
Hi Lukasz,
On 25 July 2015 at 02:11, Lukasz Majewski wrote:
> In the dfu-util it is possible to set major:minor number by unsing -d flag
using
> (-d 0451:d022).
> Such option is very handy when many DFU devices are connected to a single
> host PC. This commit allows testing when above situation
HI Lukasz,
On 25 July 2015 at 02:11, Lukasz Majewski wrote:
Commit message? E.g. 'Enable DFU via update on Beaglebone Black'
> Signed-off-by: Lukasz Majewski
> ---
> Changes for v2:
> - Do not enable CONFIG_UPDATE_TFTP since CONFIG_DFU_TFTP enables the common
> code
> - Do not enable CONFIG_C
Hi Lukasz,
On 25 July 2015 at 02:11, Lukasz Majewski wrote:
> This function allows writing via DFU data stored from fixed buffer address
> (like e.g. loadaddr env variable).
>
> Such predefined buffers are used in the update_tftp() code. In fact this
> function is a wrapper on the dfu_write() and
1 - 100 of 204 matches
Mail list logo