[U-Boot] Please pull u-boot-sunxi master

Hans de Goede
2015-10-20T21:02:54Z

Hi Tom,

Here is the first pull-req for sunxi, it contains some none
sunxi specific patches which I've picked up as sunxi is the first
user of them, these patches have been reviewed by you and/or
Simon Glass.

Highlights:
-Only simple-malloc in SPL (also post "reloc") to save space
-Remove a couple of board-configs which have been replaced with more generic shared board-configs
-Fully Kconfig-ify the pmic and voltage selection
-Add support for the BPI-M2 and the CHIP

The following changes since commit 5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d:

Prepare v2015.10 (2015-10-19 19:59:38 -0400)

are available in the git repository at:

http://git.denx.de/u-boot-sunxi.git master

for you to fetch changes up to fd8133b725198978865ead730ff20d3991e05f20:

sunxi: Add CHIP support (2015-10-20 22:48:29 +0200)

----------------------------------------------------------------
Hans de Goede (19):
spl: spl_relocate_stack_gd: Do not unnecessarily clear bss
malloc_simple: Add Kconfig option for using only malloc_simple in the SPL
malloc_simple: Add support for switching to DRAM heap
sunxi: Enable CONFIG_SPL_STACK_R
sunxi: Switch to using malloc_simple for the spl
sunxi: Remove board defconfig-s for specific Q8 tablet PCB-s
sunxi: Kconfig-ify CONFIG_AXP152_POWER and _AXP209_POWER
sunxi: power: Make all voltages configurable through Kconfig
sunxi: power: Unify axp pmic function names
sunxi: power: Change A23/A33 VDD-SYS default from 1.2V to 1.1V
sunxi: power: Change A23/A33 aldo1 default voltage to 3.0V
sunxi: power: Use pmic_bus functions for axp152 / axp209 driver
sunxi: power: Drop protection against multiple calls from axp221 axp_init()
sunxi: power: Add support for disabling axp209 regulators
sunxi: power: Change axp209 LDO3 and LDO4 default to disabled
sunxi: power: Columbus: only enable ELDO3 when necessary
sunxi: Add a bootcmd_sunxi_compat to the default environment to boot old kernels
sunxi: Fix sorting of boards in MAINTAINERS
sunxi: Add defconfig for the Sinovoip BPI-M2 board

Maxime Ripard (8):
sunxi: Add support for android boot image
fastboot: Implement OEM format only when we have MMC support
mmc: Add generic Kconfig option
sunxi: board: Only try to use the MMC related functions if enabled
sunxi: Use Kconfig CONFIG_MMC
sun5i: Sync the DTSI with the kernel
axp209: Sync the DTSI with the kernel
sunxi: Add CHIP support

