Merge tag 'xilinx-for-v2022.10' of https://source.denx.de/u-boot/custodians/u-boot...
authorTom Rini <trini@konsulko.com>
Mon, 27 Jun 2022 14:15:50 +0000 (10:15 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jun 2022 14:15:50 +0000 (10:15 -0400)
Xilinx changes for v2022.10

cpu:
- Add driver for microblaze cpu

net:
- Add support for DM_ETH_PHY to AXI emac and emaclite

xilinx:
- Switch platforms to DM_ETH_PHY
- DT chagnes in ZynqMP and Zynq
- Enable support for SquashFS

zynqmp:
- Add support for KR260 boards
- Move BSS from address 0
- Move platform identification from board code to soc driver
- Improve zynqmp_psu_init_minimize

versal:
- Enable loading app at EL1

serial:
- Setup default address and clock rates for DEBUG uarts

pinctrl:
- Add support for tri state and output enable properties

relocate-rela:
- Clean relocate-rela implementation for ARM64
- Add support for Microblaze

microblaze:
- Add support for runtime relocation
- Rework cache handling (wiring, Kconfig) based on cpuinfo
- Remove interrupt support

timer:
- Extract axi timer driver from Microblaze to generic location

15 files changed:
1  2 
MAINTAINERS
Makefile
arch/Kconfig
arch/arm/dts/Makefile
arch/m68k/Kconfig
arch/microblaze/cpu/start.S
arch/microblaze/cpu/u-boot.lds
configs/microblaze-generic_defconfig
configs/xilinx_versal_virt_defconfig
configs/xilinx_zynq_virt_defconfig
configs/xilinx_zynqmp_virt_defconfig
drivers/core/device.c
drivers/timer/Kconfig
drivers/timer/Makefile
include/configs/microblaze-generic.h

diff --cc MAINTAINERS
Simple merge
diff --cc Makefile
Simple merge
diff --cc arch/Kconfig
Simple merge
Simple merge
Simple merge
        .global _start
  _start:
        mts     rmsr, r0        /* disable cache */
+       mfs     r20, rpc
+       addi    r20, r20, -4
  
-       addi    r8, r0, _end
-       mts     rslr, r8
+       mts     rslr, r0
+       mts     rshr, r20
  
  #if defined(CONFIG_SPL_BUILD)
 -      addi    r1, r0, CONFIG_SPL_STACK_ADDR
 +      addi    r1, r0, CONFIG_SPL_STACK
  #else
-       addi    r1, r0, CONFIG_SYS_INIT_SP_OFFSET
+       add     r1, r0, r20
+ #if defined(CONFIG_STATIC_RELA)
+       bri     1f
+       /* Force alignment for easier ASM code below */
+ #define ALIGNMENT_ADDR        0x20
+       .align  4
+ uboot_dyn_start:
+       .word   __rel_dyn_start
+ uboot_dyn_end:
+       .word   __rel_dyn_end
+ uboot_sym_start:
+       .word   __dyn_sym_start
+ 1:
+       addi    r5, r20, 0
+       add     r6, r0, r0
+       lwi     r7, r20, ALIGNMENT_ADDR
+       addi    r7, r7, -CONFIG_SYS_TEXT_BASE
+       add     r7, r7, r5
+       lwi     r8, r20, ALIGNMENT_ADDR + 0x4
+       addi    r8, r8, -CONFIG_SYS_TEXT_BASE
+       add     r8, r8, r5
+       lwi     r9, r20, ALIGNMENT_ADDR + 0x8
+       addi    r9, r9, -CONFIG_SYS_TEXT_BASE
+       add     r9, r9, r5
+       addi    r10, r0, CONFIG_SYS_TEXT_BASE
+       brlid   r15, mb_fix_rela
+       nop
+ #endif
  #endif
  
        addi    r1, r1, -4      /* Decrement SP to top of memory */
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
  # define CONFIG_SYS_MAX_FLASH_SECT    2048
  #endif
  
- #ifndef XILINX_DCACHE_BYTE_SIZE
- #define XILINX_DCACHE_BYTE_SIZE       32768
- #endif
 -/* size of console buffer */
 -#define       CONFIG_SYS_CBSIZE       512
 -/* max number of command args */
 -#define       CONFIG_SYS_MAXARGS      15
--
  #define       CONFIG_HOSTNAME         "microblaze-generic"
  
  /* architecture dependent code */