| /rk3399_rockchip-uboot/ |
| H A D | .travis.yml | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # build U-Boot on Travis CI - https://travis-ci.org/ 14 - cppcheck 15 - sloccount 16 - sparse 17 - bc 18 - build-essential 19 - libsdl1.2-dev 20 - python 21 - python-virtualenv [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | omap_gpio.h | 5 * SPDX-License-Identifier: GPL-2.0 8 * To fetch, use the kernel repository 9 * git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 14 * linux/arch/arm/plat-omap/gpio.c 18 * Copyright (C) 2003-2005 Nokia Corporation 24 #include <asm/arch/cpu.h>
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | toolchain.py | 3 # SPDX-License-Identifier: GPL-2.0+ 23 def __init__(self, arch): argument 31 arch: Architecture to search for 36 self._match = '_%s-' % arch 54 cross: Cross compile string, e.g. 'arm-linux-' 55 arch: Architecture of toolchain as determined from the first 56 component of the filename. E.g. arm-linux-gcc becomes arm 60 arch=None): argument 73 # Find the CROSS_COMPILE prefix to use for U-Boot. For example, 74 # 'arm-linux-gnueabihf-gcc' turns into 'arm-linux-gnueabihf-'. [all …]
|
| H A D | cmdline.py | 4 # SPDX-License-Identifier: GPL-2.0+ 18 parser.add_option('-b', '--branch', type='string', 20 parser.add_option('-B', '--bloat', dest='show_bloat', 23 parser.add_option('-c', '--count', dest='count', type='int', 24 default=-1, help='Run build on the top n commits') 25 parser.add_option('-C', '--force-reconfig', dest='force_reconfig', 28 parser.add_option('-d', '--detail', dest='show_detail', 31 parser.add_option('-D', '--config-only', action='store_true', default=False, 33 parser.add_option('-e', '--show_errors', action='store_true', 35 parser.add_option('-f', '--force-build', dest='force_build', [all …]
|
| H A D | bsettings.py | 3 # SPDX-License-Identifier: GPL-2.0+ 28 print 'To install tool chains, please use the --fetch-arch option' 78 # e.g. x86 = /opt/gcc-4.6.3-nolibc/x86_64-linux 80 [toolchain-prefix] 82 # e.g. x86 = /opt/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- 84 [toolchain-alias] 85 # arch = alias 86 # Indicates which toolchain should be used to build for that arch 92 [make-flags] 95 # snapper-boards=ENABLE_AT91_TEST=1 [all …]
|
| H A D | README | 3 # SPDX-License-Identifier: GPL-2.0+ 8 Quick-start 14 cd /path/to/u-boot 16 buildman --fetch-arch arm 17 buildman -k rpi_2 19 # u-boot.bin is the output image 25 This tool handles building U-Boot to check that you have not broken it 28 to make full use of multi-processor machines. 40 where it left off. This should happen cleanly and without side-effects. 44 You may need to press Ctrl-C several times to quit it. Also it will print [all …]
|
| H A D | builder.py | 3 # Bloat-o-meter code used here Copyright 2004 Matt Mackall <mpm@selenic.com> 5 # SPDX-License-Identifier: GPL-2.0+ 41 commit and builds it (typically without re-configuring). When it runs out 45 Clearly the builder threads could work either way - they could check out a 67 Buildman also create working directories for each thread, in a .bm-work/ 70 As an example, say we are building branch 'us-net' for boards 'sandbox' and 71 'seaboard', and say that us-net has two commits. We will have directories 74 us-net/ base directory 75 01_of_02_g4ed4ebc_net--Add-tftp-speed-/ 77 u-boot.bin [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap4/ |
| H A D | gpio.h | 5 * SPDX-License-Identifier: GPL-2.0 8 * To fetch, use the kernel repository 9 * git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 14 * linux/arch/arm/plat-omap/gpio.c 18 * Copyright (C) 2003-2005 Nokia Corporation
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap3/ |
| H A D | gpio.h | 5 * SPDX-License-Identifier: GPL-2.0 8 * To fetch, use the kernel repository 9 * git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 14 * linux/arch/arm/plat-omap/gpio.c 18 * Copyright (C) 2003-2005 Nokia Corporation
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap5/ |
| H A D | gpio.h | 5 * SPDX-License-Identifier: GPL-2.0 8 * To fetch, use the kernel repository 9 * git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 14 * linux/arch/arm/plat-omap/gpio.c 18 * Copyright (C) 2003-2005 Nokia Corporation 39 #define GPIO_TO_PIN(bank, bank_gpio) (32 * (bank - 1) + (bank_gpio))
|
| /rk3399_rockchip-uboot/board/siemens/common/ |
| H A D | factoryset.c | 6 * SPDX-License-Identifier: GPL-2.0+ 14 #include <asm/arch/cpu.h> 15 #include <asm/arch/sys_proto.h> 34 return -1; in fact_match() 40 if (*s1 == '\0' && fact_get_char(i2-1) == '=') in fact_match() 43 return -1; in fact_match() 56 return -1; in get_factory_val() 71 *--buf = '\0'; in get_factory_val() 78 return -1; in get_factory_val() 85 int ret = -1; in get_factory_record_val() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-mvebu/serdes/a38x/ |
| H A D | sys_env_lib.c | 4 * SPDX-License-Identifier: GPL-2.0 10 #include <asm/arch/cpu.h> 11 #include <asm/arch/soc.h> 44 u32 g_dev_id = -1; 81 return board_id & (MARVELL_BOARD_ID_MASK - 1); in mv_board_id_index_get() 86 * DESCRIPTION: Reads GPIO input for suspend-wakeup indication. 90 * 0 - Not supported, 91 * 1 - supported: read magic word detect wakeup, 92 * 2 - detected wakeup from GPIO. 102 printf("\n_failed loading Suspend-Wakeup information (invalid board ID)\n"); in sys_env_suspend_wakeup_check() [all …]
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/ |
| H A D | cpu_init.c | 2 * Copyright (C) 2004-2009 Freescale Semiconductor, Inc. 4 * SPDX-License-Identifier: GPL-2.0+ 13 #include <usb/ehci-ci.h> 212 clrsetbits_be32(&im->arbiter.acr, acr_mask, acr_val); in cpu_init_f() 214 clrsetbits_be32(&im->sysconf.spcr, spcr_mask, spcr_val); in cpu_init_f() 216 clrsetbits_be32(&im->clk.sccr, sccr_mask, sccr_val); in cpu_init_f() 218 /* RSR - Reset Status Register - clear all status (4.6.1.3) */ in cpu_init_f() 219 gd->arch.reset_status = __raw_readl(&im->reset.rsr); in cpu_init_f() 220 __raw_writel(~(RSR_RES), &im->reset.rsr); in cpu_init_f() 222 /* AER - Arbiter Event Register - store status */ in cpu_init_f() [all …]
|
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | omap_gpio.c | 5 * SPDX-License-Identifier: GPL-2.0 8 * To fetch, use the kernel repository 9 * git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 14 * linux/arch/arm/plat-omap/gpio.c 18 * Copyright (C) 2003-2005 Nokia Corporation 58 void *reg = bank->base; in _set_gpio_direction() 77 void *reg = bank->base; in _get_gpio_direction() 93 void *reg = bank->base; in _set_gpio_dataout() 107 void *reg = bank->base; in _get_gpio_value() 119 return -1; in _get_gpio_value() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-kirkwood/ |
| H A D | cpu.c | 4 * Written-by: Prafulla Wadaskar <prafulla@marvell.com> 6 * SPDX-License-Identifier: GPL-2.0+ 13 #include <asm/arch/cpu.h> 14 #include <asm/arch/soc.h> 22 writel(readl(&cpureg->rstoutn_mask) | (1 << 2), in reset_cpu() 23 &cpureg->rstoutn_mask); in reset_cpu() 24 writel(readl(&cpureg->sys_soft_rst) | 1, in reset_cpu() 25 &cpureg->sys_soft_rst); in reset_cpu() 35 * NOTE: A value of 0x0 specifies 64-KByte size. 51 * kw_config_adr_windows - Configure address Windows [all …]
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | crypto_v1.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <asm/arch/hardware.h> 15 #include <asm/arch/clock.h> 52 struct rk_crypto_reg *reg = priv->reg; in rk_hash_direct_calc() 55 return -EINVAL; in rk_hash_direct_calc() 57 /* Must flush dcache before crypto DMA fetch data region */ in rk_hash_direct_calc() 61 writel(HASH_DONE_INT, ®->crypto_intsts); in rk_hash_direct_calc() 64 writel((u32)(ulong)data, ®->crypto_hrdmas); in rk_hash_direct_calc() 65 writel((data_len + 3) >> 2, ®->crypto_hrdmal); in rk_hash_direct_calc() 68 rk_setreg(®->crypto_ctrl, HASH_START); in rk_hash_direct_calc() [all …]
|
| /rk3399_rockchip-uboot/board/freescale/qemu-ppce500/ |
| H A D | qemu-ppce500.c | 2 * Copyright 2007,2009-2014 Freescale Semiconductor, Inc. 4 * SPDX-License-Identifier: GPL-2.0+ 30 return (uint64_t)(uintptr_t)gd->fdt_blob; in get_fdt_phys() 105 map_addr += size - 1; in pci_map_region() 106 map_addr &= ~(size - 1); in pci_map_region() 109 return -1; in pci_map_region() 125 int pci_node = -1; in pci_init_board() 138 while (pci_node != -FDT_ERR_NOTFOUND) { in pci_init_board() 154 while (pci_node != -FDT_ERR_NOTFOUND) { in pci_init_board() 208 return -EIO; in last_stage_init() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-orion5x/ |
| H A D | cpu.c | 7 * Written-by: Prafulla Wadaskar <prafulla@marvell.com> 9 * SPDX-License-Identifier: GPL-2.0+ 16 #include <u-boot/md5.h> 17 #include <asm/arch/cpu.h> 26 writel(readl(&cpureg->rstoutn_mask) | (1 << 2), in reset_cpu() 27 &cpureg->rstoutn_mask); in reset_cpu() 28 writel(readl(&cpureg->sys_soft_rst) | 1, in reset_cpu() 29 &cpureg->sys_soft_rst); in reset_cpu() 49 * sizeval = (u32) ceil((double) sizeval / 65536.0) - 1 in orion5x_winctrl_calcsize() 51 sizeval = (sizeval - 1) >> 16; in orion5x_winctrl_calcsize() [all …]
|
| /rk3399_rockchip-uboot/include/configs/ |
| H A D | T4240QDS.h | 2 * Copyright 2011-2012 Freescale Semiconductor, Inc. 4 * SPDX-License-Identifier: GPL-2.0+ 25 #define CONFIG_SPL_TARGET "u-boot-with-spl.bin" 38 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds" 53 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 111 #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) 235 | CSOR_NAND_ECC_MODE_4 /* 4-bit ECC */ \ 349 * for slave u-boot IMAGE instored in master memory space, 369 * SRIO_PCIE_BOOT - SLAVE 377 * eSPI - Enhanced SPI [all …]
|
| H A D | T208xRDB.h | 4 * SPDX-License-Identifier: GPL-2.0+ 35 #define CONFIG_SPL_TARGET "u-boot-with-spl.bin" 53 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds" 65 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 80 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 152 #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) 279 | CSOR_NAND_ECC_MODE_4 /* 4-bit ECC */ \ 367 #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \ 431 * for slave u-boot IMAGE instored in master memory space, 451 * SRIO_PCIE_BOOT - SLAVE [all …]
|
| H A D | T102xQDS.h | 4 * SPDX-License-Identifier: GPL-2.0+ 34 #define CONFIG_SPL_TARGET "u-boot-with-spl.bin" 52 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds" 64 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 79 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 103 /* PCIe Boot - Master */ 106 * for slave u-boot IMAGE instored in master memory space, 134 /* PCIe Boot - Slave */ 170 #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) 342 | CSOR_NAND_ECC_MODE_4 /* 4-bit ECC */ \ [all …]
|
| H A D | T102xRDB.h | 4 * SPDX-License-Identifier: GPL-2.0+ 37 #define CONFIG_SPL_TARGET "u-boot-with-spl.bin" 55 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds" 71 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 90 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 118 /* PCIe Boot - Master */ 121 * for slave u-boot IMAGE instored in master memory space, 149 /* PCIe Boot - Slave */ 193 #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) 359 | CSOR_NAND_ECC_MODE_4 /* 4-bit ECC */ \ [all …]
|
| H A D | T208xQDS.h | 2 * Copyright 2011-2013 Freescale Semiconductor, Inc. 4 * SPDX-License-Identifier: GPL-2.0+ 41 #define CONFIG_SPL_TARGET "u-boot-with-spl.bin" 59 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds" 75 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 94 #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds" 166 #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) 315 | CSOR_NAND_ECC_MODE_4 /* 4-bit ECC */ \ 419 #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \ 489 * for slave u-boot IMAGE instored in master memory space, [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-exynos/ |
| H A D | dmc_init_ddr3.c | 6 * SPDX-License-Identifier: GPL-2.0+ 12 #include <asm/arch/clock.h> 13 #include <asm/arch/cpu.h> 14 #include <asm/arch/dmc.h> 15 #include <asm/arch/power.h> 32 writel(DDR3PHY_CTRL_PHY_RESET_OFF, &clk->lpddr3phy_ctrl); in reset_phy_ctrl() 33 writel(DDR3PHY_CTRL_PHY_RESET, &clk->lpddr3phy_ctrl); in reset_phy_ctrl() 52 val = (mem->impedance << CA_CK_DRVR_DS_OFFSET) | in ddr3_mem_ctrl_init() 53 (mem->impedance << CA_CKE_DRVR_DS_OFFSET) | in ddr3_mem_ctrl_init() 54 (mem->impedance << CA_CS_DRVR_DS_OFFSET) | in ddr3_mem_ctrl_init() [all …]
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | moveconfig.py | 5 # SPDX-License-Identifier: GPL-2.0+ 11 Since Kconfig was introduced to U-Boot, we have worked on moving 18 ----- 46 - Move 'CONFIG_... ' 49 - CONFIG_... is not defined in Kconfig. Do nothing. 53 - CONFIG_... is not defined in Kconfig (suspicious). Do nothing. 57 - You forgot to create an entry for the CONFIG before running 59 - The entry was hidden due to unmet 'depends on'. 63 - 'CONFIG_...' is the same as the define in Kconfig. Do nothing. 67 - Compiler is missing. Do nothing. [all …]
|