Lines Matching +full:write +full:- +full:protect
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2013-2015 Arcturus Networks, Inc.
7 * Copyright 2009-2011 Freescale Semiconductor, Inc.
11 * QorIQ uCP1020-xx boards configuration file
21 #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
27 #define CONFIG_BOARDNAME "uCP1020-64EE512-0U1-XR-T1"
52 #define CONFIG_BOARDNAME_LOCAL "uCP1020-64EEE512-OU1-XR"
139 #define CONFIG_SYS_SDRAM_SIZE (1u << (CONFIG_SYS_SDRAM_SIZE_LAW - 19))
187 * 0x8000_0000 0xdfff_ffff PCI Express Mem 1G non-cacheable(PCIe * 2)
188 * 0xec00_0000 0xefff_ffff NOR flash Up to 64M non-cacheable CS0/1
191 * 0xffc0_0000 0xffc3_ffff PCI IO range 256k non-cacheable
193 * 0xffe0_0000 0xffef_ffff CCSR 1M non-cacheable
217 #define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
230 #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \
252 /* Serial Port - controlled on board with jumper J8
253 * open - index 2
254 * shorted - index 1
292 * Memory space is mapped 1-1, but I/O space must start from 0.
350 #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - 0x1000)
449 #define CONFIG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */
471 "sf write $loadaddr $mbr_offset $filesize\0" \
473 "protect off $nor_recoveryaddr +$filesize; " \
476 "protect on $nor_recoveryaddr +$filesize\0 " \
478 "protect off $nor_ubootaddr +$filesize; " \
481 "protect on $nor_ubootaddr +$filesize\0 " \
483 "protect off $nor_workingaddr +$filesize; " \
486 "protect on $nor_workingaddr +$filesize\0 " \
497 "mmc write $loadaddr 1 1\0" \
500 "mmc write $loadaddr 0x40 0x400\0" \
508 "bootm $kerneladdr - $dtbaddr\0" \
512 "bootm $kerneladdr - $dtbaddr\0" \
540 "spi__boot1=fatload mmc $mmcpart $loadaddr u-boot.bin; " \
541 "protect off 0xeC000000 +$filesize; " \
545 "protect on 0xeC000000 +$filesize\0" \
546 "spi__boot2=fatload mmc $mmcpart $loadaddr u-boot.bin; " \
547 "protect off 0xeFF80000 +$filesize; " \
551 "protect on 0xeFF80000 +$filesize\0" \
554 "sf write $loadaddr 0x8000 $filesize\0" \
556 "protect off 0xec0a0000 +$filesize; " \
559 "protect on 0xec0a0000 +$filesize\0" \
562 "sf write $loadaddr 0 $filesize\0" \
565 "sf write $loadaddr 0 $filesize\0" \
567 "protect off " __stringify(CONFIG_SYS_TEXT_BASE_NOR) " +$filesize; " \
570 "protect on " __stringify(CONFIG_SYS_TEXT_BASE_NOR) " +$filesize; " \
574 "ubootfile=u-boot.bin\0" \
575 "ubootd=u-boot4dongle.bin\0" \
600 "sf write $loadaddr $mbr_offset $filesize\0" \
602 "protect off $nor_recoveryaddr +$filesize; " \
605 "protect on $nor_recoveryaddr +$filesize\0 " \
607 "protect off $nor_ubootaddr +$filesize; " \
610 "protect on $nor_ubootaddr +$filesize\0 " \
612 "protect off $nor_workingaddr +$filesize; " \
615 "protect on $nor_workingaddr +$filesize\0 " \
629 "bootm $kerneladdr - $dtbaddr\0" \
633 "bootm $kerneladdr - $dtbaddr\0" \
660 "protect off " __stringify(CONFIG_SYS_TEXT_BASE_NOR) " +$filesize; " \
663 "protect on " __stringify(CONFIG_SYS_TEXT_BASE_NOR) " +$filesize; " \
667 "ubootfile=u-boot.bin\0" \
688 "sf write $loadaddr $mbr_offset $filesize\0" \
690 "protect off $nor_ubootaddr0 +$filesize; " \
693 "protect on $nor_ubootaddr0 +$filesize; " \
694 "protect off $nor_ubootaddr1 +$filesize; " \
697 "protect on $nor_ubootaddr1 +$filesize\0 " \
698 "format0=protect off $part0base +$part0size; " \
700 "format1=protect off $part1base +$part1size; " \
702 "format2=protect off $part2base +$part2size; " \
704 "format3=protect off $part3base +$part3size; " \
718 "bootm $kerneladdr - $dtbaddr\0" \
733 "program0=tftp part0-000000.bin; " \
734 "protect off $part0base +$filesize; " \
739 "program1=tftp part1-000000.bin; " \
740 "protect off $part1base +$filesize; " \
745 "program2=tftp part2-000000.bin; " \
746 "protect off $part2base +$filesize; " \
766 "sf write $loadaddr 0 $filesize\0" \
767 "spi__boot=fatload mmc $mmcpart $loadaddr u-boot.bin; " \
768 "protect off 0xeC000000 +$filesize; " \
772 "protect on 0xeC000000 +$filesize\0" \
774 "protect off " __stringify(CONFIG_SYS_TEXT_BASE_NOR) " +$filesize; " \
777 "protect on " __stringify(CONFIG_SYS_TEXT_BASE_NOR) " +$filesize; " \
780 "ubootfile=u-boot.bin\0" \
790 "bootm $loadaddr - $fdtaddr\0" \
797 "bootm $loadaddr - $fdtaddr\0" \
819 "bootm $norbootaddr - $norfdtaddr\0 " \