Skip to contentSkip to conversation

microblaze changes

GIT PULL Tom Rini 1 participant 1 message Feb 9, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tom Rini

author
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 116 lines · Michal Simek

Hi Tom,

please consider to add these microblaze changes to your tree. It is moving Microblaze to use generic board support.

I have also added one patch from Andreas which is the part avr32 series because it is also needed for Microblaze.

The first patch in this series (Move drram_init()) was asked by Simon and it was also reviewed by him.

Thanks,
Michal

The following changes since commit 7f641d53bbb3a426a3bfb132d8346153e86a9d08:

Merge branch 'master' of git://git.denx.de/u-boot-ubi (2015-02-04 13:30:00 -0500)

are available in the git repository at:

git://www.denx.de/git/u-boot-microblaze.git microblaze

for you to fetch changes up to 7f33899221e4235900760add69ffbb5f66f1229d:

microblaze: spl: Add LISTS to linker script (2015-02-09 15:13:12 +0100)

----------------------------------------------------------------
Andreas Bie?mann (1):
common/board_r: manual relocation for cmd table

Michal Simek (19):
common: Move dram_init() declaration to common location
microblaze: Fix stack usage in interrupt handler
microblaze: Show return address from exception
microblaze: Fix coding style in exception.c
microblaze: Remove DEBUG_INT macro and use debug() instead
microblaze: Fix coding style
microblaze: Add debug message about enabling interrupts
microblaze: Remove unneeded data section adding from DTB
microblaze: Use standard interrupt_init() function
microblaze: Remove unused asm label
microblaze: Fix gd_t address which is placed at the end of BRAM
microblaze: Enable SPL_NOR support when FLASH_BASE is setup
microblaze: Move architecture to use generic board init
microblaze: Speedup code copy
bdinfo: Show information about fdt blob via bdinfo
microblaze: Do not use CONFIG_SYS_GENERIC_GLOBAL_DATA
microblaze: Add support for CONFIG_SYS_MALLOC_F_LEN
microblaze: spl: Do not call mem_malloc_init and use early alloc
microblaze: spl: Add LISTS to linker script

 arch/arm/include/asm/u-boot-arm.h                    |   1 -
 arch/microblaze/config.mk                            |   5 ++
 arch/microblaze/cpu/exception.c                      |  35 +++++++-------
 arch/microblaze/cpu/interrupts.c                     |  76 ++++++++++++++---------------
 arch/microblaze/cpu/irq.S                            | 121 +++++++++++++++++++++++-----------------------
 arch/microblaze/cpu/spl.c                            |   2 -
 arch/microblaze/cpu/start.S                          | 126 +++++++++++++++++++++++++++++++++++++++++++++++-
 arch/microblaze/cpu/u-boot-spl.lds                   |   6 +++
 arch/microblaze/cpu/u-boot.lds                       |  12 +++--
 arch/microblaze/include/asm/asm.h                    |   4 ++
 arch/microblaze/include/asm/config.h                 |   7 +++
 arch/microblaze/include/asm/microblaze_intc.h        |   2 -
 arch/microblaze/include/asm/u-boot.h                 |  11 +----
 arch/microblaze/lib/Makefile                         |   1 -
 arch/microblaze/lib/board.c                          | 201 -----------------------------------------------------------------------------
 arch/nds32/include/asm/u-boot-nds32.h                |   1 -
 arch/sandbox/include/asm/u-boot-sandbox.h            |   1 -
 arch/x86/include/asm/u-boot-x86.h                    |   6 ---
 board/xilinx/microblaze-generic/microblaze-generic.c |  46 ++++++++++++++++++
 common/board_f.c                                     |   4 +-
 common/board_r.c                                     |  14 +++++-
 common/cmd_bdinfo.c                                  |  16 ++++++-
 include/common.h                                     |   1 +
 include/configs/microblaze-generic.h                 | 101 ++++++++++-----------------------------
 24 files changed, 371 insertions(+), 429 deletions(-)
 delete mode 100644 arch/microblaze/lib/board.c

