U-Boot
Threads by month
- ----- 2025 -----
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
November 2019
- 212 participants
- 742 discussions
This series drops the size of common.h down further, by moving things out
into existing and new header files.
It is now down to about 200 lines.
Changes in v2:
- Move trap_init() into init.h instead; update commit message
Simon Glass (41):
common: Move legacy CPU functions to their own header
Drop CONFIG_SHOW_ACTIVITY
common: Drop global inclusion of status_led.h
status_led: Tidy up the code style
common: Move random-number functions into their own header
common: Drop linux/crc8.h
crc: Fix code style with crc functions
crc32: Use the crc.h header for crc functions
spl: bootcount: Move code out of header file
common: Move bootcount functions to their header file
common: Move sorting functions to their own header file
Move strtomhz() to vsprintf.h
common: Move env_get_ip() to net.h
serial: usb: Correct the usbtty_...() prototypes
common: Move serial_printf() to the serial header
common: Move serial functions out of common.h
common: Add a new lz4.h header file
common: Move some time functions out of common.h
common: Move wait_ticks functions out of common.h
common: Move timer_get_us() function out of common.h
common: Move get_ticks() function out of common.h
common: Move mii_init() function out of common.h
common: Move some CPU functions out of common.h
common: Drop cpu_init()
common: Move checkcpu() out of common.h
common: Move some SMP functions out of common.h
arm: powerpc: Tidy up code style for cache functions
common: Move some cache and MMU functions out of common.h
common: Drop checkicache() and checkdcache()
common: Move ARM cache operations out of common.h
arm: powerpc: Tidy up code style for interrupt functions
common: Move interrupt functions into a new header
common: Move enable/disable_interrupts out of common.h
common: Move command functions out of common.h
common: Drop board_show_dram()
common: Move board_get_usable_ram_top() out of common.h
common: Move some board functions out of common.h
common: Move pci_init_board() out of common.h
common: Move trap_init() out of common.h
common: Drop get_endaddr()
common: Move old EEPROM functions into a new header
README | 2 +-
api/api.c | 1 +
arch/arc/lib/bootm.c | 1 +
arch/arc/lib/cache.c | 1 +
arch/arc/lib/cpu.c | 1 +
arch/arc/lib/interrupts.c | 1 +
arch/arm/cpu/arm11/cpu.c | 4 +-
arch/arm/cpu/arm920t/cpu.c | 4 +-
arch/arm/cpu/arm920t/ep93xx/timer.c | 1 +
arch/arm/cpu/arm920t/imx/timer.c | 1 +
arch/arm/cpu/arm926ejs/armada100/cpu.c | 1 +
arch/arm/cpu/arm926ejs/armada100/timer.c | 1 +
arch/arm/cpu/arm926ejs/cache.c | 1 +
arch/arm/cpu/arm926ejs/cpu.c | 4 +-
arch/arm/cpu/arm926ejs/lpc32xx/cpu.c | 1 +
arch/arm/cpu/arm926ejs/lpc32xx/timer.c | 1 +
arch/arm/cpu/arm926ejs/mx25/generic.c | 1 +
arch/arm/cpu/arm926ejs/mx27/generic.c | 1 +
arch/arm/cpu/arm926ejs/mx27/timer.c | 1 +
arch/arm/cpu/arm926ejs/mxs/spl_boot.c | 1 +
arch/arm/cpu/arm926ejs/mxs/timer.c | 1 +
arch/arm/cpu/arm926ejs/spear/spr_misc.c | 1 +
arch/arm/cpu/arm926ejs/spear/timer.c | 1 +
arch/arm/cpu/arm946es/cpu.c | 4 +-
arch/arm/cpu/armv7/arch_timer.c | 1 +
arch/arm/cpu/armv7/cache_v7.c | 1 +
arch/arm/cpu/armv7/cpu.c | 2 +
arch/arm/cpu/armv7/exception_level.c | 1 +
.../cpu/armv7/iproc-common/hwinit-common.c | 1 +
arch/arm/cpu/armv7/iproc-common/timer.c | 1 +
.../arm/cpu/armv7/kona-common/hwinit-common.c | 1 +
arch/arm/cpu/armv7/ls102xa/cpu.c | 2 +
arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 1 +
arch/arm/cpu/armv7/ls102xa/timer.c | 1 +
arch/arm/cpu/armv7/mpu_v7r.c | 1 +
arch/arm/cpu/armv7/s5p-common/timer.c | 1 +
arch/arm/cpu/armv7/stv0991/timer.c | 1 +
arch/arm/cpu/armv7/sunxi/timer.c | 1 +
arch/arm/cpu/armv7/vf610/generic.c | 1 +
arch/arm/cpu/armv7/vf610/timer.c | 1 +
arch/arm/cpu/armv7/virt-v7.c | 1 +
arch/arm/cpu/armv7m/cache.c | 1 +
arch/arm/cpu/armv7m/cpu.c | 2 +
arch/arm/cpu/armv7m/systick-timer.c | 1 +
arch/arm/cpu/armv8/cache_v8.c | 1 +
arch/arm/cpu/armv8/cpu.c | 2 +
arch/arm/cpu/armv8/exception_level.c | 1 +
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 +
.../armv8/fsl-layerscape/fsl_lsch2_speed.c | 1 +
.../armv8/fsl-layerscape/fsl_lsch3_speed.c | 1 +
arch/arm/cpu/armv8/fsl-layerscape/mp.c | 1 +
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 1 +
arch/arm/cpu/armv8/fsl-layerscape/spl.c | 1 +
arch/arm/cpu/armv8/generic_timer.c | 1 +
arch/arm/cpu/armv8/s32v234/cpu.c | 1 +
arch/arm/cpu/armv8/sec_firmware.c | 1 +
arch/arm/cpu/pxa/cache.c | 1 +
arch/arm/cpu/pxa/pxa2xx.c | 3 +
arch/arm/cpu/sa1100/cpu.c | 4 +-
arch/arm/cpu/sa1100/timer.c | 1 +
arch/arm/lib/bootm.c | 1 +
arch/arm/lib/cache-cp15.c | 13 +-
arch/arm/lib/cache.c | 1 +
arch/arm/lib/interrupts.c | 7 +-
arch/arm/lib/interrupts_64.c | 1 +
arch/arm/lib/interrupts_m.c | 1 +
arch/arm/lib/reset.c | 1 +
arch/arm/mach-at91/arm920t/timer.c | 1 +
arch/arm/mach-at91/arm926ejs/cpu.c | 1 +
arch/arm/mach-at91/armv7/cpu.c | 2 +
arch/arm/mach-bcm283x/init.c | 1 +
arch/arm/mach-bcm283x/mbox.c | 1 +
arch/arm/mach-davinci/timer.c | 1 +
arch/arm/mach-exynos/soc.c | 1 +
arch/arm/mach-imx/cache.c | 1 +
arch/arm/mach-imx/imx8/cpu.c | 1 +
arch/arm/mach-imx/imx8m/soc.c | 1 +
arch/arm/mach-imx/mx5/soc.c | 1 +
arch/arm/mach-imx/mx6/mp.c | 1 +
arch/arm/mach-imx/mx6/opos6ul.c | 1 +
arch/arm/mach-imx/mx6/soc.c | 1 +
arch/arm/mach-imx/mx7/psci-mx7.c | 1 +
arch/arm/mach-imx/mx7ulp/soc.c | 1 +
arch/arm/mach-imx/syscounter.c | 1 +
arch/arm/mach-imx/timer.c | 1 +
arch/arm/mach-keystone/init.c | 1 +
arch/arm/mach-kirkwood/cpu.c | 1 +
arch/arm/mach-mediatek/cpu.c | 1 +
arch/arm/mach-meson/board-common.c | 2 +
arch/arm/mach-mvebu/arm64-common.c | 1 +
arch/arm/mach-mvebu/armada8k/cpu.c | 1 +
arch/arm/mach-mvebu/cpu.c | 1 +
arch/arm/mach-omap2/omap-cache.c | 1 +
arch/arm/mach-omap2/sec-common.c | 1 +
arch/arm/mach-omap2/timer.c | 1 +
arch/arm/mach-orion5x/cpu.c | 1 +
arch/arm/mach-orion5x/timer.c | 1 +
arch/arm/mach-rmobile/cpu_info.c | 1 +
arch/arm/mach-rmobile/memmap-gen3.c | 1 +
arch/arm/mach-rmobile/timer.c | 1 +
arch/arm/mach-rockchip/board.c | 2 +
arch/arm/mach-rockchip/misc.c | 1 +
arch/arm/mach-rockchip/rk3288/rk3288.c | 1 +
arch/arm/mach-rockchip/sdram_common.c | 1 +
arch/arm/mach-s5pc1xx/cache.c | 1 +
arch/arm/mach-socfpga/clock_manager_gen5.c | 1 +
arch/arm/mach-socfpga/misc.c | 1 +
arch/arm/mach-socfpga/spl_a10.c | 1 +
arch/arm/mach-stm32mp/cpu.c | 1 +
arch/arm/mach-sunxi/board.c | 1 +
arch/arm/mach-sunxi/dram_helpers.c | 1 +
arch/arm/mach-sunxi/p2wi.c | 1 +
arch/arm/mach-sunxi/rsb.c | 1 +
arch/arm/mach-tegra/board.c | 1 +
arch/arm/mach-tegra/board2.c | 1 +
arch/arm/mach-tegra/clock.c | 1 +
arch/arm/mach-tegra/cmd_enterrcm.c | 1 +
arch/arm/mach-tegra/ivc.c | 1 +
arch/arm/mach-uniphier/arm32/cache-uniphier.c | 1 +
arch/arm/mach-uniphier/arm32/psci.c | 1 +
arch/arm/mach-uniphier/board_late_init.c | 1 +
arch/arm/mach-zynq/cpu.c | 1 +
arch/arm/mach-zynqmp/mp.c | 1 +
arch/arm/mach-zynqmp/spl.c | 1 +
arch/m68k/cpu/mcf5227x/cpu.c | 1 +
arch/m68k/cpu/mcf5227x/cpu_init.c | 1 +
arch/m68k/cpu/mcf5227x/interrupts.c | 1 +
arch/m68k/cpu/mcf523x/cpu.c | 1 +
arch/m68k/cpu/mcf523x/cpu_init.c | 1 +
arch/m68k/cpu/mcf523x/interrupts.c | 1 +
arch/m68k/cpu/mcf52x2/cpu.c | 1 +
arch/m68k/cpu/mcf52x2/cpu_init.c | 1 +
arch/m68k/cpu/mcf52x2/interrupts.c | 1 +
arch/m68k/cpu/mcf530x/cpu.c | 1 +
arch/m68k/cpu/mcf530x/cpu_init.c | 1 +
arch/m68k/cpu/mcf530x/interrupts.c | 1 +
arch/m68k/cpu/mcf532x/cpu.c | 1 +
arch/m68k/cpu/mcf532x/cpu_init.c | 1 +
arch/m68k/cpu/mcf532x/interrupts.c | 1 +
arch/m68k/cpu/mcf5445x/cpu.c | 1 +
arch/m68k/cpu/mcf5445x/cpu_init.c | 1 +
arch/m68k/cpu/mcf5445x/interrupts.c | 1 +
arch/m68k/cpu/mcf547x_8x/cpu.c | 1 +
arch/m68k/cpu/mcf547x_8x/cpu_init.c | 1 +
arch/m68k/cpu/mcf547x_8x/interrupts.c | 1 +
arch/m68k/cpu/mcf547x_8x/slicetimer.c | 1 +
arch/m68k/lib/cache.c | 1 +
arch/m68k/lib/interrupts.c | 9 +-
arch/m68k/lib/time.c | 2 +
arch/m68k/lib/traps.c | 1 +
arch/microblaze/cpu/cache.c | 19 +-
arch/microblaze/cpu/interrupts.c | 1 +
arch/microblaze/cpu/timer.c | 1 +
arch/microblaze/include/asm/microblaze_intc.h | 2 +
arch/microblaze/lib/bootm.c | 1 +
arch/mips/cpu/interrupts.c | 1 +
arch/mips/lib/cache.c | 1 +
arch/mips/lib/reloc.c | 1 +
arch/mips/lib/traps.c | 2 +
arch/mips/mach-jz47xx/jz4780/jz4780.c | 2 +
arch/mips/mach-jz47xx/jz4780/timer.c | 2 +
arch/mips/mach-mtmips/ddr_calibrate.c | 1 +
arch/nds32/cpu/n1213/ae3xx/cpu.c | 2 +
arch/nds32/cpu/n1213/ag101/cpu.c | 2 +
arch/nds32/cpu/n1213/ag101/timer.c | 2 +
arch/nds32/lib/cache.c | 1 +
arch/nds32/lib/interrupts.c | 1 +
arch/nios2/cpu/cpu.c | 2 +
arch/nios2/cpu/interrupts.c | 15 +-
arch/nios2/lib/bootm.c | 2 +
arch/nios2/lib/cache.c | 1 +
arch/powerpc/cpu/mpc83xx/cpu.c | 5 +-
arch/powerpc/cpu/mpc83xx/ecc.c | 1 +
arch/powerpc/cpu/mpc83xx/interrupts.c | 7 +-
arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +
arch/powerpc/cpu/mpc83xx/speed.c | 1 +
arch/powerpc/cpu/mpc85xx/cpu.c | 3 +
arch/powerpc/cpu/mpc85xx/cpu_init.c | 1 +
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 1 +
arch/powerpc/cpu/mpc85xx/interrupts.c | 1 +
arch/powerpc/cpu/mpc85xx/mp.c | 1 +
arch/powerpc/cpu/mpc85xx/speed.c | 1 +
arch/powerpc/cpu/mpc85xx/traps.c | 1 +
arch/powerpc/cpu/mpc86xx/cpu.c | 2 +
arch/powerpc/cpu/mpc86xx/interrupts.c | 3 +-
arch/powerpc/cpu/mpc86xx/mp.c | 1 +
arch/powerpc/cpu/mpc8xx/cache.c | 1 +
arch/powerpc/cpu/mpc8xx/cpu.c | 132 +++++------
arch/powerpc/cpu/mpc8xx/interrupts.c | 1 +
arch/powerpc/cpu/mpc8xxx/cpu.c | 1 +
arch/powerpc/cpu/mpc8xxx/fdt.c | 1 +
arch/powerpc/cpu/mpc8xxx/srio.c | 1 +
arch/powerpc/lib/bootm.c | 1 +
arch/powerpc/lib/cache.c | 1 +
arch/powerpc/lib/interrupts.c | 24 +-
arch/powerpc/lib/time.c | 1 +
arch/riscv/cpu/ax25/cache.c | 1 +
arch/riscv/cpu/ax25/cpu.c | 2 +
arch/riscv/cpu/generic/cpu.c | 1 +
arch/riscv/cpu/generic/dram.c | 1 +
arch/riscv/lib/cache.c | 1 +
arch/riscv/lib/interrupts.c | 1 +
arch/riscv/lib/smp.c | 1 +
arch/riscv/lib/spl.c | 1 +
arch/sandbox/cpu/cpu.c | 1 +
arch/sandbox/cpu/start.c | 1 +
arch/sandbox/lib/interrupts.c | 1 +
arch/sh/cpu/sh4/cache.c | 1 +
arch/sh/cpu/sh4/cpu.c | 2 +
arch/sh/cpu/sh4/interrupts.c | 7 +-
arch/sh/lib/time_sh2.c | 1 +
arch/sh/lib/zimageboot.c | 1 +
arch/x86/cpu/broadwell/cpu_from_spl.c | 1 +
arch/x86/cpu/broadwell/sdram.c | 1 +
arch/x86/cpu/coreboot/coreboot.c | 1 +
arch/x86/cpu/coreboot/sdram.c | 1 +
arch/x86/cpu/cpu.c | 1 +
arch/x86/cpu/efi/app.c | 1 +
arch/x86/cpu/efi/payload.c | 2 +
arch/x86/cpu/efi/sdram.c | 1 +
arch/x86/cpu/i386/cpu.c | 1 +
arch/x86/cpu/i386/interrupt.c | 1 +
arch/x86/cpu/intel_common/mrc.c | 1 +
arch/x86/cpu/ivybridge/cpu.c | 1 +
arch/x86/cpu/ivybridge/sdram.c | 1 +
arch/x86/cpu/mtrr.c | 1 +
arch/x86/cpu/qemu/dram.c | 1 +
arch/x86/cpu/qemu/qemu.c | 1 +
arch/x86/cpu/quark/dram.c | 2 +
arch/x86/cpu/quark/quark.c | 2 +
arch/x86/cpu/slimbootloader/sdram.c | 1 +
arch/x86/cpu/slimbootloader/slimbootloader.c | 1 +
arch/x86/cpu/tangier/tangier.c | 1 +
arch/x86/cpu/x86_64/cpu.c | 2 +
arch/x86/cpu/x86_64/interrupts.c | 1 +
arch/x86/lib/bios.c | 1 +
arch/x86/lib/fsp/fsp_common.c | 1 +
arch/x86/lib/fsp/fsp_dram.c | 1 +
arch/x86/lib/init_helpers.c | 1 +
arch/x86/lib/interrupts.c | 1 +
arch/x86/lib/spl.c | 2 +
arch/x86/lib/zimage.c | 1 +
arch/xtensa/cpu/cpu.c | 1 +
arch/xtensa/cpu/exceptions.c | 1 +
arch/xtensa/lib/bootm.c | 1 +
arch/xtensa/lib/cache.c | 1 +
arch/xtensa/lib/time.c | 1 +
board/Arcturus/ucp1020/cmd_arc.c | 1 +
board/Arcturus/ucp1020/ddr.c | 1 +
board/Arcturus/ucp1020/ucp1020.c | 1 +
board/BuR/brppt1/board.c | 2 +
board/BuR/brsmarc1/board.c | 1 +
board/BuR/brxre1/board.c | 1 +
board/CZ.NIC/turris_mox/turris_mox.c | 1 +
board/CZ.NIC/turris_omnia/turris_omnia.c | 2 +
board/Marvell/mvebu_armada-8k/board.c | 1 +
board/advantech/dms-ba16/dms-ba16.c | 1 +
board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c | 1 +
board/amarula/vyasa-rk3288/vyasa-rk3288.c | 1 +
board/aristainetos/aristainetos-v2.c | 1 +
board/armadeus/apf27/apf27.c | 1 +
board/armadeus/opos6uldev/board.c | 3 +-
board/armltd/integrator/integrator.c | 3 +-
board/armltd/integrator/pci.c | 1 +
board/armltd/integrator/timer.c | 1 +
board/armltd/vexpress/vexpress_common.c | 1 +
board/astro/mcf5373l/mcf5373l.c | 1 +
.../armadillo-800eva/armadillo-800eva.c | 1 +
board/atmel/at91sam9261ek/at91sam9261ek.c | 1 +
board/atmel/at91sam9261ek/led.c | 1 +
board/atmel/at91sam9263ek/at91sam9263ek.c | 1 +
board/atmel/at91sam9263ek/led.c | 1 +
.../atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 1 +
board/atmel/at91sam9m10g45ek/led.c | 1 +
board/atmel/at91sam9n12ek/at91sam9n12ek.c | 1 +
board/atmel/at91sam9rlek/at91sam9rlek.c | 1 +
board/atmel/at91sam9rlek/led.c | 1 +
board/atmel/at91sam9x5ek/at91sam9x5ek.c | 1 +
board/atmel/common/mac_eeprom.c | 1 +
board/atmel/common/video_display.c | 1 +
.../atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 1 +
board/atmel/sama5d2_icp/sama5d2_icp.c | 1 +
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 1 +
.../atmel/sama5d2_xplained/sama5d2_xplained.c | 1 +
.../atmel/sama5d3_xplained/sama5d3_xplained.c | 1 +
board/atmel/sama5d3xek/sama5d3xek.c | 1 +
.../atmel/sama5d4_xplained/sama5d4_xplained.c | 1 +
board/atmel/sama5d4ek/sama5d4ek.c | 1 +
board/beckhoff/mx53cx9020/mx53cx9020.c | 2 +
board/birdland/bav335x/board.c | 2 +
board/bluewater/gurnard/gurnard.c | 1 +
board/bosch/shc/board.c | 2 +
board/broadcom/bcm_ep/board.c | 1 +
board/broadcom/bcmstb/bcmstb.c | 3 +
board/bticino/mamoj/spl.c | 1 +
board/cadence/xtfpga/xtfpga.c | 1 +
board/cavium/thunderx/thunderx.c | 1 +
board/ccv/xpress/xpress.c | 1 +
.../popmetal_rk3288/popmetal-rk3288.c | 1 +
board/cirrus/edb93xx/edb93xx.c | 3 +
board/cobra5272/flash.c | 22 +-
board/compulab/cl-som-imx7/cl-som-imx7.c | 1 +
board/compulab/cm_fx6/cm_fx6.c | 1 +
board/compulab/cm_t335/cm_t335.c | 1 +
board/compulab/common/eeprom.c | 1 +
board/congatec/cgtqmx6eval/cgtqmx6eval.c | 1 +
.../conga-qeval20-qa3.c | 1 +
board/coreboot/coreboot/coreboot.c | 1 +
board/corscience/tricorder/tricorder-eeprom.c | 2 +
board/corscience/tricorder/tricorder.c | 1 +
board/cssi/MCR3000/MCR3000.c | 2 +
board/dfi/dfi-bt700/dfi-bt700.c | 1 +
board/dhelectronics/dh_imx6/dh_imx6.c | 2 +
board/eets/pdu001/board.c | 1 +
board/efi/efi-x86_payload/payload.c | 1 +
board/el/el6x/el6x.c | 1 +
board/embest/mx6boards/mx6boards.c | 1 +
board/emulation/qemu-riscv/qemu-riscv.c | 1 +
board/engicam/common/board.c | 2 +
board/engicam/common/spl.c | 1 +
board/esd/meesc/meesc.c | 2 +
board/esd/vme8349/pci.c | 1 +
board/freescale/b4860qds/b4860qds.c | 2 +
board/freescale/b4860qds/pci.c | 1 +
board/freescale/bsc9131rdb/ddr.c | 1 +
board/freescale/bsc9132qds/bsc9132qds.c | 1 +
board/freescale/bsc9132qds/ddr.c | 1 +
board/freescale/c29xpcie/c29xpcie.c | 1 +
board/freescale/common/p_corenet/pci.c | 1 +
board/freescale/common/sys_eeprom.c | 1 +
board/freescale/common/vid.c | 1 +
board/freescale/corenet_ds/corenet_ds.c | 1 +
board/freescale/corenet_ds/ddr.c | 1 +
board/freescale/imx8mq_evk/imx8mq_evk.c | 1 +
board/freescale/imx8qm_mek/imx8qm_mek.c | 1 +
board/freescale/imx8qxp_mek/imx8qxp_mek.c | 1 +
board/freescale/ls1021aiot/ls1021aiot.c | 1 +
board/freescale/ls1021aqds/ls1021aqds.c | 1 +
board/freescale/ls1021atsn/ls1021atsn.c | 1 +
board/freescale/ls1021atwr/ls1021atwr.c | 1 +
board/freescale/ls1043ardb/ddr.c | 1 +
board/freescale/m5253demo/flash.c | 1 +
board/freescale/m54455evb/m54455evb.c | 1 +
board/freescale/m547xevb/m547xevb.c | 1 +
board/freescale/m548xevb/m548xevb.c | 1 +
board/freescale/mpc8308rdb/mpc8308rdb.c | 1 +
board/freescale/mpc8313erdb/mpc8313erdb.c | 1 +
board/freescale/mpc8315erdb/mpc8315erdb.c | 1 +
board/freescale/mpc8323erdb/mpc8323erdb.c | 3 +
board/freescale/mpc832xemds/mpc832xemds.c | 1 +
board/freescale/mpc832xemds/pci.c | 1 +
board/freescale/mpc8349emds/pci.c | 1 +
board/freescale/mpc8349itx/pci.c | 1 +
board/freescale/mpc837xemds/mpc837xemds.c | 1 +
board/freescale/mpc837xemds/pci.c | 1 +
board/freescale/mpc837xerdb/pci.c | 1 +
board/freescale/mpc8536ds/mpc8536ds.c | 1 +
board/freescale/mpc8541cds/mpc8541cds.c | 2 +
board/freescale/mpc8544ds/mpc8544ds.c | 1 +
board/freescale/mpc8548cds/mpc8548cds.c | 2 +
board/freescale/mpc8555cds/mpc8555cds.c | 2 +
board/freescale/mpc8568mds/mpc8568mds.c | 1 +
board/freescale/mpc8569mds/mpc8569mds.c | 1 +
board/freescale/mpc8572ds/mpc8572ds.c | 1 +
board/freescale/mpc8610hpcd/mpc8610hpcd.c | 1 +
board/freescale/mpc8641hpcn/mpc8641hpcn.c | 1 +
board/freescale/mx25pdk/mx25pdk.c | 1 +
board/freescale/mx31pdk/mx31pdk.c | 1 +
board/freescale/mx35pdk/mx35pdk.c | 1 +
board/freescale/mx51evk/mx51evk.c | 1 +
board/freescale/mx53evk/mx53evk.c | 1 +
board/freescale/mx53loco/mx53loco.c | 1 +
board/freescale/mx6sabreauto/mx6sabreauto.c | 1 +
board/freescale/mx6sabresd/mx6sabresd.c | 1 +
board/freescale/mx6sllevk/mx6sllevk.c | 1 +
.../freescale/mx6sxsabreauto/mx6sxsabreauto.c | 1 +
board/freescale/mx6sxsabresd/mx6sxsabresd.c | 1 +
.../mx6ul_14x14_evk/mx6ul_14x14_evk.c | 1 +
board/freescale/mx6ullevk/mx6ullevk.c | 1 +
board/freescale/mx7dsabresd/mx7dsabresd.c | 1 +
board/freescale/p1010rdb/ddr.c | 1 +
board/freescale/p1010rdb/p1010rdb.c | 1 +
board/freescale/p1022ds/p1022ds.c | 1 +
board/freescale/p1023rdb/p1023rdb.c | 1 +
board/freescale/p1_p2_rdb_pc/ddr.c | 1 +
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 1 +
board/freescale/p1_twr/ddr.c | 1 +
board/freescale/p1_twr/p1_twr.c | 1 +
board/freescale/p2041rdb/p2041rdb.c | 1 +
board/freescale/qemu-ppce500/qemu-ppce500.c | 2 +
board/freescale/t102xqds/pci.c | 1 +
board/freescale/t102xqds/t102xqds.c | 1 +
board/freescale/t102xrdb/pci.c | 1 +
board/freescale/t102xrdb/t102xrdb.c | 1 +
board/freescale/t1040qds/pci.c | 1 +
board/freescale/t1040qds/t1040qds.c | 1 +
board/freescale/t104xrdb/pci.c | 1 +
board/freescale/t104xrdb/t104xrdb.c | 1 +
board/freescale/t208xqds/pci.c | 1 +
board/freescale/t208xqds/t208xqds.c | 1 +
board/freescale/t208xrdb/pci.c | 1 +
board/freescale/t208xrdb/t208xrdb.c | 1 +
board/freescale/t4qds/pci.c | 1 +
board/freescale/t4qds/t4240emu.c | 1 +
board/freescale/t4qds/t4240qds.c | 2 +
board/freescale/t4rdb/pci.c | 1 +
board/freescale/t4rdb/t4240rdb.c | 1 +
board/gardena/smart-gateway-at91sam/board.c | 1 +
board/gardena/smart-gateway-mt7688/board.c | 2 +
board/gdsys/a38x/controlcenterdc.c | 1 +
board/gdsys/a38x/hre.c | 1 +
board/gdsys/a38x/keyprogram.c | 1 +
board/gdsys/mpc8308/gazerbeam.c | 1 +
board/gdsys/mpc8308/hrcon.c | 1 +
board/gdsys/mpc8308/mpc8308.c | 1 +
board/gdsys/mpc8308/strider.c | 1 +
board/gdsys/p1022/controlcenterd-id.c | 2 +
board/gdsys/p1022/controlcenterd.c | 1 +
board/ge/bx50v3/bx50v3.c | 1 +
board/ge/mx53ppd/mx53ppd.c | 1 +
board/grinn/chiliboard/board.c | 1 +
board/grinn/liteboard/board.c | 2 +
board/gumstix/pepper/board.c | 1 +
board/highbank/highbank.c | 1 +
board/imgtec/boston/ddr.c | 1 +
board/imgtec/malta/malta.c | 1 +
board/intel/edison/edison.c | 1 +
board/intel/slimbootloader/slimbootloader.c | 1 +
board/inversepath/usbarmory/usbarmory.c | 1 +
board/isee/igep003x/board.c | 2 +
board/isee/igep00x0/spl.c | 1 +
board/k+p/kp_imx53/kp_imx53.c | 1 +
board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c | 1 +
board/keymile/km83xx/km83xx.c | 1 +
board/keymile/km_arm/km_arm.c | 1 +
board/keymile/kmp204x/kmp204x.c | 1 +
board/keymile/kmp204x/pci.c | 1 +
board/kosagi/novena/novena.c | 2 +
board/kosagi/novena/novena_spl.c | 1 +
board/laird/wb50n/wb50n.c | 1 +
board/liebherr/display5/spl.c | 1 +
board/liebherr/mccmon6/mccmon6.c | 2 +
board/liebherr/mccmon6/spl.c | 1 +
board/logicpd/am3517evm/am3517evm.c | 1 +
board/logicpd/imx6/imx6logic.c | 2 +
board/logicpd/omap3som/omap3logic.c | 2 +
board/menlo/m53menlo/m53menlo.c | 1 +
board/mini-box/picosam9g45/led.c | 1 +
board/mini-box/picosam9g45/picosam9g45.c | 1 +
board/mpc8308_p1m/mpc8308_p1m.c | 1 +
board/mscc/jr2/jr2.c | 1 +
board/mscc/luton/luton.c | 1 +
board/mscc/ocelot/ocelot.c | 1 +
board/mscc/serval/serval.c | 1 +
board/mscc/servalt/servalt.c | 1 +
board/overo/common.c | 1 +
board/phytec/pcm052/pcm052.c | 1 +
board/phytec/pcm058/pcm058.c | 1 +
board/phytec/pfla02/pfla02.c | 2 +
board/phytec/phycore_rk3288/phycore-rk3288.c | 2 +
.../dragonboard410c/dragonboard410c.c | 1 +
board/raspberrypi/rpi/rpi.c | 1 +
board/renesas/r2dplus/r2dplus.c | 1 +
board/renesas/r7780mp/r7780mp.c | 1 +
board/renesas/sh7752evb/sh7752evb.c | 1 +
board/renesas/sh7753evb/sh7753evb.c | 1 +
board/renesas/sh7757lcr/sh7757lcr.c | 1 +
board/rockchip/kylin_rk3036/kylin_rk3036.c | 1 +
board/rockchip/tinker_rk3288/tinker-rk3288.c | 2 +
board/ronetix/pm9261/led.c | 1 +
board/ronetix/pm9261/pm9261.c | 1 +
board/ronetix/pm9263/led.c | 1 +
board/samsung/arndale/arndale.c | 1 +
board/samsung/common/board.c | 1 +
board/samsung/common/misc.c | 1 +
board/sandbox/sandbox.c | 2 +
board/sbc8349/pci.c | 1 +
board/sbc8548/sbc8548.c | 1 +
board/sbc8641d/sbc8641d.c | 1 +
board/siemens/common/board.c | 1 +
board/siemens/draco/board.c | 1 +
board/siemens/pxm2/board.c | 1 +
board/siemens/rut/board.c | 1 +
board/silica/pengwyn/board.c | 1 +
board/softing/vining_2000/vining_2000.c | 1 +
board/softing/vining_fpga/socfpga.c | 3 +
board/solidrun/mx6cuboxi/mx6cuboxi.c | 1 +
board/spear/x600/x600.c | 1 +
board/st/stih410-b2260/board.c | 1 +
board/st/stm32f429-discovery/led.c | 1 +
board/st/stm32f746-disco/stm32f746-disco.c | 2 +
board/st/stm32h743-disco/stm32h743-disco.c | 1 +
board/st/stm32h743-eval/stm32h743-eval.c | 1 +
board/st/stm32mp1/stm32mp1.c | 1 +
board/sunxi/board.c | 1 +
board/synopsys/axs10x/axs10x.c | 1 +
board/synopsys/hsdk/hsdk.c | 3 +
board/syteco/zmx25/zmx25.c | 2 +
board/tcl/sl50/board.c | 2 +
board/technexion/pico-imx7d/pico-imx7d.c | 1 +
board/theadorable/theadorable.c | 3 +-
.../puma_rk3399/puma-rk3399.c | 1 +
board/ti/am335x/board.c | 1 +
board/ti/am43xx/board.c | 2 +
board/ti/am57xx/board.c | 2 +
board/ti/am65x/evm.c | 1 +
board/ti/beagle/beagle.c | 1 +
board/ti/common/board_detect.c | 1 +
board/ti/dra7xx/evm.c | 2 +
board/ti/evm/evm.c | 1 +
board/ti/j721e/evm.c | 1 +
board/ti/ks2_evm/board_k2g.c | 2 +
board/toradex/apalis-imx8/apalis-imx8.c | 1 +
board/toradex/apalis_imx6/apalis_imx6.c | 1 +
.../toradex/colibri-imx6ull/colibri-imx6ull.c | 1 +
board/toradex/colibri-imx8x/colibri-imx8x.c | 1 +
board/toradex/colibri_imx6/colibri_imx6.c | 1 +
board/toradex/colibri_pxa270/colibri_pxa270.c | 1 +
board/toradex/colibri_vf/colibri_vf.c | 1 +
board/tqc/tqm834x/pci.c | 1 +
board/tqc/tqma6/tqma6.c | 1 +
board/tqc/tqma6/tqma6_mba6.c | 1 +
board/tqc/tqma6/tqma6_wru4.c | 1 +
board/udoo/neo/neo.c | 1 +
board/udoo/udoo.c | 1 +
board/varisys/common/sys_eeprom.c | 1 +
board/varisys/cyrus/cyrus.c | 1 +
board/varisys/cyrus/pci.c | 1 +
board/ve8313/ve8313.c | 1 +
board/vscom/baltos/board.c | 2 +
board/wandboard/wandboard.c | 1 +
board/warp/warp.c | 1 +
board/warp7/warp7.c | 1 +
board/work-microwave/work_92105/work_92105.c | 1 +
board/xes/common/fsl_8xxx_pci.c | 1 +
board/xes/xpedite517x/xpedite517x.c | 1 +
board/xes/xpedite520x/xpedite520x.c | 1 +
board/xes/xpedite537x/xpedite537x.c | 1 +
board/xes/xpedite550x/xpedite550x.c | 1 +
.../microblaze-generic/microblaze-generic.c | 1 +
board/xilinx/versal/board.c | 2 +
board/xilinx/zynq/board.c | 1 +
board/xilinx/zynqmp/cmds.c | 1 +
board/xilinx/zynqmp/zynqmp.c | 2 +
cmd/bdinfo.c | 1 +
cmd/booti.c | 1 +
cmd/bootz.c | 1 +
cmd/cache.c | 1 +
cmd/disk.c | 1 +
cmd/eeprom.c | 1 +
cmd/efi.c | 1 +
cmd/elf.c | 1 +
cmd/fdc.c | 1 +
cmd/i2c.c | 3 +-
cmd/irq.c | 1 +
cmd/load.c | 2 +
cmd/mem.c | 9 +-
cmd/mp.c | 1 +
cmd/nvedit.c | 1 +
cmd/ti/ddr3.c | 1 +
cmd/ximg.c | 1 +
common/android_ab.c | 1 +
common/autoboot.c | 2 +
common/avb_verify.c | 1 +
common/bloblist.c | 1 +
common/board_f.c | 3 +
common/board_r.c | 5 +
common/bootm.c | 2 +
common/bootm_os.c | 1 +
common/bootretry.c | 1 +
common/bootstage.c | 1 +
common/bouncebuf.c | 1 +
common/cli.c | 1 +
common/cli_readline.c | 7 +-
common/cli_simple.c | 1 +
common/hash.c | 1 +
common/image-fit.c | 1 +
common/image.c | 3 +
common/iotrace.c | 2 +
common/kgdb_stubs.c | 2 +
common/lcd.c | 1 +
common/lcd_console.c | 1 +
common/main.c | 1 +
common/spl/spl.c | 14 ++
common/spl/spl_atf.c | 1 +
common/spl/spl_opensbi.c | 1 +
common/splash_source.c | 1 +
common/update.c | 1 +
disk/part_efi.c | 1 +
drivers/ata/ahci.c | 1 +
drivers/ata/dwc_ahsata.c | 1 +
drivers/ata/fsl_ahci.c | 1 +
drivers/ata/fsl_sata.c | 1 +
drivers/ata/sata_mv.c | 1 +
drivers/ata/sata_sil.c | 1 +
drivers/bootcount/bootcount.c | 1 +
drivers/bootcount/bootcount_ram.c | 1 +
drivers/clk/clk_stm32mp1.c | 2 +
drivers/clk/mpc83xx_clk.c | 1 +
drivers/core/device.c | 1 +
drivers/cpu/mpc83xx_cpu.c | 1 +
drivers/crypto/fsl/fsl_blob.c | 1 +
drivers/crypto/fsl/fsl_hash.c | 1 +
drivers/crypto/fsl/jobdesc.c | 1 +
drivers/crypto/fsl/jr.c | 2 +
drivers/ddr/altera/sdram_arria10.c | 1 +
drivers/ddr/altera/sdram_s10.c | 1 +
drivers/dma/apbh_dma.c | 1 +
drivers/dma/bcm6348-iudma.c | 1 +
drivers/dma/dma-uclass.c | 1 +
drivers/dma/ti/k3-udma.c | 1 +
drivers/fastboot/fb_command.c | 1 +
drivers/fastboot/fb_common.c | 1 +
drivers/firmware/psci.c | 1 +
drivers/fpga/versalpl.c | 1 +
drivers/fpga/zynqmppl.c | 1 +
drivers/fpga/zynqpl.c | 1 +
drivers/i2c/fsl_i2c.c | 1 +
drivers/mailbox/mailbox-uclass.c | 1 +
drivers/misc/atsha204a-i2c.c | 1 +
drivers/misc/i2c_eeprom.c | 1 +
drivers/misc/pca9551_led.c | 1 +
drivers/misc/status_led.c | 8 +-
drivers/misc/tegra186_bpmp.c | 1 +
drivers/mmc/bcm2835_sdhci.c | 1 +
drivers/mmc/dw_mmc.c | 1 +
drivers/mmc/fsl_esdhc.c | 1 +
drivers/mmc/fsl_esdhc_imx.c | 1 +
drivers/mmc/fsl_esdhc_spl.c | 1 +
drivers/mmc/meson_gx_mmc.c | 1 +
drivers/mmc/mxcmmc.c | 1 +
drivers/mmc/omap_hsmmc.c | 1 +
drivers/mmc/sdhci.c | 1 +
drivers/mmc/stm32_sdmmc2.c | 1 +
drivers/mmc/tmio-common.c | 1 +
drivers/mtd/cfi_flash.c | 1 +
drivers/mtd/mw_eeprom.c | 1 +
drivers/mtd/nand/raw/denali.c | 1 +
drivers/mtd/nand/raw/fsl_elbc_nand.c | 1 +
drivers/mtd/nand/raw/fsl_elbc_spl.c | 1 +
drivers/mtd/nand/raw/fsl_ifc_nand.c | 1 +
drivers/mtd/nand/raw/fsl_ifc_spl.c | 1 +
drivers/mtd/nand/raw/mxs_nand.c | 1 +
drivers/mtd/pic32_flash.c | 2 +
drivers/mtd/spi/fsl_espi_spl.c | 1 +
drivers/mtd/ubi/attach.c | 1 +
drivers/mtd/ubi/crc32.c | 1 +
drivers/mtd/ubi/eba.c | 1 +
drivers/mtd/ubi/fastmap.c | 1 +
drivers/mtd/ubi/io.c | 1 +
drivers/mtd/ubi/vtbl.c | 1 +
drivers/mtd/ubispl/ubispl.c | 1 +
drivers/net/ag7xxx.c | 1 +
drivers/net/altera_tse.c | 1 +
drivers/net/bcm-sf2-eth-gmac.c | 1 +
drivers/net/designware.c | 1 +
drivers/net/dwc_eth_qos.c | 1 +
drivers/net/e1000.c | 1 +
drivers/net/ethoc.c | 1 +
drivers/net/fec_mxc.c | 1 +
drivers/net/fm/fdt.c | 1 +
drivers/net/fm/fm.c | 1 +
drivers/net/fsl-mc/mc.c | 2 +
drivers/net/fsl_mcdmafec.c | 1 +
drivers/net/ftgmac100.c | 1 +
drivers/net/ftmac100.c | 1 +
drivers/net/higmacv300.c | 1 +
drivers/net/ldpaa_eth/ldpaa_eth.c | 1 +
drivers/net/ldpaa_eth/ls1088a.c | 1 +
drivers/net/ldpaa_eth/lx2160a.c | 1 +
drivers/net/macb.c | 1 +
drivers/net/mcffec.c | 1 +
drivers/net/mcfmii.c | 1 +
drivers/net/mpc8xx_fec.c | 1 +
drivers/net/mt7628-eth.c | 1 +
drivers/net/mtk_eth.c | 1 +
drivers/net/mvneta.c | 1 +
drivers/net/mvpp2.c | 1 +
drivers/net/pch_gbe.c | 1 +
drivers/net/pcnet.c | 1 +
drivers/net/pic32_eth.c | 3 +
drivers/net/ravb.c | 1 +
drivers/net/rtl8139.c | 1 +
drivers/net/rtl8169.c | 1 +
drivers/net/sh_eth.c | 1 +
drivers/net/sni_ave.c | 1 +
drivers/net/sun8i_emac.c | 1 +
drivers/net/ti/cpsw.c | 1 +
drivers/net/ti/davinci_emac.c | 1 +
drivers/net/xilinx_axi_emac.c | 1 +
drivers/net/zynq_gem.c | 1 +
drivers/nvme/nvme.c | 2 +
drivers/pci/pci.c | 1 +
drivers/pci/pcie_imx.c | 1 +
drivers/power/pmic/stpmic1.c | 1 +
drivers/qe/qe.c | 1 +
drivers/remoteproc/rproc-elf-loader.c | 1 +
drivers/rtc/rv3029.c | 1 +
drivers/serial/usbtty.c | 1 +
drivers/sound/broadwell_i2s.c | 1 +
drivers/spi/ath79_spi.c | 1 +
drivers/spi/exynos_spi.c | 1 +
drivers/spi/mxs_spi.c | 1 +
drivers/spi/rk_spi.c | 1 +
drivers/spi/tegra114_spi.c | 1 +
drivers/spi/tegra20_sflash.c | 1 +
drivers/spi/tegra20_slink.c | 1 +
drivers/spi/tegra210_qspi.c | 1 +
drivers/spi/ti_qspi.c | 1 +
drivers/spi/uniphier_spi.c | 1 +
drivers/spi/zynq_spi.c | 1 +
drivers/spi/zynqmp_gqspi.c | 1 +
drivers/timer/mpc83xx_timer.c | 7 +-
drivers/timer/tsc_timer.c | 1 +
drivers/tpm/tpm2_tis_sandbox.c | 2 +-
drivers/tpm/tpm_tis_sandbox.c | 2 +-
drivers/usb/dwc3/core.c | 1 +
drivers/usb/dwc3/dwc3-generic.c | 1 +
drivers/usb/dwc3/ep0.c | 1 +
drivers/usb/dwc3/gadget.c | 1 +
drivers/usb/dwc3/io.h | 1 +
drivers/usb/gadget/ci_udc.c | 1 +
drivers/usb/gadget/core.c | 1 +
drivers/usb/gadget/designware_udc.c | 1 +
drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c | 3 +
drivers/usb/gadget/ep0.c | 3 +-
drivers/usb/gadget/f_thor.c | 1 +
drivers/usb/gadget/fotg210.c | 1 +
drivers/usb/host/dwc2.c | 1 +
drivers/usb/host/ehci-hcd.c | 1 +
drivers/usb/host/ohci-hcd.c | 1 +
drivers/usb/host/xhci-mem.c | 1 +
drivers/usb/host/xhci-ring.c | 1 +
drivers/usb/host/xhci.c | 1 +
drivers/usb/musb-new/omap2430.c | 1 +
drivers/usb/musb/musb_udc.c | 1 +
drivers/usb/musb/omap3.c | 1 +
drivers/video/atmel_hlcdfb.c | 1 +
drivers/video/cfb_console.c | 1 +
drivers/video/fsl_dcu_fb.c | 1 +
drivers/video/sunxi/sunxi_display.c | 3 +
drivers/video/sunxi/sunxi_dw_hdmi.c | 1 +
drivers/video/video-uclass.c | 1 +
env/common.c | 2 +
env/eeprom.c | 2 +
env/flash.c | 1 +
env/nand.c | 1 +
env/nvram.c | 1 +
env/remote.c | 1 +
env/sf.c | 1 +
examples/api/glue.c | 1 +
fs/jffs2/jffs2_1pass.c | 1 +
fs/ubifs/io.c | 1 +
fs/ubifs/recovery.c | 1 +
fs/ubifs/tnc.c | 1 +
fs/yaffs2/yaffs_qsort.c | 1 +
include/bootcount.h | 14 +-
include/command.h | 16 ++
include/common.h | 212 +-----------------
include/cpu_legacy.h | 87 +++++++
include/eeprom_legacy.h | 24 ++
include/exports.h | 4 +
include/init.h | 33 ++-
include/irq_legacy.h | 24 ++
include/linux/crc8.h | 23 --
include/linux/mii.h | 2 +
include/lz4.h | 24 ++
include/net.h | 22 +-
include/rand.h | 40 ++++
include/serial.h | 37 ++-
include/sort.h | 34 +++
include/status_led.h | 4 +-
include/time.h | 42 ++++
include/u-boot/crc.h | 89 +++++++-
include/vsprintf.h | 10 +
lib/Makefile | 4 +-
lib/crc32.c | 5 +-
lib/crc8.c | 7 +-
lib/efi_loader/efi_boottime.c | 3 +
lib/efi_loader/efi_console.c | 1 +
lib/efi_loader/efi_image_loader.c | 1 +
lib/efi_loader/efi_memory.c | 1 +
lib/efi_loader/efi_runtime.c | 2 +
lib/efi_loader/efi_variable.c | 1 +
lib/efi_selftest/efi_selftest_config_table.c | 1 +
lib/efi_selftest/efi_selftest_crc32.c | 1 +
lib/gunzip.c | 1 +
lib/hashtable.c | 1 +
lib/lz4_wrapper.c | 1 +
lib/qsort.c | 1 +
lib/rand.c | 1 +
lib/strmhz.c | 21 --
lib/time.c | 1 +
lib/trace.c | 1 +
lib/uuid.c | 1 +
lib/vsprintf.c | 17 ++
lib/zlib/deflate.c | 1 +
net/link_local.c | 1 +
net/net.c | 3 -
net/nfs.c | 1 +
post/cpu/mpc83xx/ecc.c | 3 +
post/lib_powerpc/andi.c | 1 +
post/lib_powerpc/b.c | 1 +
post/lib_powerpc/cmp.c | 1 +
post/lib_powerpc/cmpi.c | 1 +
post/lib_powerpc/complex.c | 1 +
post/lib_powerpc/cpu.c | 7 +-
post/lib_powerpc/cr.c | 1 +
post/lib_powerpc/load.c | 1 +
post/lib_powerpc/multi.c | 1 +
post/lib_powerpc/rlwimi.c | 1 +
post/lib_powerpc/rlwinm.c | 1 +
post/lib_powerpc/rlwnm.c | 1 +
post/lib_powerpc/srawi.c | 1 +
post/lib_powerpc/store.c | 1 +
post/lib_powerpc/string.c | 1 +
post/lib_powerpc/three.c | 1 +
post/lib_powerpc/threei.c | 1 +
post/lib_powerpc/threex.c | 1 +
post/lib_powerpc/two.c | 1 +
post/lib_powerpc/twox.c | 1 +
post/post.c | 1 +
scripts/config_whitelist.txt | 1 -
test/command_ut.c | 1 +
test/compression.c | 1 +
test/dm/sf.c | 1 +
test/time_ut.c | 1 +
tools/default_image.c | 1 +
tools/env/fw_env.c | 1 +
tools/env/fw_env.h | 2 -
tools/envcrc.c | 5 +-
tools/mkenvimage.c | 1 +
tools/mxsimage.c | 1 +
tools/pbl_crc32.c | 1 +
tools/pblimage.c | 1 +
tools/socfpgaimage.c | 1 +
836 files changed, 1593 insertions(+), 457 deletions(-)
create mode 100644 include/cpu_legacy.h
create mode 100644 include/eeprom_legacy.h
create mode 100644 include/irq_legacy.h
delete mode 100644 include/linux/crc8.h
create mode 100644 include/lz4.h
create mode 100644 include/rand.h
create mode 100644 include/sort.h
delete mode 100644 lib/strmhz.c
--
2.24.0.rc1.363.gb1bccd3e3d-goog
2
84