Kconfig | 20 ++
arch/arm/Kconfig | 2 +
arch/arm/cpu/armv7/sunxi/board.c | 7 +-
arch/arm/cpu/armv7/sunxi/cpu_info.c | 4 +-
arch/arm/cpu/armv7/sunxi/usb_phy.c | 9 -
arch/arm/dts/Makefile | 12 +-
arch/arm/dts/axp209.dtsi | 5 +
arch/arm/dts/sun5i-a10s.dtsi | 47 ++++-
arch/arm/dts/sun5i-a13-forfun-q88db.dts | 29 ---
arch/arm/dts/sun5i-a13-tzx-q8-713b7.dts | 29 ---
arch/arm/dts/sun5i-a13.dtsi | 28 ++-
...sun8i-a23-ippo-q8h-v5.dts => sun5i-r8-chip.dts} | 158 ++++++++++++----
.../{sun8i-a23-ippo-q8h-v1.2.dts => sun5i-r8.dtsi} | 25 ++-
arch/arm/dts/sun5i.dtsi | 22 +++
arch/arm/dts/sun6i-a31.dtsi | 18 ++
...q8h-v1.2.dts => sun6i-a31s-sinovoip-bpi-m2.dts} | 153 ++++++++++-----
arch/arm/dts/sun8i-a33-et-q8-v1.6.dts | 88 ---------
board/sunxi/Kconfig | 8 +
board/sunxi/MAINTAINERS | 26 +--
board/sunxi/board.c | 68 +++----
common/malloc_simple.c | 2 +-
common/spl/spl.c | 13 +-
configs/A10-OLinuXino-Lime_defconfig | 2 +-
configs/A10s-OLinuXino-M_defconfig | 3 +-
configs/A13-OLinuXinoM_defconfig | 1 +
configs/A13-OLinuXino_defconfig | 2 +-
configs/A20-OLinuXino-Lime2_defconfig | 2 +-
configs/A20-OLinuXino-Lime_defconfig | 2 +-
configs/A20-OLinuXino_MICRO_defconfig | 2 +-
configs/A20-Olimex-SOM-EVB_defconfig | 2 +-
configs/Ainol_AW1_defconfig | 1 -
configs/Ampe_A76_defconfig | 2 +-
configs/Auxtek-T003_defconfig | 2 +-
configs/Auxtek-T004_defconfig | 2 +-
configs/Bananapi_defconfig | 2 +-
configs/Bananapro_defconfig | 2 +-
configs/CHIP_defconfig | 14 ++
configs/CSQ_CS908_defconfig | 4 +-
configs/Chuwi_V7_CW0825_defconfig | 1 -
configs/Colombus_defconfig | 3 +-
configs/Cubieboard2_defconfig | 2 +-
configs/Cubieboard_defconfig | 2 +-
configs/Cubietruck_defconfig | 2 +-
configs/Et_q8_v1_6_defconfig | 23 ---
configs/Hummingbird_A31_defconfig | 2 +-
configs/Hyundai_A7HD_defconfig | 1 -
configs/Ippo_q8h_v1_2_a33_1024x600_defconfig | 24 ---
configs/Ippo_q8h_v1_2_defconfig | 24 ---
configs/Ippo_q8h_v5_defconfig | 24 ---
configs/Linksprite_pcDuino3_Nano_defconfig | 2 +-
configs/Linksprite_pcDuino3_defconfig | 2 +-
configs/Linksprite_pcDuino_defconfig | 2 +-
configs/MK808C_defconfig | 1 -
configs/MSI_Primo73_defconfig | 1 -
configs/MSI_Primo81_defconfig | 2 +-
configs/Mele_A1000G_quad_defconfig | 8 +-
configs/Mele_A1000_defconfig | 2 +-
configs/Mele_I7_defconfig | 8 +-
configs/Mele_M3_defconfig | 2 +-
configs/Mele_M9_defconfig | 8 +-
configs/Mini-X_defconfig | 1 -
configs/Orangepi_defconfig | 2 +-
configs/Orangepi_mini_defconfig | 2 +-
configs/Sinlinx_SinA33_defconfig | 1 -
configs/Sinovoip_BPI_M2_defconfig | 18 ++
configs/TZX-Q8-713B7_defconfig | 21 ---
configs/UTOO_P66_defconfig | 1 -
configs/Wexler_TAB7200_defconfig | 1 -
configs/Wits_Pro_A20_DKT_defconfig | 2 +-
configs/Wobo_i5_defconfig | 1 -
configs/Yones_Toptech_BD1078_defconfig | 1 -
configs/ba10_tv_box_defconfig | 2 +-
configs/forfun_q88db_defconfig | 20 --
configs/ga10h_v1_1_defconfig | 3 +-
configs/gt90h_v4_defconfig | 4 +-
configs/i12-tvbox_defconfig | 2 +-
configs/iNet_3F_defconfig | 1 -
configs/iNet_3W_defconfig | 1 -
configs/iNet_86VS_defconfig | 1 -
configs/inet1_defconfig | 1 -
configs/inet97fv2_defconfig | 1 -
configs/inet98v_rev2_defconfig | 2 +-
configs/inet9f_rev03_defconfig | 1 -
configs/jesurun_q5_defconfig | 2 +-
configs/mixtile_loftq_defconfig | 2 +-
configs/mk802_a10s_defconfig | 2 +-
configs/mk802_defconfig | 1 +
configs/mk802ii_defconfig | 1 -
configs/pov_protab2_ips9_defconfig | 1 -
configs/q8_a13_tablet_defconfig | 2 +-
configs/q8_a23_tablet_800x480_defconfig | 3 +-
configs/q8_a33_tablet_1024x600_defconfig | 3 +-
configs/q8_a33_tablet_800x480_defconfig | 3 +-
configs/r7-tv-dongle_defconfig | 2 +-
configs/sunxi_Gemei_G9_defconfig | 1 -
drivers/gpio/axp_gpio.c | 11 +-
drivers/mmc/Kconfig | 6 +
drivers/power/Kconfig | 208 ++++++++++++++++-----
drivers/power/axp152.c | 40 ++--
drivers/power/axp209.c | 117 ++++++------
drivers/power/axp221.c | 41 ++--
drivers/usb/gadget/f_fastboot.c | 2 +-
drivers/video/sunxi_display.c | 6 +-
include/_exports.h | 2 +-
include/axp152.h | 6 -
include/axp209.h | 17 +-
include/axp221.h | 16 --
include/axp_pmic.h | 37 ++++
include/configs/sunxi-common.h | 37 +++-
include/exports.h | 2 +-
include/malloc.h | 2 +-
111 files changed, 876 insertions(+), 751 deletions(-)
delete mode 100644 arch/arm/dts/sun5i-a13-forfun-q88db.dts
delete mode 100644 arch/arm/dts/sun5i-a13-tzx-q8-713b7.dts
rename arch/arm/dts/{sun8i-a23-ippo-q8h-v5.dts => sun5i-r8-chip.dts} (51%)
rename arch/arm/dts/{sun8i-a23-ippo-q8h-v1.2.dts => sun5i-r8.dtsi} (82%)
rename arch/arm/dts/{sun8i-a33-ippo-q8h-v1.2.dts => sun6i-a31s-sinovoip-bpi-m2.dts} (50%)
delete mode 100644 arch/arm/dts/sun8i-a33-et-q8-v1.6.dts
create mode 100644 configs/CHIP_defconfig
delete mode 100644 configs/Et_q8_v1_6_defconfig
delete mode 100644 configs/Ippo_q8h_v1_2_a33_1024x600_defconfig
delete mode 100644 configs/Ippo_q8h_v1_2_defconfig
delete mode 100644 configs/Ippo_q8h_v5_defconfig
create mode 100644 configs/Sinovoip_BPI_M2_defconfig
delete mode 100644 configs/TZX-Q8-713B7_defconfig
delete mode 100644 configs/forfun_q88db_defconfig
create mode 100644 include/axp_pmic.h

Regards,

Hans