Hi Stefan,
On Fri, Dec 14, 2018 at 07:56:59AM +0100, Stefan Roese wrote:
> So how to proceed? Should I enable CONFIG_CPU_MIPSR2_IRQ_VI or #define
> "cpu_has_veic" to 1 as Lantiq does?
...and on that point in particular, it really depends on your hardware.
You shouldn't need to do either of
Hi Stefan,
On Fri, Dec 14, 2018 at 07:56:59AM +0100, Stefan Roese wrote:
> > Does this Linux patch help by any chance?
> >
> > https://git.linux-mips.org/cgit/linux-mti.git/commit/?h=eng-v4.20=39e4d339a4540b66e9d9a8ea0da9ee41a21473b4
> >
> > I'm not sure I remember why I didn't get that
Hello,
On Thu, Dec 13, 2018 at 03:23:39PM +0100, Daniel Schwierzeck wrote:
> > Finally I found that this line in U-Boot makes Linux break:
> >
> > arch/mips/lib/traps.c:
> >
> > void trap_init(ulong reloc_addr)
> > unsigned long ebase = gd->irq_sp;
> >
Hi Ezequiel,
On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote:
> On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote:
> > Am 10.12.18 um 21:35 schrieb Ezequiel Garcia:
> > > Please note that I've added Paul's SOB to all the patches
> > > he authored, to make the authorship
Hi Daniel,
On Fri, Jan 19, 2018 at 12:31:25PM +0100, Daniel Schwierzeck wrote:
> On 18.01.2018 22:19, Paul Burton wrote:
> > When constraining the highest DDR address that U-Boot will use for its
> > data & relocated self, we need to handle the common case in which a 32
>
rror about a spurious reloc:
Avoid this problem by padding out the data in the .mcs file to a 16 byte
boundary using srec_cat's -range-pad functionality.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
board/imgtec/bost
erflows & wraps to 0.
We originally had a check for this case, but it was lost in commit
78edb25729ce ("boston: Provide physical CONFIG_SYS_SDRAM_BASE") causing
problems for the affected 32 bit systems.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Fixes: 78edb25729ce
-boot.mcs which generates it using the srec_cat tool available from
the SRecord project, and build it by default when srec_cat is present.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: u-boot@lists.denx.de
---
Changes in v2:
-
-boot.mcs which generates it using the srec_cat tool available from
the SRecord project, and build it by default when srec_cat is present.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: u-boot@lists.denx.de
---
board/imgtec/bost
The pch_gbe driver has 4 paths which open-code the equivalent of
wait_for_bit(). Replace these with use of wait_for_bit() in order to
shorten the code & avoid duplication.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc:
umeration step.
We also enable the EG20T GPIO driver to provide the PHY reset GPIO, and
support for the Realtek RTL8211E PHY used on the Boston board in order
to make ethernet usable.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.
ries.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: u-boot@lists.denx.de
---
include/configs/boston.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/boston.h b/include/configs/boston.h
available to the PCI bus.
Fix this by disabling that 1MB alignment, which allows all of the EG20T
peripheral devices to be assigned memory space within the 1MB region
available.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Si
g to
perform such checks themselves.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Simon Glass <s...@chromium.org>
Cc: u-boot@lists.denx.de
Signed-off-by: Paul Burton <paul.bur...@mips.com>
-
Add support to the pch_gbe driver for resetting the PHY using a GPIO
specified in the device tree. This matches the support already in Linux.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Joe Hershberger <joe.hershbe
possible subordinate busses based upon the size of
the ECAM region, and disable interrupts since U-Boot isn't using them.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: u-boot@lists.denx.de
Signed-off-by: Paul Burt
Add a driver for the GPIO controller found in the Intel EG20T Platform
Controller Hub. This is used on the MIPS Boston development board to
provide GPIOs including ethernet PHY reset.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmai
that systems such as this can select an alignment which
works for them.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Simon Glass <s...@chromium.org>
Cc: u-boot@lists.denx.de
Signed-off-by: Paul Burton <
G20T
ethernet device, so this leads to delays during boot in QEMU whilst the
pch_gbe driver times out on attempted access to the PHY.
Applies atop u-boot-mips/next as of 50bff5194d7e ("MIPS: Break out of
cache loops for unimplemented caches").
Paul Burton (8):
pci: Make PCI bridge me
Hi Daniel,
On Tue, Nov 21, 2017 at 08:57:15PM +0100, Daniel Schwierzeck wrote:
> Am 21.11.2017 um 20:18 schrieb Paul Burton:
> > This short series fixes a few issues related to our caching code - with
> > regards to DMA coherence, instruction cache coherence & systems with n
r the L1s. Fix
this by generalising the check for a zero line size & avoiding the cache
op loop when this is the case.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: u-boot@lists.denx.de
---
arch/mips/lib/cache.c | 13 ++---
p; using a new instruction_hazard_barrier() function which
makes use of the jr.hb instruction to clear the hazard.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: u-boot@lists.denx.de
---
arch/mips/include/asm/system.h | 13
-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: u-boot@lists.denx.de
---
arch/mips/lib/cache.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c
index 91b037
This short series fixes a few issues related to our caching code - with
regards to DMA coherence, instruction cache coherence & systems with no
caches at all.
Applies atop u-boot-mips/next as of d7d9fc01a4ef ("Update Paul Burton's
email address").
Paul Burton (3):
MIPS: En
ning history) will use the new address.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: u-boot@lists.denx.de
---
.mailmap| 1 +
board/imgtec/boston/MAINTAINERS | 2 +-
board/imgtec/malta/MAINTAINERS | 2
Hi Tom,
On Thursday, 21 September 2017 09:27:02 PDT Tom Rini wrote:
> On Thu, Sep 14, 2017 at 02:34:46PM -0700, Paul Burton wrote:
> > In python 3.x the StringIO module is gone, and instead StringIO can be
> > imported from the io module. Do this in order to run on python 3.x, an
The u-boot.lds linker script for MIPS defines a PTR_COUNT_SHIFT macro to
2 or 3 for 32 bit or 64 bit builds respectively. This macro is never
actually used though, so remove the dead code.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@
The lowlevel_display() function includes a "1:" label which is never
used. Remove it.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
board/imgtec/boston/lowlevel_init.S | 2 +-
1 file changed, 1 insertion(+
The boston lowlevel_init() function zeroes the return register v0,
despite the function not being expected to return a value & that value
never being used.
Remove the redundant assignment to v0.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <da
o-op unmap_physmem() and definitions of unused map
flags.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Thomas Chou <tho...@wytron.com.tw>
---
Changes in v2: None
arch/nios2/include/asm/io.h | 15 ---
1 file chang
s
is welcome.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Wolfgang Denk <w...@denx.de>
---
Changes in v2: None
arch/powerpc/include/asm/io.h | 25 +
1 file changed, 5 insertions(+), 20 deletions(-)
diff --git a/arch/powerpc/include/asm/io.h b/arch/
virt() & make use of it from map_physmem().
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Simon Glass <s...@chromium.org>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- Move include earlier to get MAP_WRBACK for (un)map_sysmem()
- Cast vaddr t
.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Max Filippov <jcmvb...@gmail.com>
Acked-by: Max Filippov <jcmvb...@gmail.com>
---
Changes in v2: None
arch/xtensa/include/asm/io.h | 25 ++---
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/a
Convert the nds32 architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for nds32 this is primarily a matter of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.
-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Simon Glass <s...@chromium.org>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2: None
arch/x86/include/asm/io.h | 31 ++-
1 file changed, 2 insertions(+), 29 deletions(-)
diff --git a/ar
Convert the microblaze architecture to make use of the new
asm-generic/io.h to provide address mapping functions. As the generic
implementations are suitable for microblaze this is primarily a matter
of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
o-op unmap_physmem() and definitions of unused map
flags.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
Changes in v2: None
arch/mips/include/asm/io.h | 17 ++---
1 file changed, 6 insertions(+), 11 deletion
Convert the sh architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for sh this is primarily a matter of moving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.
Convert the m68k architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for m68k this is primarily a matter of emoving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.
-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Albert Aribaud <albert.u.b...@aribaud.net>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2: None
arch/arm/include/asm/io.h | 30 +-
1 file changed, 1 insertion(+), 29 deletions(-)
dif
Convert the arc architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for arc this is primarily a matter of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.
s generic
header - later patches in the series will do so.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Albert Aribaud <albert.u.b...@aribaud.net>
Cc: Alexey Brodkin <alexey.brod...@synopsys.com>
Cc: Angelo Dureghello <ang...@sysam.it>
Cc: Bin Meng <bmeng...
(), in order to simplify the process of getting it merged
by doing so piecemeal. The v1 patches can be seen at [1].
Thanks,
Paul
[1] https://patchwork.ozlabs.org/bundle/paulburton/old-asm-generic-io/?state=*
Paul Burton (13):
Provide a generic io.h & address mapping functions
arc: Use
drop the
shell-like redirection with no ill effects. With this fix test_vboot now
passes for me.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: Stephen Warren <swar...@nvidia.com>
---
Changes in v2:
- Place the % operator at the end of the last string line, not the st
Hi Stephen,
On Thursday, 14 September 2017 13:28:35 PDT Stephen Warren wrote:
> I could have sworn I checked this code ran on Python 3 when I first
> wrote it. Some of the issues you've fixed were clearly introduced since
> then, but not all. Perhaps I'm remembering some other project where I
>
are not text files.
Without this test_fit fails on python 3.x when reading an FDT in
run_fit_test() with:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position
0: invalid continuation byte
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: S
In python 3.x the file() function has been removed. Use open() instead,
which works on both python 2.x & 3.x, and is described as the preferred
method of opening a file by python 2.x documentation anyway.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: Stephen Wa
.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: Stephen Warren <swar...@nvidia.com>
---
Changes in v2: None
test/py/multiplexed_log.py | 4 ++--
test/py/tests/test_ut.py | 2 +-
test/py/u_boot_spawn.py| 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
In python 3.x the StringIO module is gone, and instead StringIO can be
imported from the io module. Do this in order to run on python 3.x, and
fall back to importing StringIO as a module in order to continue working
with python 2.x.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Re
In python 3.x the configparser module is named with all lower case.
Import it as such in order to avoid errors when running on python 3.x,
and fall back to the CamelCase version in order to keep working with
python 2.x.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: S
than an iterator, but the cost should be negligible.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: Stephen Warren <swar...@nvidia.com>
---
Changes in v2: None
test/py/u_boot_console_sandbox.py | 2 +-
test/py/u_boot_spawn.py | 6 +++---
test/py/u_boot_utils.
In python 3.x print must be called as a function rather than used as a
statement. Update uses of print to the function call syntax in order to
be python 3.x safe.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: Stephen Warren <swar...@nvidia.com>
---
Changes in v2:
Paul Burton (8):
test/py: Make print statements python 3.x safe
test/py: Use range() rather than xrange()
test/py: Import 'configparser' lower case to be python 3.x safe
test/py: Import StringIO from io module for python 3.x
test/py: Encode/decode strings for stdio
test/py: fit: Open files
drop the
shell-like redirection with no ill effects. With this fix test_vboot now
passes for me.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
test/py/tests/test_vboot.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/py/tests/test_vboot.py b/tes
.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
test/py/multiplexed_log.py | 4 ++--
test/py/tests/test_ut.py | 2 +-
test/py/u_boot_spawn.py| 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/py/multiplexed_log.py b/test/py/multiplexed_log.py
are not text files.
Without this test_fit fails on python 3.x when reading an FDT in
run_fit_test() with:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position
0: invalid continuation byte
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
test/py
In python 3.x the file() function has been removed. Use open() instead,
which works on both python 2.x & 3.x, and is described as the preferred
method of opening a file by python 2.x documentation anyway.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
test/py/tests/test_hush_
In python 3.x the StringIO module is gone, and instead StringIO can be
imported from the io module. Do this in order to run on python 3.x, and
fall back to importing StringIO as a module in order to continue working
with python 2.x.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
In python 3.x the configparser module is named with all lower case.
Import it as such in order to avoid errors when running on python 3.x,
and fall back to the CamelCase version in order to keep working with
python 2.x.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
test/py/conft
than an iterator, but the cost should be negligible.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
test/py/u_boot_console_sandbox.py | 2 +-
test/py/u_boot_spawn.py | 6 +++---
test/py/u_boot_utils.py | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
In python 3.x print must be called as a function rather than used as a
statement. Update uses of print to the function call syntax in order to
be python 3.x safe.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
test/py/conftest.py | 2 +-
test/py/t
Paul Burton (8):
test/py: Make print statements python 3.x safe
test/py: Use range() rather than xrange()
test/py: Import 'configparser' lower case to be python 3.x safe
test/py: Import StringIO from io module for python 3.x
test/py: Encode/decode strings for stdio
test/py: fit: Open files
On Monday, 31 July 2017 03:52:57 PDT Daniel Schwierzeck wrote:
> 2017-07-30 18:04 GMT+02:00 Álvaro Fernández Rojas :
> > El 30/07/2017 a las 16:05, Daniel Schwierzeck escribió:
> >> Am 30.07.2017 um 14:27 schrieb Álvaro Fernández Rojas:
> >>> I've been a bit busy lately and I
Hi Daniel,
On Tuesday, 25 July 2017 14:38:44 BST Daniel Schwierzeck wrote:
> Hi Paul,
>
> 2017-07-19 15:04 GMT+02:00 Tom Rini <tr...@konsulko.com>:
> > On Wed, Jul 19, 2017 at 01:59:16PM +0100, Paul Burton wrote:
> >> Hi Tom,
> >>
> >> On T
in the default case, and asserting that
we didn't actually hit it for good measure.
For reference gcc 7.1.1 seems to be smart enough to not hit the above
warning without this patch.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Fixes: 011dd93ca97a ("MIPS: Stop building position independen
in the default case, and asserting that
we didn't actually hit it for good measure.
For reference gcc 7.1.1 seems to be smart enough to not hit the above
warning without this patch.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Fixes: 011dd93ca97a ("MIPS: Stop building position independen
Hi Tom,
On Tuesday, 18 July 2017 02:07:59 BST Tom Rini wrote:
> On Thu, Jul 13, 2017 at 10:58:47AM -0700, Paul Burton wrote:
> > Hi Daniel & Tom,
> >
> > On Thursday, 13 July 2017 03:51:00 PDT Daniel Schwierzeck wrote:
> > > Hi Paul,
> > >
&
Hi Daniel,
On Monday, 19 June 2017 12:48:12 PDT Daniel Schwierzeck wrote:
> Am 19.06.2017 um 20:53 schrieb Paul Burton:
> > Hi Daniel,
> >
> > On Friday, 16 June 2017 15:48:06 PDT Daniel Schwierzeck wrote:
> >> Am 16.06.2017 um 02:05 schrieb Paul Burton:
>
also makes it easier to read & debug.
Taking maltael_defconfig as an example the size of u-boot.bin built
using the Codescape MIPS 2016.05-06 toolchain (gcc 4.9.2, binutils
2.24.90) shrinks from 254KiB to 224KiB.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck
Hi Daniel,
On Friday, 16 June 2017 15:48:06 PDT Daniel Schwierzeck wrote:
> Am 16.06.2017 um 02:05 schrieb Paul Burton:
> > U-Boot has up until now built with -fpic for the MIPS architecture,
> > producing position independent code which uses indirection through a
> > global
also makes it easier to read & debug.
Taking maltael_defconfig as an example the size of u-boot.bin built
using the Codescape MIPS 2016.05-06 toolchain (gcc 4.9.2, binutils
2.24.90) shrinks from 254KiB to 224KiB.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck
Hi Daniel,
On Friday, 16 June 2017 06:49:55 PDT Daniel Schwierzeck wrote:
> Hi Paul,
>
> Am 16.06.2017 um 02:05 schrieb Paul Burton:
> > U-Boot has up until now built with -fpic for the MIPS architecture,
> > producing position independent code which uses indirection throug
also makes it easier to read & debug.
Taking maltael_defconfig as an example the size of u-boot.bin built
using the Codescape MIPS 2016.05-06 toolchain (gcc 4.9.2, binutils
2.24.90) shrinks from 254KiB to 224KiB.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck
This commit allows an architecture to provide a Makefile.postlink whose
u-boot target gets invoked after the u-boot ELF is linked. This will be
of use for MIPS in a following commit.
This mirrors Linux commit fbe6e37dab97 ("kbuild: add arch specific
post-link Makefile").
Signed-of
On Monday, 3 October 2016 15:49:33 GMT Simon Glass wrote:
> Hi Paul,
>
> On 1 October 2016 at 08:19, Paul Burton <paul.bur...@imgtec.com> wrote:
> > Most architectures currently supported by U-Boot use trivial
> > implementations of map_to_physmem & virt_to_phys w
On Sunday, 2 October 2016 22:46:45 BST Masahiro Yamada wrote:
> Hi Paul,
>
> 2016-10-01 23:19 GMT+09:00 Paul Burton <paul.bur...@imgtec.com>:
> > README states that CONFIG_SYS_SDRAM_BASE should be the physical address
> > of the base of SDRAM memory. Th
On Tuesday, 27 September 2016 12:01:32 BST Daniel Schwierzeck wrote:
> 2016-09-27 2:35 GMT+02:00 Simon Glass <s...@chromium.org>:
> > Hi Paul,
> >
> > On 26 September 2016 at 12:29, Paul Burton <paul.bur...@imgtec.com> wrote:
> >> The decode_r
ards use CONFIG_SYS_SDRAM_BASE in their code, so they're
handled together.
This has only been build-tested, feedback welcome.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Marek Vasut <ma...@denx.de>
Cc: Purna Cha
CONFIG_SYS_SDRAM_BASE & by extension bi_memstart are now physical
addresses, so there's no need to call virt_to_phys in arch_fixup_fdt.
Remove the call.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
arch/mips/lib/b
ects CONFIG_SYS_SDRAM_BASE to be a physical address, which makes the
inconsistency a mess.
Now that the preceding patches have prepared us to handle using a
physical CONFIG_SYS_SDRAM_BASE, clean up the inconsistency for malta by
providing a physical CONFIG_SYS_SDRAM_BASE.
Signed-off-by: Paul Burton <p
back welcome.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
include/configs/imgtec_xilfpga.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -
In preparation for making CONFIG_SYS_SDRAM_BASE a physical address on
MIPS as README says it should be, ensure that our default
CONFIG_SYS_INIT_SP_ADDR is placed in (c)kseg0 rather than being a simple
offset addition to CONFIG_SYS_SDRAM_BASE.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com&
_to_virt is that on MIPS64 U-Boot will now access DDR through the
xkphys region of the virtual address space rather than ckseg0, which
necessitates the change to board_get_usable_ram_top().
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail
When calculating the region to reserve for the stack in
arch_lmb_reserve, make use of ram_top instead of adding bi_memsize to
CONFIG_SYS_SDRAM_BASE. This avoids overflow if the system has enough
memory to reach the end of the address space.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com&
has 2GB of memory then the addition would wrap around to 0.
The maximum amount of memory to be used by U-Boot is already accounted
for by the ram_top field of struct global_data, so make use of that for
the calculation instead.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
comm
ated bi_memstart field of struct bd_info to virtual addresses for
use.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
common/image.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/image.c b/common/image.c
index a5d19ab..1581022 100644
--- a/common/image.c
++
to calculate most memory addresses used by U-Boot.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
common/board_f.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 2c88595..1afc80d 100644
--- a/common/board_f.c
+++ b/common/boa
virt() & make use of it from map_physmem().
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Simon Glass <s...@chromium.org>
---
arch/sandbox/cpu/cpu.c| 12 +++-
arch/sandbox/include/asm/io.h | 17 -
2 files changed, 19 insertions(+), 10 dele
s
is welcome.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Wolfgang Denk <w...@denx.de>
---
arch/powerpc/include/asm/io.h | 25 +
1 file changed, 5 insertions(+), 20 deletions(-)
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/includ
o-op unmap_physmem() and definitions of unused map
flags.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Thomas Chou <tho...@wytron.com.tw>
---
arch/nios2/include/asm/io.h | 15 ---
1 file changed, 8 insertions
pointer that uncached mappings return via ioremap.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
arch/mips/include/asm/io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/include/asm/io.h
o-op unmap_physmem() and definitions of unused map
flags.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
---
arch/mips/include/asm/io.h | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/arch/
.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Max Filippov <jcmvb...@gmail.com>
---
arch/xtensa/include/asm/io.h | 25 ++---
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/arch/xtensa/include/asm/io.h b/arch/xtensa/include/asm/io.h
index e34d
-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Simon Glass <s...@chromium.org>
---
arch/x86/include/asm/io.h | 31 ++-
1 file changed, 2 insertions(+), 29 deletions(-)
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index 3156781..6f
Convert the openrisc architecture to make use of the new
asm-generic/io.h to provide address mapping functions. As the generic
implementations are suitable for openrisc this is primarily a matter of
removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Convert the sh architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for sh this is primarily a matter of moving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.
Convert the sparc architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for sparc this is primarily a matter of moving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.
Convert the nds32 architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for nds32 this is primarily a matter of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton <paul.
Convert the microblaze architecture to make use of the new
asm-generic/io.h to provide address mapping functions. As the generic
implementations are suitable for microblaze this is primarily a matter
of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Convert the blackfin architecture to make use of the new
asm-generic/io.h to provide address mapping functions. As the generic
implementations are suitable for blackfin this is primarily a matter of
removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
1 - 100 of 500 matches
Mail list logo