[u-boot]$ ./tools/buildman/buildman -b microblaze microblaze -sSed
boards.cfg is up to date. Nothing to do.
Summary of 21 commits for 1 boards (1 thread, 8 jobs per thread)
01: Merge branch 'master' of git://git.denx.de/u-boot-ubi
microblaze: + microblaze-generic
w+../common/spl/spl_nor.c: In function 'spl_nor_load_image':
w+../common/spl/spl_nor.c:26:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] 02: common: Move dram_init() declaration to common location
03: common/board_r: manual relocation for cmd table
04: microblaze: Fix stack usage in interrupt handler
05: microblaze: Show return address from exception
microblaze: (for 1/1 boards) all +44.0 bss -16.0 rodata +36.0 text +24.0
microblaze-generic: all +44 bss -16 rodata +36 text +24
06: microblaze: Fix coding style in exception.c
07: microblaze: Remove DEBUG_INT macro and use debug() instead
08: microblaze: Fix coding style
09: microblaze: Add debug message about enabling interrupts
10: microblaze: Remove unneeded data section adding from DTB
11: microblaze: Use standard interrupt_init() function
12: microblaze: Remove unused asm label
13: microblaze: Fix gd_t address which is placed at the end of BRAM
14: microblaze: Enable SPL_NOR support when FLASH_BASE is setup
15: microblaze: Move architecture to use generic board init
microblaze: (for 1/1 boards) all +52380.0 bss +32.0 data +11712.0 rodata -2668.0 spl/u-boot-spl:all +36.0 spl/u-boot-spl:data +36.0 text +43304.0

            microblaze-generic:  all +52380  bss +32  data +11712  rodata -2668  spl/u-boot-spl:all +36  spl/u-boot-spl:data +36  text +43304

16: microblaze: Speedup code copy
microblaze: (for 1/1 boards) all +4.0 text +4.0
microblaze-generic: all +4 text +4
17: bdinfo: Show information about fdt blob via bdinfo
microblaze: (for 1/1 boards) all +116.0 bss -12.0 data +12.0 rodata +32.0 text +84.0

            microblaze-generic:  all +116  bss -12  data +12  rodata +32  text +84
18: microblaze: Do not use CONFIG_SYS_GENERIC_GLOBAL_DATA
microblaze: (for 1/1 boards)  all +136.0  bss +160.0  text -24.0
            microblaze-generic:  all +136  bss +160  text -24
Quoted 7 lines

19: microblaze: Add support for CONFIG_SYS_MALLOC_F_LEN
microblaze: (for 1/1 boards) all +412.0 bss -8.0 data +8.0 rodata +64.0 text +348.0
microblaze-generic: all +412 bss -8 data +8 rodata +64 text +348
20: microblaze: spl: Do not call mem_malloc_init and use early alloc
microblaze: (for 1/1 boards) spl/u-boot-spl:all -64.0 spl/u-boot-spl:bss +132.0 spl/u-boot-spl:text -196.0

            microblaze-generic:  spl/u-boot-spl:all -64  spl/u-boot-spl:bss +132  spl/u-boot-spl:text -196

21: microblaze: spl: Add LISTS to linker script

Applied to u-boot/master, thanks!

- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJU2RhMAAoJENk4IS6UOR1WK1kP/RnIOliSgzX6LlNHd7Yh75KW 6zb+YjKQ1OkPUUuWflWBVmF/ItxjTdHg1kKtFxzoPW0PBrfwkln6CsWwkkASFosu nDKea+dxtwFFQcHWiw4DxQ2ykE8vrDLvxH0pwKZodJT7JIuEr0LMUzocuZp/wyAq 7TJDSGIHeyMyOEX2RrJc/7TV0mIBonEEAbEUAIuPDjuJ0664slfwDqwRg8t2CeC/ mnEJ+YJcZ4h9a+10hBAQsyz+GvlhOdgL+daeemn2GiqBXn/O0qxX/1GZ8KGfr423 9IgBGMqthkNQK9y0w04PBbzSt6FuSjyLlhKls5+3TnrOMYJM5dBbwqaDLt0SGW3Z IOw8TTGAJ5roKMyQy6aaCDbM2ElC3KyHnpczx7teTfyUm1CPrq0TCkjuHBWpMa/h bog2GDAB7X8KIDv3F9rbXgnG7xftz0SEw/WNjitporIR6sDbhgZxH1wgyDoSWHq/ 0B/uA7bENujhJxBjkAqx154q38MgL9yugrAHHTj+bz3uI4lETcTaHCN6JDooArjN Lpd7LfzSGAyRefioJL8R0OIPo6sCm4UMlSPZDOPD+qSl4W8aqxn6Vpl0sUoCfPdC 3lLclwIey+NGtSpdsvxGyIKuLHtWgWwxBoyw6tq4VajKi7HMGxVV5g+Y8VfDcZlH k3vtvkn7SBXdDNHEoi97
=8zBx
-----END PGP SIGNATURE-----