summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/sunxi-u-boot.dtsi6
-rw-r--r--arch/arm/include/asm/arch-sunxi/gpio.h1
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi
index e959eb2a40..af419c7e59 100644
--- a/arch/arm/dts/sunxi-u-boot.dtsi
+++ b/arch/arm/dts/sunxi-u-boot.dtsi
@@ -29,6 +29,11 @@
pad-byte = <0xff>;
blob {
+ /*
+ * This value matches SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
+ * and SYS_SPI_U_BOOT_OFFS if those are defined.
+ */
+ min-size = <0x8000>;
filename = "spl/sunxi-spl.bin";
};
@@ -105,7 +110,6 @@
};
#else
u-boot-img {
- offset = <CONFIG_SPL_PAD_TO>;
};
#endif
};
diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h
index 437e86479c..6eaeece4e2 100644
--- a/arch/arm/include/asm/arch-sunxi/gpio.h
+++ b/arch/arm/include/asm/arch-sunxi/gpio.h
@@ -209,7 +209,6 @@ enum sunxi_gpio_number {
/* Virtual AXP0 GPIOs */
#define SUNXI_GPIO_AXP0_PREFIX "AXP0-"
-#define SUNXI_GPIO_AXP0_VBUS_DETECT 4
#define SUNXI_GPIO_AXP0_VBUS_ENABLE 5
#define SUNXI_GPIO_AXP0_GPIO_COUNT 6