[U-Boot] [PATCH 1/7] phy: generic: add error trace to detect PHY issue in uclass
by Patrick Delaunay 12 Nov '19
by Patrick Delaunay 12 Nov '19
12 Nov '19
Add an error trace for PHY errors directly in generic phy
functions provided by PHY uclass.
Signed-off-by: Patrick Delaunay <patrick.delaunay(a)st.com>
---
This patch is requested by Marek Vasut to avoid code duplication
in usb host serie for dwc2:
See http://patchwork.ozlabs.org/patch/1176048/#2297595
[U-Boot,RESEND,1/5] usb: host: dwc2: add phy support
drivers/phy/phy-uclass.c | 40 +++++++++++++++++++++++++++++++++++-----
1 file changed, 35 insertions(+), 5 deletions(-)
diff --git a/drivers/phy/phy-uclass.c b/drivers/phy/phy-uclass.c
index e201a90c8c..363985b881 100644
--- a/drivers/phy/phy-uclass.c
+++ b/drivers/phy/phy-uclass.c
@@ -109,56 +109,86 @@ int generic_phy_get_by_name(struct udevice *dev, const char *phy_name,
int generic_phy_init(struct phy *phy)
{
struct phy_ops const *ops;
+ int ret;
if (!phy)
return 0;
ops = phy_dev_ops(phy->dev);
- return ops->init ? ops->init(phy) : 0;
+ ret = ops->init ? ops->init(phy) : 0;
+ if (ret)
+ dev_err(phy->dev, "PHY: Failed to init %s: %d.\n",
+ phy->dev->name, ret);
+
+ return ret;
}
int generic_phy_reset(struct phy *phy)
{
struct phy_ops const *ops;
+ int ret;
if (!phy)
return 0;
ops = phy_dev_ops(phy->dev);
- return ops->reset ? ops->reset(phy) : 0;
+ ret = ops->reset ? ops->reset(phy) : 0;
+ if (ret)
+ dev_err(phy->dev, "PHY: Failed to reset %s: %d.\n",
+ phy->dev->name, ret);
+
+ return ret;
}
int generic_phy_exit(struct phy *phy)
{
struct phy_ops const *ops;
+ int ret;
if (!phy)
return 0;
ops = phy_dev_ops(phy->dev);
- return ops->exit ? ops->exit(phy) : 0;
+ ret = ops->exit ? ops->exit(phy) : 0;
+ if (ret)
+ dev_err(phy->dev, "PHY: Failed to exit %s: %d.\n",
+ phy->dev->name, ret);
+
+ return ret;
}
int generic_phy_power_on(struct phy *phy)
{
struct phy_ops const *ops;
+ int ret;
if (!phy)
return 0;
ops = phy_dev_ops(phy->dev);
- return ops->power_on ? ops->power_on(phy) : 0;
+ ret = ops->power_on ? ops->power_on(phy) : 0;
+ if (ret)
+ dev_err(phy->dev, "PHY: Failed to power on %s: %d.\n",
+ phy->dev->name, ret);
+
+ return ret;
}
int generic_phy_power_off(struct phy *phy)
{
struct phy_ops const *ops;
+ int ret;
if (!phy)
return 0;
ops = phy_dev_ops(phy->dev);
- return ops->power_off ? ops->power_off(phy) : 0;
+ ret = ops->power_off ? ops->power_off(phy) : 0;
+ if (ret)
+ dev_err(phy->dev, "PHY: Failed to power off %s: %d.\n",
+ phy->dev->name, ret);
+
+ return ret;
}
UCLASS_DRIVER(phy) = {
--
2.17.1
1
6

[U-Boot] [PATCH v2 0/4] usb: host: dwc2: use driver model for PHY and CLOCK
by Patrick Delaunay 12 Nov '19
by Patrick Delaunay 12 Nov '19
12 Nov '19
In this serie I update the DWC2 host driver to use the device tree
information and the associated PHY and CLOCK drivers when they are
available.
I test this serie on stm32mp157c-ev1 board, with PHY and CLK
support
The U-CLASS are provided by:
- PHY by USBPHYC driver = ./drivers/phy/phy-stm32-usbphyc.c
- CLOCK by RCC clock driver = drivers/clk/clk_stm32mp1.c
- RESET by RCC reset driver = drivers/reset/stm32-reset.c
And I activate the configuration
+CONFIG_USB_DWC2=y
PS: it is not the default configuration to avoid conflict with gadget
driver
To solve a binding issue, I also deactivate the gadget support:
by default only one driver is bound to theusbotg_hs node with "snps,dwc2"
compatible, and today it is the device one (the first in the driver list).
I also need to deactivate hnp-srp support with:
&usbotg_hs {
/* need to disable ONLY for HOST support */
hnp-srp-disable;
};
WARNING: OTG with device or host support is not correctly handle by DWC2
driver (see example for dynamic OTG role in DWC3 driver).
The tests executed on the stm32mp157c-ev1 target:
STM32MP> usb start
starting USB...
Bus usb-otg@49000000: USB DWC2
Bus usbh-ehci@5800d000: USB EHCI 1.00
scanning bus usb-otg@49000000 for devices... 2 USB Device(s) found
scanning bus usbh-ehci@5800d000 for devices... 3 USB Device(s) found
scanning usb for storage devices... 2 Storage Device(s) found
STM32MP> usb tree
USB device tree:
1 Hub (480 Mb/s, 0mA)
| U-Boot Root Hub
|
+-2 Mass Storage (480 Mb/s, 300mA)
Verbatim STORE N GO 070731C8ACD7EE97
1 Hub (480 Mb/s, 0mA)
| u-boot EHCI Host Controller
|
+-2 Hub (480 Mb/s, 2mA)
|
+-3 Mass Storage (480 Mb/s, 500mA)
Generic USB Storage
STM32MP> ls usb 0
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
<DIR> 4096 record
1490212 xipImage
21058006 vmlinux
STM32MP> load usb 0 0xC0000000 vmlinux
21058006 bytes read in 10851 ms (1.9 MiB/s)
Changes in v2:
- update dev_err
- update commit message
- change dev_err to dev_dbg for PHY function call
- treat dwc2_shutdown_phy error
- add clk_disable_bulk in dwc2_usb_remove
Patrick Delaunay (4):
usb: host: dwc2: add phy support
usb: host: dwc2: add clk support
usb: host: dwc2: force reset assert
usb: host: dwc2: add trace to have clean usb start
drivers/usb/host/dwc2.c | 100 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 99 insertions(+), 1 deletion(-)
--
2.17.1
5
9

[U-Boot] [PATCH] env: Access Environment in SPI flashes before relocation
by Heiko Schocher 12 Nov '19
by Heiko Schocher 12 Nov '19
12 Nov '19
Enable the new Kconfig option ENV_SPI_EARLY if you want
to use Environment in SPI flash before relocation.
Call env_init() and than you can use env_get_f() for
accessing Environment variables.
Signed-off-by: Heiko Schocher <hs(a)denx.de>
---
travis build:
https://travis-ci.org/hsdenx/u-boot-test/builds/609101712
env/Kconfig | 8 ++++
env/sf.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 117 insertions(+)
diff --git a/env/Kconfig b/env/Kconfig
index bc03816bc8..f2e1e1ba87 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -370,6 +370,14 @@ config ENV_SPI_MODE
Value of the SPI work mode for environment.
See include/spi.h for value.
+config ENV_SPI_EARLY
+ bool "Access Environment in SPI flashes before relocation"
+ depends on ENV_IS_IN_SPI_FLASH
+ help
+ Enable this if you want to use Environment in SPI flash
+ before relocation. Call env_init() and than you can use
+ env_get_f() for accessing Environment variables.
+
config ENV_IS_IN_UBI
bool "Environment in a UBI volume"
depends on !CHAIN_OF_TRUST
diff --git a/env/sf.c b/env/sf.c
index 590d0cedd8..c4dd7dc611 100644
--- a/env/sf.c
+++ b/env/sf.c
@@ -308,6 +308,113 @@ static int env_sf_init(void)
}
#endif
+#if defined(CONFIG_ENV_SPI_EARLY)
+static int env_sf_init_early(void)
+{
+ int ret;
+ int read1_fail;
+ int crc1_ok;
+#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
+ int crc2_ok;
+ int read2_fail;
+#endif
+
+ /*
+ * if malloc is not ready yet, we cannot use
+ * this part yet.
+ */
+ if (!gd->malloc_limit)
+ return -ENOENT;
+
+ env_t *tmp_env2 = NULL;
+ env_t *tmp_env1;
+
+ tmp_env1 = (env_t *)memalign(ARCH_DMA_MINALIGN,
+ CONFIG_ENV_SIZE);
+#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
+ tmp_env2 = (env_t *)memalign(ARCH_DMA_MINALIGN,
+ CONFIG_ENV_SIZE);
+#endif
+ if (!tmp_env1 || !tmp_env2)
+ goto out;
+
+ ret = setup_flash_device();
+ if (ret)
+ goto out;
+
+ read1_fail = spi_flash_read(env_flash, CONFIG_ENV_OFFSET,
+ CONFIG_ENV_SIZE, tmp_env1);
+ crc1_ok = crc32(0, tmp_env1->data, ENV_SIZE) ==
+ tmp_env1->crc;
+#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
+ read2_fail = spi_flash_read(env_flash, CONFIG_ENV_OFFSET_REDUND,
+ CONFIG_ENV_SIZE, tmp_env2);
+ crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) ==
+ tmp_env2->crc;
+ if (read1_fail && read2_fail) {
+ goto err_read;
+ } else if (!read1_fail && read2_fail) {
+ if (!crc1_ok)
+ goto err_read;
+ gd->env_valid = ENV_VALID;
+ } else if (read1_fail && !read2_fail) {
+ if (!crc2_ok)
+ goto err_read;
+ gd->env_valid = ENV_REDUND;
+ } else {
+ /* both environments read */
+ if (!crc1_ok && !crc2_ok) {
+ goto err_read;
+ } else if (crc1_ok && !crc2_ok) {
+ gd->env_valid = ENV_VALID;
+ } else if (!crc1_ok && crc2_ok) {
+ gd->env_valid = ENV_REDUND;
+ } else {
+ /* both ok - check serial */
+ if (tmp_env1->flags == 255 && tmp_env2->flags == 0)
+ gd->env_valid = ENV_REDUND;
+ else if (tmp_env2->flags == 255 && tmp_env1->flags == 0)
+ gd->env_valid = ENV_VALID;
+ else if (tmp_env1->flags > tmp_env2->flags)
+ gd->env_valid = ENV_VALID;
+ else if (tmp_env2->flags > tmp_env1->flags)
+ gd->env_valid = ENV_REDUND;
+ else /* flags are equal - almost impossible */
+ gd->env_valid = ENV_VALID;
+ }
+ }
+ if (gd->env_valid == ENV_VALID)
+ gd->env_addr = (unsigned long)&tmp_env1->data;
+ else
+ gd->env_addr = (unsigned long)&tmp_env2->data;
+
+#else
+ if (read1_fail)
+ goto err_read;
+
+ /* check crc */
+ if (!crc1_ok)
+ goto err_read;
+
+ /* if valid -> this is our env */
+ gd->env_valid = ENV_VALID;
+ gd->env_addr = tmp_env1;
+#endif
+
+ return 0;
+err_read:
+ spi_flash_free(env_flash);
+ env_flash = NULL;
+ free(tmp_env1);
+#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
+ free(tmp_env2);
+#endif
+out:
+ /* return ENOENT else U-Boot will hang */
+ return -ENOENT;
+}
+#endif
+
U_BOOT_ENV_LOCATION(sf) = {
.location = ENVL_SPI_FLASH,
ENV_NAME("SPI Flash")
@@ -317,5 +424,7 @@ U_BOOT_ENV_LOCATION(sf) = {
#endif
#if defined(INITENV) && defined(CONFIG_ENV_ADDR)
.init = env_sf_init,
+#elif defined(CONFIG_ENV_SPI_EARLY)
+ .init = env_sf_init_early,
#endif
};
--
2.21.0
2
4

[U-Boot] [PATCH v4] gitattributes: dont treat non-text files as text
by Veeraiyan Chidambaram 12 Nov '19
by Veeraiyan Chidambaram 12 Nov '19
12 Nov '19
From: Vignesh Rajendran <vignesh.rajendran(a)in.bosch.com>
With recent update in u-boot gitattributes all files are treated as regular
text files. This creates problems with special files and repo always
shows uncommitted files like below.
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: tools/logos/compulab.bmp
modified: tools/logos/denx-comp.bmp
modified: tools/logos/toradex.bmp
To fix above problem special files bmp/ttf files are treated as binary
files in the gitattributes.
Signed-off-by: Vignesh Rajendran <vignesh.rajendran(a)in.bosch.com>
Signed-off-by: Veeraiyan Chidambaram <veeraiyan.chidambaram(a)in.bosch.com>
---
.gitattributes | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitattributes b/.gitattributes
index 8560b794c0a7..899473ab0fbb 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,5 @@
# Declare files that always have LF line endings on checkout
* text eol=lf
+# Denote all files that are truly binary and should not be modified
+*.bmp binary
+*.ttf binary
--
2.7.4
2
1
The generated idbloader.img file that rockchip uses should
be not included in git status report
Signed-off-by: Michael Trimarchi <michael(a)amarulasolutions.com>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index d8b7b77844..f980ae6f70 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@
*.gcda
*.gcno
*.i
+*.img
*.lex.c
*.lst
*.mod.c
--
2.17.1
2
1
Hey all,
It's release day and here is v2020.01-rc2. Most of the outstanding
patches I know about that are "big" are also in, except for the MTD
clean-up series. That in turn depends on some ENV related clean-ups
that I'm doing. As the expression goes, it's turtles all the way down.
Once again, for a changelog,
git log --merges v2020.01-rc1..v2020.01-rc2
and as always, I ask for more details in the PRs people send me so I can
put them in the merge commit.
I'm planning on doing -rc3 on the 25th of November with -rc4 on December
9th and -rc5 on December 23rd with the release scheduled on January 6th.
Thanks all!
--
Tom
1
0
Hi Tom,
Please pull the rockchip update:
- Add support for rockchip pmic rk805,rk809, rk816, rk817
- Add rk3399 board Leez support
- Fix bug in rk3328 ram driver
- Adapt SPL to support ATF bl31 with entry at 0x40000
Fix the u8 type comparision with '-1'.
Fix checkpatch warning for multi blank line and review signature.
Travis:
https://travis-ci.org/keveryang/u-boot/builds/608622183
Thanks,
- Kever
The following changes since commit 0f282c1876af26cc2c8c018ae6293a691561011e:
Makefile: fix dependency for imx targets (2019-11-06 09:22:32 -0500)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20191110
for you to fetch changes up to f74a089e47e0b485fb70dcadfbf093daf64a740a:
rockchip: firefly-rk3288: Enable TPL support (2019-11-10 20:40:20 +0800)
----------------------------------------------------------------
Andy Yan (1):
rockchip: rk3399: Add Leez P710 support
Elaine Zhang (3):
power: regulator: rk8xx: update the driver for rk808 and rk818
power: pmic: rk816: support rk816 pmic
power: pmic: rk805: support rk805 pmic
Emmanuel Vadot (1):
rockchip: dts: rk3328: rock64: Add same-as-spl order
Heiko Stuebner (1):
rockchip: make_fit_atf.py: allow inclusion of a tee binary
Joseph Chen (4):
dm: regulator: support regulator more state
power: pmic: rk817: support rk817 pmic
power: pmic: rk809: support rk809 pmic
common: spl: atf: support booting bl32 image
Kever Yang (6):
rockchip: rk3399: defconfig: no need to reserve IRAM for SPL
rockchip: rk3328: defconfig: no need to reserve IRAM for SPL
rockchip: evb-px5: defconfig: no need to reserve IRAM for SPL
rockchip: rk3399: update SPL_STACK_R_ADDR
rockchip: config: update CONFIG_SPL_MAX_SIZE for 64bit CPUs
rockchip: firefly-rk3288: Enable TPL support
Levin Du (1):
rockchip: adding the missing "/" in entries of boot_devices
Simon South (3):
clk: rockchip: rk3328: Configure CPU clock
ram: rk3328: Use correct frequency units in function
ram: rk3328: Fix loading of skew values
arch/arm/dts/Makefile | 1 +
arch/arm/dts/rk3328-rock64-u-boot.dtsi | 5 +
arch/arm/dts/rk3399-leez-p710-u-boot.dtsi | 13 +
arch/arm/dts/rk3399-leez-p710.dts | 645 ++++++++++++++++
arch/arm/include/asm/arch-rockchip/cru_rk3328.h | 3 +
arch/arm/mach-rockchip/make_fit_atf.py | 52 +-
arch/arm/mach-rockchip/rk3188/rk3188.c | 4 +-
arch/arm/mach-rockchip/rk322x/rk322x.c | 4 +-
arch/arm/mach-rockchip/rk3288/Kconfig | 1 +
arch/arm/mach-rockchip/rk3288/rk3288.c | 4 +-
arch/arm/mach-rockchip/rk3328/rk3328.c | 4 +-
arch/arm/mach-rockchip/rk3368/rk3368.c | 4 +-
arch/arm/mach-rockchip/rk3399/Kconfig | 3 +
board/rockchip/evb_rk3399/MAINTAINERS | 6 +
common/spl/spl_atf.c | 48 +-
configs/chromebook_bob_defconfig | 1 -
configs/evb-px5_defconfig | 1 -
configs/evb-rk3328_defconfig | 1 -
configs/evb-rk3399_defconfig | 2 -
configs/ficus-rk3399_defconfig | 1 -
configs/firefly-rk3288_defconfig | 5 +-
configs/firefly-rk3399_defconfig | 2 -
configs/khadas-edge-captain-rk3399_defconfig | 2 -
configs/khadas-edge-rk3399_defconfig | 2 -
configs/khadas-edge-v-rk3399_defconfig | 2 -
configs/leez-rk3399_defconfig | 56 ++
configs/nanopc-t4-rk3399_defconfig | 2 -
configs/nanopi-m4-rk3399_defconfig | 2 -
configs/nanopi-neo4-rk3399_defconfig | 2 -
configs/orangepi-rk3399_defconfig | 2 -
configs/puma-rk3399_defconfig | 1 -
configs/roc-rk3399-pc_defconfig | 2 -
configs/rock-pi-4-rk3399_defconfig | 2 -
configs/rock64-rk3328_defconfig | 1 -
configs/rock960-rk3399_defconfig | 1 -
configs/rockpro64-rk3399_defconfig | 2 -
doc/device-tree-bindings/regulator/regulator.txt | 27 +
drivers/clk/rockchip/clk_rk3328.c | 2 +
drivers/power/pmic/rk8xx.c | 89 ++-
drivers/power/regulator/regulator-uclass.c | 70 ++
drivers/power/regulator/rk8xx.c | 939 +++++++++++++++++++++--
drivers/ram/rockchip/sdram_rk3328.c | 6 +-
include/configs/rk3328_common.h | 2 +-
include/configs/rk3368_common.h | 2 +-
include/configs/rk3399_common.h | 2 +-
include/power/regulator.h | 63 ++
include/power/rk8xx_pmic.h | 42 +
test/dm/regulator.c | 57 ++
48 files changed, 2032 insertions(+), 158 deletions(-)
create mode 100644 arch/arm/dts/rk3399-leez-p710-u-boot.dtsi
create mode 100644 arch/arm/dts/rk3399-leez-p710.dts
create mode 100644 configs/leez-rk3399_defconfig
2
1
Dear Tom,
Please find my pull-request for u-boot-fsl-qoriq/master
https://travis-ci.org/p-priyanka-jain/u-boot/builds/609183013
Summary
Rename CONFIG_SECURE_BOOT to CONFIG_NXP_ESBC.
Few bug fixes and updates related to SPI, hwconfig, ethernet, fsl-layerscape, pci, icid, PSCI
priyankajain
--------------------------------------------------
The following changes since commit d9110878895634cd9e8bf891c832d2a58b36863c:
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx (2019-11-07 07:25:14 -0500)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq.git HEAD
for you to fetch changes up to bef18454044e62800ece687b8d50ddd853117660:
freescale/powerpc: Rename the config CONFIG_SECURE_BOOT name (2019-11-08 16:32:08 +0530)
----------------------------------------------------------------
Laurentiu Tudor (6):
armv8: fsl-layerscape: guard caam specific defines
fsl-layerscape: fix compile error with sec fw disabled
armv8: ls2088a: add icid setup for platform devices
fsl-layerscape: add missing SATA3 and SATA4 base addresses
armv8: lx2160a: add icid setup for platform devices
armv8: ls1028a: add erratum A-050382 workaround
Mathew McBride (2):
armv8: dts: ls1088a: add PSCI binding for LS1088A
fsl-layerscape: do not use layerscape EFI reset if PSCI used
Michael Walle (4):
armv8: fsl-lsch3: convert CONFIG_TARGET_x to CONFIG_ARCH_x
armv8: fsl-layerscape: introduce fsl_board_late_init()
drivers: net: fsl_enetc: set phydev->node
drivers: net: fsl_enetc: fix RGMII configuration
Pankaj Bansal (2):
pci: layerscape: Only set EP CFG READY bit
fsl-layerscape: fix warning if no hwconfig is defined
Udit Agarwal (2):
freescale/layerscape: Rename the config CONFIG_SECURE_BOOT name
freescale/powerpc: Rename the config CONFIG_SECURE_BOOT name
Xiaowei Bao (1):
configs: spi: Add the SPI_FLASH_BAR for ESPI
arch/arm/cpu/armv7/ls102xa/Kconfig | 4 +-
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 7 +++-
arch/arm/cpu/armv8/fsl-layerscape/Makefile | 2 +
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 6 ++-
.../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 10 ++---
arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c | 2 +
arch/arm/cpu/armv8/fsl-layerscape/ls1088_ids.c | 2 +
arch/arm/cpu/armv8/fsl-layerscape/ls2088_ids.c | 35 ++++++++++++++++
arch/arm/cpu/armv8/fsl-layerscape/lx2160_ids.c | 48 ++++++++++++++++++++++
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 10 ++++-
arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +-
arch/arm/dts/fsl-ls1088a.dtsi | 5 +++
.../arm/include/asm/arch-fsl-layerscape/fsl_icid.h | 2 +- .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 6 ++-
.../asm/arch-fsl-layerscape/stream_id_lsch3.h | 17 ++++++++
arch/powerpc/cpu/mpc85xx/Kconfig | 4 +-
arch/powerpc/cpu/mpc85xx/cpu_init.c | 8 ++--
arch/powerpc/cpu/mpc85xx/start.S | 10 ++---
arch/powerpc/cpu/mpc8xxx/law.c | 4 +-
arch/powerpc/include/asm/fsl_secure_boot.h | 4 +-
board/freescale/common/Kconfig | 2 +-
board/freescale/common/Makefile | 2 +-
board/freescale/common/p_corenet/tlb.c | 2 +-
board/freescale/ls1043ardb/ls1043ardb.c | 2 +-
board/freescale/ls1046afrwy/ls1046afrwy.c | 2 +-
board/freescale/ls1046aqds/ls1046aqds.c | 2 +-
board/freescale/ls1046ardb/ls1046ardb.c | 2 +-
board/freescale/ls2080aqds/ls2080aqds.c | 3 ++
board/freescale/ls2080ardb/ls2080ardb.c | 3 ++
board/freescale/lx2160a/lx2160a.c | 2 +
board/freescale/t104xrdb/tlb.c | 4 +-
configs/B4860QDS_SECURE_BOOT_defconfig | 2 +-
configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig | 2 +- configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig | 2 +- configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig | 2 +- configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig | 2 +-
.../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig | 2 +-
.../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig | 2 +-
.../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig | 2 +- .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig | 2 +-
configs/C29XPCIE_NOR_SECBOOT_defconfig | 2 +-
configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig | 2 +-
.../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PA_NAND_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PA_NOR_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig | 2 +-
.../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PB_NAND_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PB_NOR_SECBOOT_defconfig | 2 +-
configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig | 2 +-
configs/P2041RDB_SECURE_BOOT_defconfig | 2 +-
configs/P3041DS_NAND_SECURE_BOOT_defconfig | 2 +-
configs/P3041DS_SECURE_BOOT_defconfig | 2 +-
configs/P4080DS_SECURE_BOOT_defconfig | 2 +-
configs/P5020DS_NAND_SECURE_BOOT_defconfig | 2 +-
configs/P5020DS_SECURE_BOOT_defconfig | 2 +-
configs/P5040DS_NAND_SECURE_BOOT_defconfig | 2 +-
configs/P5040DS_SECURE_BOOT_defconfig | 2 +-
configs/T1023RDB_SECURE_BOOT_defconfig | 2 +-
configs/T1024QDS_DDR4_SECURE_BOOT_defconfig | 2 +-
configs/T1024QDS_SECURE_BOOT_defconfig | 2 +-
configs/T1024RDB_SECURE_BOOT_defconfig | 2 +-
configs/T1040D4RDB_SECURE_BOOT_defconfig | 2 +-
configs/T1040QDS_SECURE_BOOT_defconfig | 2 +-
configs/T1040RDB_SECURE_BOOT_defconfig | 2 +-
configs/T1042D4RDB_SECURE_BOOT_defconfig | 2 +-
configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig | 2 +-
configs/T1042RDB_SECURE_BOOT_defconfig | 2 +-
configs/T2080QDS_SECURE_BOOT_defconfig | 2 +-
configs/T2080RDB_SECURE_BOOT_defconfig | 2 +-
configs/T4160QDS_SECURE_BOOT_defconfig | 2 +-
configs/T4240QDS_SECURE_BOOT_defconfig | 2 +-
configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1012aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1012ardb_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1012ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 2 +-
configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 2 +-
.../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 2 +-
configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1043aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1043ardb_SECURE_BOOT_defconfig | 2 +-
configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 2 +-
configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig | 2 +-
configs/ls1043ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1046aqds_SECURE_BOOT_defconfig | 2 +-
configs/ls1046aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig | 2 +-
configs/ls1046ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1088ardb_qspi_SECURE_BOOT_defconfig | 2 +-
.../ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1088ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls2080aqds_SECURE_BOOT_defconfig | 2 +-
configs/ls2080ardb_SECURE_BOOT_defconfig | 2 +-
configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls2088ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 2 +-
doc/README.mpc85xx | 8 ++--
drivers/net/fsl_enetc.c | 4 ++
drivers/pci/pcie_layerscape.c | 6 ++-
drivers/spi/Kconfig | 1 +
include/configs/P1010RDB.h | 4 +-
include/configs/T104xRDB.h | 6 +--
include/configs/corenet_ds.h | 2 +-
include/configs/ls1021atwr.h | 4 +-
include/configs/ls1028a_common.h | 2 +-
include/configs/ls1043a_common.h | 8 ++--
include/configs/ls1046a_common.h | 4 +-
include/configs/ls1088a_common.h | 4 +-
include/configs/ls1088aqds.h | 6 +--
include/configs/ls2080aqds.h | 4 +-
include/fsl_sec.h | 3 +-
121 files changed, 286 insertions(+), 144 deletions(-) create mode 100644 arch/arm/cpu/armv8/fsl-layerscape/ls2088_ids.c
create mode 100644 arch/arm/cpu/armv8/fsl-layerscape/lx2160_ids.c
2
1

[U-Boot] [PATCH v2 1/2] freescale/layerscape: Rename the config CONFIG_SECURE_BOOT name.
by Udit Agarwal 11 Nov '19
by Udit Agarwal 11 Nov '19
11 Nov '19
Renames CONFIG_SECURE_BOOT to CONFIG_NXP_ESBC to avoid conflict
with UEFI secure boot.
Signed-off-by: Udit Agarwal <udit.agarwal(a)nxp.com>
---
Changes in V2:
Rebase on top of master branch.
arch/arm/cpu/armv7/ls102xa/Kconfig | 4 ++--
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++--
arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +-
board/freescale/common/Kconfig | 2 +-
board/freescale/common/Makefile | 2 +-
board/freescale/ls1043ardb/ls1043ardb.c | 2 +-
board/freescale/ls1046afrwy/ls1046afrwy.c | 2 +-
board/freescale/ls1046aqds/ls1046aqds.c | 2 +-
board/freescale/ls1046ardb/ls1046ardb.c | 2 +-
configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1012aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1012ardb_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1012ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 2 +-
configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 2 +-
configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 2 +-
configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1043aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1043ardb_SECURE_BOOT_defconfig | 2 +-
configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 2 +-
configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig | 2 +-
configs/ls1043ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1046aqds_SECURE_BOOT_defconfig | 2 +-
configs/ls1046aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig | 2 +-
configs/ls1046ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1088ardb_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls1088ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/ls2080aqds_SECURE_BOOT_defconfig | 2 +-
configs/ls2080ardb_SECURE_BOOT_defconfig | 2 +-
configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 2 +-
configs/ls2088ardb_tfa_SECURE_BOOT_defconfig | 2 +-
configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 2 +-
configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 2 +-
include/configs/ls1021atwr.h | 4 ++--
include/configs/ls1028a_common.h | 2 +-
include/configs/ls1043a_common.h | 8 ++++----
include/configs/ls1046a_common.h | 4 ++--
include/configs/ls1088a_common.h | 4 ++--
include/configs/ls1088aqds.h | 6 +++---
include/configs/ls2080aqds.h | 4 ++--
46 files changed, 57 insertions(+), 57 deletions(-)
diff --git a/arch/arm/cpu/armv7/ls102xa/Kconfig b/arch/arm/cpu/armv7/ls102xa/Kconfig
index 94fa68250d..b9511da3f3 100644
--- a/arch/arm/cpu/armv7/ls102xa/Kconfig
+++ b/arch/arm/cpu/armv7/ls102xa/Kconfig
@@ -50,8 +50,8 @@ config MAX_CPUS
cores, count the reserved ports. This will allocate enough memory
in spin table to properly handle all cores.
-config SECURE_BOOT
- bool "Secure Boot"
+config NXP_ESBC
+ bool "NXP_ESBC"
help
Enable Freescale Secure Boot feature. Normally selected
by defconfig. If unsure, do not change.
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index 24c606a232..cca706089c 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -375,8 +375,8 @@ config EMC2305
Enable the EMC2305 fan controller for configuration of fan
speed.
-config SECURE_BOOT
- bool "Secure Boot"
+config NXP_ESBC
+ bool "NXP_ESBC"
help
Enable Freescale Secure Boot feature
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
index 8eeeef199b..3f6a5f6a42 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
@@ -34,7 +34,7 @@ u32 spl_boot_device(void)
void spl_board_init(void)
{
-#if defined(CONFIG_SECURE_BOOT) && defined(CONFIG_FSL_LSCH2)
+#if defined(CONFIG_NXP_ESBC) && defined(CONFIG_FSL_LSCH2)
/*
* In case of Secure Boot, the IBR configures the SMMU
* to allow only Secure transactions.
diff --git a/board/freescale/common/Kconfig b/board/freescale/common/Kconfig
index 8b89c10aba..1b1fd69cb2 100644
--- a/board/freescale/common/Kconfig
+++ b/board/freescale/common/Kconfig
@@ -1,5 +1,5 @@
config CHAIN_OF_TRUST
- depends on !FIT_SIGNATURE && SECURE_BOOT
+ depends on !FIT_SIGNATURE && NXP_ESBC
imply CMD_BLOB
imply CMD_HASH if ARM
select FSL_CAAM
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index a9d61a8bcf..b0e109f0b8 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -75,7 +75,7 @@ obj-$(CONFIG_TARGET_P5040DS) += p_corenet/
obj-$(CONFIG_LAYERSCAPE_NS_ACCESS) += ns_access.o
-ifdef CONFIG_SECURE_BOOT
+ifdef CONFIG_NXP_ESBC
obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
endif
obj-$(CONFIG_CHAIN_OF_TRUST) += fsl_chain_of_trust.o
diff --git a/board/freescale/ls1043ardb/ls1043ardb.c b/board/freescale/ls1043ardb/ls1043ardb.c
index fbd9a2691b..9bc78d6543 100644
--- a/board/freescale/ls1043ardb/ls1043ardb.c
+++ b/board/freescale/ls1043ardb/ls1043ardb.c
@@ -196,7 +196,7 @@ int board_init(void)
init_final_memctl_regs();
#endif
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
/* In case of Secure Boot, the IBR configures the SMMU
* to allow only Secure transactions.
* SMMU must be reset in bypass mode.
diff --git a/board/freescale/ls1046afrwy/ls1046afrwy.c b/board/freescale/ls1046afrwy/ls1046afrwy.c
index 41412a76b6..ac2f8ee436 100644
--- a/board/freescale/ls1046afrwy/ls1046afrwy.c
+++ b/board/freescale/ls1046afrwy/ls1046afrwy.c
@@ -126,7 +126,7 @@ int checkboard(void)
int board_init(void)
{
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
/*
* In case of Secure Boot, the IBR configures the SMMU
* to allow only Secure transactions.
diff --git a/board/freescale/ls1046aqds/ls1046aqds.c b/board/freescale/ls1046aqds/ls1046aqds.c
index b71c1746bb..6a51dcd649 100644
--- a/board/freescale/ls1046aqds/ls1046aqds.c
+++ b/board/freescale/ls1046aqds/ls1046aqds.c
@@ -407,7 +407,7 @@ int board_init(void)
ppa_init();
#endif
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
/*
* In case of Secure Boot, the IBR configures the SMMU
* to allow only Secure transactions.
diff --git a/board/freescale/ls1046ardb/ls1046ardb.c b/board/freescale/ls1046ardb/ls1046ardb.c
index 0a73fe859d..cc6bd883c3 100644
--- a/board/freescale/ls1046ardb/ls1046ardb.c
+++ b/board/freescale/ls1046ardb/ls1046ardb.c
@@ -69,7 +69,7 @@ int board_init(void)
{
struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR;
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
/*
* In case of Secure Boot, the IBR configures the SMMU
* to allow only Secure transactions.
diff --git a/configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig b/configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig
index 3b1568f207..58b5d75e48 100644
--- a/configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1012AFRWY=y
CONFIG_SYS_TEXT_BASE=0x40100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_AHCI=y
diff --git a/configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig b/configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig
index 640a462dfb..7c0a4a7533 100644
--- a/configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1012AFRWY=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
diff --git a/configs/ls1012aqds_tfa_SECURE_BOOT_defconfig b/configs/ls1012aqds_tfa_SECURE_BOOT_defconfig
index f011aa02f5..fbdeef325c 100644
--- a/configs/ls1012aqds_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1012aqds_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1012AQDS=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
diff --git a/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
index 533e251341..c0f82990c5 100644
--- a/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1012ARDB=y
CONFIG_SYS_TEXT_BASE=0x40100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=2
diff --git a/configs/ls1012ardb_tfa_SECURE_BOOT_defconfig b/configs/ls1012ardb_tfa_SECURE_BOOT_defconfig
index f3a2a13e0b..a98f02c89c 100644
--- a/configs/ls1012ardb_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1012ardb_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1012ARDB=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
diff --git a/configs/ls1021aqds_nor_SECURE_BOOT_defconfig b/configs/ls1021aqds_nor_SECURE_BOOT_defconfig
index 43b3f6d255..8dcd414c15 100644
--- a/configs/ls1021aqds_nor_SECURE_BOOT_defconfig
+++ b/configs/ls1021aqds_nor_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1021AQDS=y
CONFIG_SYS_TEXT_BASE=0x60100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_NR_DRAM_BANKS=1
CONFIG_AHCI=y
# CONFIG_SYS_MALLOC_F is not set
diff --git a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
index 8871c61b87..0770836208 100644
--- a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1021ATWR=y
CONFIG_SYS_TEXT_BASE=0x60100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_NR_DRAM_BANKS=1
CONFIG_AHCI=y
CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
index 8277d6a114..906f0b6e3c 100644
--- a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LS1021ATWR=y
CONFIG_SYS_TEXT_BASE=0x82000000
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_SPL_MMC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
diff --git a/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig b/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
index 3170d81aaf..267fc0dde2 100644
--- a/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1028AQDS=y
CONFIG_TFABOOT=y
CONFIG_SYS_MALLOC_F_LEN=0x6000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_SYS_FSL_SDHC_CLK_DIV=1
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
diff --git a/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig b/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig
index c1e88b5465..e3d547cbd7 100644
--- a/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1028ARDB=y
CONFIG_TFABOOT=y
CONFIG_SYS_MALLOC_F_LEN=0x6000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_SYS_FSL_SDHC_CLK_DIV=1
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
diff --git a/configs/ls1043aqds_tfa_SECURE_BOOT_defconfig b/configs/ls1043aqds_tfa_SECURE_BOOT_defconfig
index 472786ab26..9883d1683d 100644
--- a/configs/ls1043aqds_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1043aqds_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1043AQDS=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
diff --git a/configs/ls1043ardb_SECURE_BOOT_defconfig b/configs/ls1043ardb_SECURE_BOOT_defconfig
index 57791a748e..0d9d2dd490 100644
--- a/configs/ls1043ardb_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1043ARDB=y
CONFIG_SYS_TEXT_BASE=0x60100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1043ardb_nand_SECURE_BOOT_defconfig b/configs/ls1043ardb_nand_SECURE_BOOT_defconfig
index c45fc68ac3..65c8435c57 100644
--- a/configs/ls1043ardb_nand_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_nand_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LS1043ARDB=y
CONFIG_SYS_TEXT_BASE=0x82000000
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
diff --git a/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
index bdfa13a0a7..1626004a46 100644
--- a/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LS1043ARDB=y
CONFIG_SYS_TEXT_BASE=0x82000000
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_SPL_MMC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y
diff --git a/configs/ls1043ardb_tfa_SECURE_BOOT_defconfig b/configs/ls1043ardb_tfa_SECURE_BOOT_defconfig
index 5c8257de4e..187d493336 100644
--- a/configs/ls1043ardb_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1043ARDB=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
diff --git a/configs/ls1046aqds_SECURE_BOOT_defconfig b/configs/ls1046aqds_SECURE_BOOT_defconfig
index e863c97307..f4a95164b1 100644
--- a/configs/ls1046aqds_SECURE_BOOT_defconfig
+++ b/configs/ls1046aqds_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1046AQDS=y
CONFIG_SYS_TEXT_BASE=0x60100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_AHCI=y
diff --git a/configs/ls1046aqds_tfa_SECURE_BOOT_defconfig b/configs/ls1046aqds_tfa_SECURE_BOOT_defconfig
index 2b4f72f54c..8a7b34b4c2 100644
--- a/configs/ls1046aqds_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1046aqds_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1046AQDS=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
diff --git a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
index dd784459b3..77d99f52ff 100644
--- a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1046ARDB=y
CONFIG_SYS_TEXT_BASE=0x40100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=2
diff --git a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
index fcc3632d9a..37ebaad0b5 100644
--- a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LS1046ARDB=y
CONFIG_SYS_TEXT_BASE=0x82000000
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_SPL_MMC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y
diff --git a/configs/ls1046ardb_tfa_SECURE_BOOT_defconfig b/configs/ls1046ardb_tfa_SECURE_BOOT_defconfig
index 9423d7db22..fe2a073872 100644
--- a/configs/ls1046ardb_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_tfa_SECURE_BOOT_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_TARGET_LS1046ARDB=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
diff --git a/configs/ls1088aqds_qspi_SECURE_BOOT_defconfig b/configs/ls1088aqds_qspi_SECURE_BOOT_defconfig
index bb90ed7549..9c79daff7d 100644
--- a/configs/ls1088aqds_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1088aqds_qspi_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1088AQDS=y
CONFIG_SYS_TEXT_BASE=0x20100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=2
diff --git a/configs/ls1088ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1088ardb_qspi_SECURE_BOOT_defconfig
index 265303c356..df560b0929 100644
--- a/configs/ls1088ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1088ardb_qspi_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1088ARDB=y
CONFIG_SYS_TEXT_BASE=0x20100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=2
diff --git a/configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig b/configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
index 079ef9d8bc..d243e77626 100644
--- a/configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LS1088ARDB=y
CONFIG_SYS_TEXT_BASE=0x80400000
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_SPL_MMC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y
diff --git a/configs/ls1088ardb_tfa_SECURE_BOOT_defconfig b/configs/ls1088ardb_tfa_SECURE_BOOT_defconfig
index 45df1347fa..203c7959de 100644
--- a/configs/ls1088ardb_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1088ardb_tfa_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LS1088ARDB=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
CONFIG_SYS_MALLOC_F_LEN=0x6000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
diff --git a/configs/ls2080aqds_SECURE_BOOT_defconfig b/configs/ls2080aqds_SECURE_BOOT_defconfig
index c0fde247fc..0ef829bf7e 100644
--- a/configs/ls2080aqds_SECURE_BOOT_defconfig
+++ b/configs/ls2080aqds_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS2080AQDS=y
CONFIG_SYS_TEXT_BASE=0x30100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_NR_DRAM_BANKS=3
CONFIG_AHCI=y
diff --git a/configs/ls2080ardb_SECURE_BOOT_defconfig b/configs/ls2080ardb_SECURE_BOOT_defconfig
index 5f307f6caf..02173a7c81 100644
--- a/configs/ls2080ardb_SECURE_BOOT_defconfig
+++ b/configs/ls2080ardb_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS2080ARDB=y
CONFIG_SYS_TEXT_BASE=0x30100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_NR_DRAM_BANKS=3
CONFIG_AHCI=y
diff --git a/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
index d4b5d87e66..091fe61c6d 100644
--- a/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_TARGET_LS2080ARDB=y
CONFIG_SYS_TEXT_BASE=0x20100000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_FSL_LS_PPA=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=3
diff --git a/configs/ls2088ardb_tfa_SECURE_BOOT_defconfig b/configs/ls2088ardb_tfa_SECURE_BOOT_defconfig
index 0f84055993..b0e37bf378 100644
--- a/configs/ls2088ardb_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls2088ardb_tfa_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LS2080ARDB=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
CONFIG_SYS_MALLOC_F_LEN=0x6000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_QSPI_AHB_INIT=y
CONFIG_NR_DRAM_BANKS=3
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
diff --git a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
index 3d4506bbff..ad5f30a33d 100644
--- a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
+++ b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LX2160AQDS=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
CONFIG_SYS_MALLOC_F_LEN=0x6000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_NR_DRAM_BANKS=3
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
diff --git a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
index ede4e0f75f..ab6dccede9 100644
--- a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
+++ b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
@@ -3,7 +3,7 @@ CONFIG_TARGET_LX2160ARDB=y
CONFIG_TFABOOT=y
CONFIG_SYS_TEXT_BASE=0x82000000
CONFIG_SYS_MALLOC_F_LEN=0x6000
-CONFIG_SECURE_BOOT=y
+CONFIG_NXP_ESBC=y
CONFIG_EMC2305=y
CONFIG_NR_DRAM_BANKS=3
CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 31abee81ed..1363d3084d 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -66,13 +66,13 @@
board/freescale/ls1021atwr/ls102xa_rcw_sd_ifc.cfg
#endif
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
/*
* HDR would be appended at end of image and copied to DDR along
* with U-Boot image.
*/
#define CONFIG_U_BOOT_HDR_SIZE (16 << 10)
-#endif /* ifdef CONFIG_SECURE_BOOT */
+#endif /* ifdef CONFIG_NXP_ESBC */
#define CONFIG_SPL_MAX_SIZE 0x1a000
#define CONFIG_SPL_STACK 0x1001d000
diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index 40fcd22582..39f9318007 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -192,7 +192,7 @@
#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
#include <asm/fsl_secure_boot.h>
#endif
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 70447a2183..e237012626 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -74,7 +74,7 @@
#define CONFIG_SPL_BSS_START_ADDR 0x8f000000
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
#define CONFIG_U_BOOT_HDR_SIZE (16 << 10)
/*
* HDR would be appended at end of image and copied to DDR along
@@ -85,7 +85,7 @@
#define CONFIG_SYS_MONITOR_LEN (0x100000 + CONFIG_U_BOOT_HDR_SIZE)
#else
#define CONFIG_SYS_MONITOR_LEN 0x100000
-#endif /* ifdef CONFIG_SECURE_BOOT */
+#endif /* ifdef CONFIG_NXP_ESBC */
#endif
/* NAND SPL */
@@ -100,9 +100,9 @@
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
#define CONFIG_U_BOOT_HDR_SIZE (16 << 10)
-#endif /* ifdef CONFIG_SECURE_BOOT */
+#endif /* ifdef CONFIG_NXP_ESBC */
#ifdef CONFIG_U_BOOT_HDR_SIZE
/*
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index 59c43f1ae1..cc8f4c0210 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -73,7 +73,7 @@
CONFIG_SPL_BSS_MAX_SIZE)
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
#define CONFIG_U_BOOT_HDR_SIZE (16 << 10)
/*
* HDR would be appended at end of image and copied to DDR along
@@ -84,7 +84,7 @@
#define CONFIG_SYS_MONITOR_LEN (0x100000 + CONFIG_U_BOOT_HDR_SIZE)
#else
#define CONFIG_SYS_MONITOR_LEN 0x100000
-#endif /* ifdef CONFIG_SECURE_BOOT */
+#endif /* ifdef CONFIG_NXP_ESBC */
#endif
#if defined(CONFIG_QSPI_BOOT) && defined(CONFIG_SPL)
diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h
index 6f04dbaccd..73c56296ff 100644
--- a/include/configs/ls1088a_common.h
+++ b/include/configs/ls1088a_common.h
@@ -235,7 +235,7 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00100000
#define CONFIG_SYS_SPL_MALLOC_START 0x80200000
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
#define CONFIG_U_BOOT_HDR_SIZE (16 << 10)
/*
* HDR would be appended at end of image and copied to DDR along
@@ -246,7 +246,7 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_SYS_MONITOR_LEN (0x100000 + CONFIG_U_BOOT_HDR_SIZE)
#else
#define CONFIG_SYS_MONITOR_LEN 0x100000
-#endif /* ifdef CONFIG_SECURE_BOOT */
+#endif /* ifdef CONFIG_NXP_ESBC */
#endif
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */
diff --git a/include/configs/ls1088aqds.h b/include/configs/ls1088aqds.h
index 85e20617e6..c9c517f93e 100644
--- a/include/configs/ls1088aqds.h
+++ b/include/configs/ls1088aqds.h
@@ -407,7 +407,7 @@ unsigned long get_board_ddr_clk(void);
QIXIS_SDID_MASK) != QIXIS_ESDHC_NO_ADAPTER)
/* Initial environment variables */
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
#undef CONFIG_EXTRA_ENV_SETTINGS
#define CONFIG_EXTRA_ENV_SETTINGS \
"hwconfig=fsl_ddr:bank_intlv=auto\0" \
@@ -426,7 +426,7 @@ unsigned long get_board_ddr_clk(void);
"sf read 0xa0740000 0x740000 0x4000;esbc_validate 0xa0740000;" \
"fsl_mc start mc 0xa0a00000 0xa0e00000\0" \
"mcmemsize=0x70000000 \0"
-#else /* if !(CONFIG_SECURE_BOOT) */
+#else /* if !(CONFIG_NXP_ESBC) */
#ifdef CONFIG_TFABOOT
#define QSPI_MC_INIT_CMD \
"sf probe 0:0;sf read 0x80000000 0xA00000 0x100000;" \
@@ -522,7 +522,7 @@ unsigned long get_board_ddr_clk(void);
"mcmemsize=0x70000000 \0"
#endif
#endif /* CONFIG_TFABOOT */
-#endif /* CONFIG_SECURE_BOOT */
+#endif /* CONFIG_NXP_ESBC */
#ifdef CONFIG_FSL_MC_ENET
#define CONFIG_FSL_MEMAC
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index e2a897557d..08696fa9a3 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -352,7 +352,7 @@ unsigned long get_board_ddr_clk(void);
/* Initial environment variables */
#undef CONFIG_EXTRA_ENV_SETTINGS
-#ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_NXP_ESBC
#define CONFIG_EXTRA_ENV_SETTINGS \
"hwconfig=fsl_ddr:bank_intlv=auto\0" \
"loadaddr=0x80100000\0" \
@@ -442,7 +442,7 @@ unsigned long get_board_ddr_clk(void);
"mcinitcmd=fsl_mc start mc 0x580a00000" \
" 0x580e00000 \0"
#endif /* CONFIG_TFABOOT */
-#endif /* CONFIG_SECURE_BOOT */
+#endif /* CONFIG_NXP_ESBC */
#ifdef CONFIG_TFABOOT
#define SD_BOOTCOMMAND \
--
2.17.1
2
2