WS cleanup: remove trailing white space
Signed-off-by: Wolfgang Denk <wd@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c72231d272
commit
0a50b3c97b
@ -133,7 +133,7 @@ such a program is covered only if its contents constitute a work based
|
|||||||
on the Library (independent of the use of the Library in a tool for
|
on the Library (independent of the use of the Library in a tool for
|
||||||
writing it). Whether that is true depends on what the Library does
|
writing it). Whether that is true depends on what the Library does
|
||||||
and what the program that uses the Library does.
|
and what the program that uses the Library does.
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Library's
|
1. You may copy and distribute verbatim copies of the Library's
|
||||||
complete source code as you receive it, in any medium, provided that
|
complete source code as you receive it, in any medium, provided that
|
||||||
you conspicuously and appropriately publish on each copy an
|
you conspicuously and appropriately publish on each copy an
|
||||||
|
4
Makefile
4
Makefile
@ -327,14 +327,14 @@ os_x_before = $(shell if [ $(DARWIN_MAJOR_VERSION) -le $(1) -a \
|
|||||||
$(DARWIN_MINOR_VERSION) -le $(2) ] ; then echo "$(3)"; else echo "$(4)"; fi ;)
|
$(DARWIN_MINOR_VERSION) -le $(2) ] ; then echo "$(3)"; else echo "$(4)"; fi ;)
|
||||||
|
|
||||||
os_x_after = $(shell if [ $(DARWIN_MAJOR_VERSION) -ge $(1) -a \
|
os_x_after = $(shell if [ $(DARWIN_MAJOR_VERSION) -ge $(1) -a \
|
||||||
$(DARWIN_MINOR_VERSION) -ge $(2) ] ; then echo "$(3)"; else echo "$(4)"; fi ;)
|
$(DARWIN_MINOR_VERSION) -ge $(2) ] ; then echo "$(3)"; else echo "$(4)"; fi ;)
|
||||||
|
|
||||||
# Snow Leopards build environment has no longer restrictions as described above
|
# Snow Leopards build environment has no longer restrictions as described above
|
||||||
HOSTCC = $(call os_x_before, 10, 5, "cc", "gcc")
|
HOSTCC = $(call os_x_before, 10, 5, "cc", "gcc")
|
||||||
KBUILD_HOSTCFLAGS += $(call os_x_before, 10, 4, "-traditional-cpp")
|
KBUILD_HOSTCFLAGS += $(call os_x_before, 10, 4, "-traditional-cpp")
|
||||||
KBUILD_HOSTLDFLAGS += $(call os_x_before, 10, 5, "-multiply_defined suppress")
|
KBUILD_HOSTLDFLAGS += $(call os_x_before, 10, 5, "-multiply_defined suppress")
|
||||||
|
|
||||||
# macOS Mojave (10.14.X)
|
# macOS Mojave (10.14.X)
|
||||||
# Undefined symbols for architecture x86_64: "_PyArg_ParseTuple"
|
# Undefined symbols for architecture x86_64: "_PyArg_ParseTuple"
|
||||||
KBUILD_HOSTLDFLAGS += $(call os_x_after, 10, 14, "-lpython -dynamclib", "")
|
KBUILD_HOSTLDFLAGS += $(call os_x_after, 10, 14, "-lpython -dynamclib", "")
|
||||||
endif
|
endif
|
||||||
|
@ -408,7 +408,7 @@ struct cm_dpll {
|
|||||||
unsigned int resv1;
|
unsigned int resv1;
|
||||||
unsigned int clktimer2clk; /* offset 0x04 */
|
unsigned int clktimer2clk; /* offset 0x04 */
|
||||||
unsigned int resv2[11];
|
unsigned int resv2[11];
|
||||||
unsigned int clkselmacclk; /* offset 0x34 */
|
unsigned int clkselmacclk; /* offset 0x34 */
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_AM43XX */
|
#endif /* CONFIG_AM43XX */
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
mov \divisor, \divisor, lsl \result
|
mov \divisor, \divisor, lsl \result
|
||||||
mov \curbit, \curbit, lsl \result
|
mov \curbit, \curbit, lsl \result
|
||||||
mov \result, #0
|
mov \result, #0
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
@ Initially shift the divisor left 3 bits if possible,
|
@ Initially shift the divisor left 3 bits if possible,
|
||||||
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
@ Unless the divisor is very big, shift it up in multiples of
|
@ Unless the divisor is very big, shift it up in multiples of
|
||||||
@ four bits, since this is the amount of unwinding in the main
|
@ four bits, since this is the amount of unwinding in the main
|
||||||
@ division loop. Continue shifting until the divisor is
|
@ division loop. Continue shifting until the divisor is
|
||||||
@ larger than the dividend.
|
@ larger than the dividend.
|
||||||
1: cmp \divisor, #0x10000000
|
1: cmp \divisor, #0x10000000
|
||||||
cmplo \divisor, \dividend
|
cmplo \divisor, \dividend
|
||||||
@ -135,7 +135,7 @@
|
|||||||
|
|
||||||
@ Unless the divisor is very big, shift it up in multiples of
|
@ Unless the divisor is very big, shift it up in multiples of
|
||||||
@ four bits, since this is the amount of unwinding in the main
|
@ four bits, since this is the amount of unwinding in the main
|
||||||
@ division loop. Continue shifting until the divisor is
|
@ division loop. Continue shifting until the divisor is
|
||||||
@ larger than the dividend.
|
@ larger than the dividend.
|
||||||
1: cmp \divisor, #0x10000000
|
1: cmp \divisor, #0x10000000
|
||||||
cmplo \divisor, \dividend
|
cmplo \divisor, \dividend
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
#define XCHAL_HAVE_HIFI3_VFPU 0 /* HiFi3 Audio Engine VFPU option */
|
#define XCHAL_HAVE_HIFI3_VFPU 0 /* HiFi3 Audio Engine VFPU option */
|
||||||
#define XCHAL_HAVE_HIFI2 0 /* HiFi2 Audio Engine pkg */
|
#define XCHAL_HAVE_HIFI2 0 /* HiFi2 Audio Engine pkg */
|
||||||
#define XCHAL_HAVE_HIFI2EP 0 /* HiFi2EP */
|
#define XCHAL_HAVE_HIFI2EP 0 /* HiFi2EP */
|
||||||
#define XCHAL_HAVE_HIFI_MINI 0
|
#define XCHAL_HAVE_HIFI_MINI 0
|
||||||
|
|
||||||
|
|
||||||
#define XCHAL_HAVE_VECTORFPU2005 0 /* vector or user floating-point pkg */
|
#define XCHAL_HAVE_VECTORFPU2005 0 /* vector or user floating-point pkg */
|
||||||
|
@ -62,7 +62,7 @@ static struct __attribute__ ((__packed__)) eeprom {
|
|||||||
u8 mac_count; /* 0x40 Number of MAC addresses */
|
u8 mac_count; /* 0x40 Number of MAC addresses */
|
||||||
u8 mac_flag; /* 0x41 MAC table flags */
|
u8 mac_flag; /* 0x41 MAC table flags */
|
||||||
u8 mac[MAX_NUM_PORTS][6]; /* 0x42 - 0xa1 MAC addresses */
|
u8 mac[MAX_NUM_PORTS][6]; /* 0x42 - 0xa1 MAC addresses */
|
||||||
u8 res_2[90]; /* 0xa2 - 0xfb Reserved */
|
u8 res_2[90]; /* 0xa2 - 0xfb Reserved */
|
||||||
u32 crc; /* 0xfc - 0xff CRC32 checksum */
|
u32 crc; /* 0xfc - 0xff CRC32 checksum */
|
||||||
#endif
|
#endif
|
||||||
} e;
|
} e;
|
||||||
|
@ -73,7 +73,7 @@ static void sdhci_power_init(void)
|
|||||||
|
|
||||||
/* drive strength configs for sdhc pins */
|
/* drive strength configs for sdhc pins */
|
||||||
const struct tlmm_cfg hdrv[] = {
|
const struct tlmm_cfg hdrv[] = {
|
||||||
|
|
||||||
{ SDC1_CLK_HDRV, TLMM_CUR_VAL_16MA, TLMM_HDRV_MASK, },
|
{ SDC1_CLK_HDRV, TLMM_CUR_VAL_16MA, TLMM_HDRV_MASK, },
|
||||||
{ SDC1_CMD_HDRV, TLMM_CUR_VAL_10MA, TLMM_HDRV_MASK, },
|
{ SDC1_CMD_HDRV, TLMM_CUR_VAL_10MA, TLMM_HDRV_MASK, },
|
||||||
{ SDC1_DATA_HDRV, TLMM_CUR_VAL_10MA, TLMM_HDRV_MASK, },
|
{ SDC1_DATA_HDRV, TLMM_CUR_VAL_10MA, TLMM_HDRV_MASK, },
|
||||||
@ -81,14 +81,14 @@ static void sdhci_power_init(void)
|
|||||||
|
|
||||||
/* pull configs for sdhc pins */
|
/* pull configs for sdhc pins */
|
||||||
const struct tlmm_cfg pull[] = {
|
const struct tlmm_cfg pull[] = {
|
||||||
|
|
||||||
{ SDC1_CLK_PULL, TLMM_NO_PULL, TLMM_PULL_MASK, },
|
{ SDC1_CLK_PULL, TLMM_NO_PULL, TLMM_PULL_MASK, },
|
||||||
{ SDC1_CMD_PULL, TLMM_PULL_UP, TLMM_PULL_MASK, },
|
{ SDC1_CMD_PULL, TLMM_PULL_UP, TLMM_PULL_MASK, },
|
||||||
{ SDC1_DATA_PULL, TLMM_PULL_UP, TLMM_PULL_MASK, },
|
{ SDC1_DATA_PULL, TLMM_PULL_UP, TLMM_PULL_MASK, },
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct tlmm_cfg rclk[] = {
|
const struct tlmm_cfg rclk[] = {
|
||||||
|
|
||||||
{ SDC1_RCLK_PULL, TLMM_PULL_DOWN, TLMM_PULL_MASK,},
|
{ SDC1_RCLK_PULL, TLMM_PULL_DOWN, TLMM_PULL_MASK,},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ $ make
|
|||||||
|
|
||||||
This will generate the U-Boot binary called u-boot-dtb.imx.
|
This will generate the U-Boot binary called u-boot-dtb.imx.
|
||||||
|
|
||||||
Put warp7 board in USB download mode:
|
Put warp7 board in USB download mode:
|
||||||
|
|
||||||
Remove the CPU board from the base board then put switch 2 in the upper
|
Remove the CPU board from the base board then put switch 2 in the upper
|
||||||
position
|
position
|
||||||
|
@ -194,7 +194,7 @@ static int mmc_load_image_raw_partition(struct spl_image_info *spl_image,
|
|||||||
err = part_get_info(mmc_get_blk_desc(mmc), type_part, &info);
|
err = part_get_info(mmc_get_blk_desc(mmc), type_part, &info);
|
||||||
if (err)
|
if (err)
|
||||||
continue;
|
continue;
|
||||||
if (info.sys_ind ==
|
if (info.sys_ind ==
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE) {
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE) {
|
||||||
partition = type_part;
|
partition = type_part;
|
||||||
break;
|
break;
|
||||||
|
@ -233,7 +233,7 @@ fdtfile:
|
|||||||
the DTB with a different DTB. fdtfile will automatically be set for you if
|
the DTB with a different DTB. fdtfile will automatically be set for you if
|
||||||
it matches the format ${soc}-${board}.dtb which covers most 32 bit use cases.
|
it matches the format ${soc}-${board}.dtb which covers most 32 bit use cases.
|
||||||
AArch64 generally does not match as the Linux kernel put the dtb files under
|
AArch64 generally does not match as the Linux kernel put the dtb files under
|
||||||
SoC vendor directories.
|
SoC vendor directories.
|
||||||
|
|
||||||
ramdisk_addr_r:
|
ramdisk_addr_r:
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ SoC.
|
|||||||
1.1 MAC Address: It is stored in fuse bank 4, with the 32 lsbs in word 2 and the
|
1.1 MAC Address: It is stored in fuse bank 4, with the 32 lsbs in word 2 and the
|
||||||
16 msbs in word 3[15:0].
|
16 msbs in word 3[15:0].
|
||||||
For i.MX6SX and i.MX6UL, they have two MAC addresses. The second MAC address
|
For i.MX6SX and i.MX6UL, they have two MAC addresses. The second MAC address
|
||||||
is stored in fuse bank 4, with the 16 lsb in word 3[31:16] and the 32 msbs in
|
is stored in fuse bank 4, with the 16 lsb in word 3[31:16] and the 32 msbs in
|
||||||
word 4.
|
word 4.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
@ -339,7 +339,7 @@ int atsha204a_read(struct udevice *dev, enum atsha204a_zone zone, bool read32,
|
|||||||
retry--;
|
retry--;
|
||||||
atsha204a_wakeup(dev);
|
atsha204a_wakeup(dev);
|
||||||
} while (retry >= 0);
|
} while (retry >= 0);
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
debug("ATSHA204A read failed\n");
|
debug("ATSHA204A read failed\n");
|
||||||
return res;
|
return res;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* drivers and users.
|
* drivers and users.
|
||||||
*
|
*
|
||||||
* Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
|
* Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
|
||||||
* Copyright © 2006 Red Hat UK Limited
|
* Copyright © 2006 Red Hat UK Limited
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ void *idr_get_next(struct idr *idp, int *next)
|
|||||||
} else {
|
} else {
|
||||||
*next = 0;
|
*next = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -907,7 +907,7 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip)
|
|||||||
|
|
||||||
u32 timer = (CONFIG_SYS_HZ * timeo) / 1000;
|
u32 timer = (CONFIG_SYS_HZ * timeo) / 1000;
|
||||||
u32 time_start;
|
u32 time_start;
|
||||||
|
|
||||||
time_start = get_timer(0);
|
time_start = get_timer(0);
|
||||||
while (get_timer(time_start) < timer) {
|
while (get_timer(time_start) < timer) {
|
||||||
if (chip->dev_ready) {
|
if (chip->dev_ready) {
|
||||||
|
@ -189,7 +189,7 @@ int nand_erase_opts(struct mtd_info *mtd,
|
|||||||
|
|
||||||
#define NAND_CMD_LOCK_TIGHT 0x2c
|
#define NAND_CMD_LOCK_TIGHT 0x2c
|
||||||
#define NAND_CMD_LOCK_STATUS 0x7a
|
#define NAND_CMD_LOCK_STATUS 0x7a
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Support for locking / unlocking operations of some NAND devices
|
* Support for locking / unlocking operations of some NAND devices
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
@ -115,7 +115,7 @@ static struct ubi_device *ubi_devices[UBI_MAX_DEVICES];
|
|||||||
#else
|
#else
|
||||||
struct ubi_device *ubi_devices[UBI_MAX_DEVICES];
|
struct ubi_device *ubi_devices[UBI_MAX_DEVICES];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __UBOOT__
|
#ifndef __UBOOT__
|
||||||
/* Serializes UBI devices creations and removals */
|
/* Serializes UBI devices creations and removals */
|
||||||
DEFINE_MUTEX(ubi_devices_mutex);
|
DEFINE_MUTEX(ubi_devices_mutex);
|
||||||
|
@ -73,7 +73,7 @@ restart_aneg:
|
|||||||
|
|
||||||
if (!(wol & BIT(12)) ||
|
if (!(wol & BIT(12)) ||
|
||||||
((exp & EXPANSION_NWAY) && !(lpa & LPA_LPACK))) {
|
((exp & EXPANSION_NWAY) && !(lpa & LPA_LPACK))) {
|
||||||
|
|
||||||
/* Looks like aneg failed after all */
|
/* Looks like aneg failed after all */
|
||||||
if (!retries) {
|
if (!retries) {
|
||||||
printf("%s LPA corruption max attempts\n",
|
printf("%s LPA corruption max attempts\n",
|
||||||
|
@ -286,7 +286,7 @@ static int stm32_fmc_of_to_plat(struct udevice *dev)
|
|||||||
} else {
|
} else {
|
||||||
dev_dbg(dev, "cannot find st,mem_remap property\n");
|
dev_dbg(dev, "cannot find st,mem_remap property\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
swp_fmc = dev_read_u32_default(dev, "st,swp_fmc", NOT_FOUND);
|
swp_fmc = dev_read_u32_default(dev, "st,swp_fmc", NOT_FOUND);
|
||||||
if (swp_fmc != NOT_FOUND) {
|
if (swp_fmc != NOT_FOUND) {
|
||||||
/* set fmc swapping selection */
|
/* set fmc swapping selection */
|
||||||
|
@ -70,16 +70,16 @@ struct reset_ops meson_reset_ops = {
|
|||||||
.rst_deassert = meson_reset_deassert,
|
.rst_deassert = meson_reset_deassert,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct udevice_id meson_reset_ids[] = {
|
static const struct udevice_id meson_reset_ids[] = {
|
||||||
{ .compatible = "amlogic,meson-gxbb-reset" },
|
{ .compatible = "amlogic,meson-gxbb-reset" },
|
||||||
{ .compatible = "amlogic,meson-axg-reset" },
|
{ .compatible = "amlogic,meson-axg-reset" },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
static int meson_reset_probe(struct udevice *dev)
|
static int meson_reset_probe(struct udevice *dev)
|
||||||
{
|
{
|
||||||
struct meson_reset_priv *priv = dev_get_priv(dev);
|
struct meson_reset_priv *priv = dev_get_priv(dev);
|
||||||
|
|
||||||
return regmap_init_mem(dev_ofnode(dev), &priv->regmap);
|
return regmap_init_mem(dev_ofnode(dev), &priv->regmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ static int msm_serial_of_to_plat(struct udevice *dev)
|
|||||||
if (priv->base == FDT_ADDR_T_NONE)
|
if (priv->base == FDT_ADDR_T_NONE)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
priv->clk_bit_rate = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
|
priv->clk_bit_rate = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
|
||||||
"bit-rate", UART_DM_CLK_RX_TX_BIT_RATE);
|
"bit-rate", UART_DM_CLK_RX_TX_BIT_RATE);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -170,7 +170,7 @@ static int dwc3_meson_gxl_usb2_init(struct dwc3_meson_gxl *priv)
|
|||||||
static int dwc3_meson_gxl_usb_init(struct dwc3_meson_gxl *priv)
|
static int dwc3_meson_gxl_usb_init(struct dwc3_meson_gxl *priv)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = dwc3_meson_gxl_usb2_init(priv);
|
ret = dwc3_meson_gxl_usb2_init(priv);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -190,7 +190,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/* SUNXI has different reg addresses, but identical r/w functions */
|
/* SUNXI has different reg addresses, but identical r/w functions */
|
||||||
#ifndef CONFIG_ARCH_SUNXI
|
#ifndef CONFIG_ARCH_SUNXI
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Common USB registers
|
* Common USB registers
|
||||||
|
@ -159,7 +159,7 @@ static struct int_queue *_musb_create_int_queue(struct musb_host_data *host,
|
|||||||
static int _musb_destroy_int_queue(struct musb_host_data *host,
|
static int _musb_destroy_int_queue(struct musb_host_data *host,
|
||||||
struct usb_device *dev, struct int_queue *queue)
|
struct usb_device *dev, struct int_queue *queue)
|
||||||
{
|
{
|
||||||
int index = usb_pipein(queue->urb.pipe) * 16 +
|
int index = usb_pipein(queue->urb.pipe) * 16 +
|
||||||
usb_pipeendpoint(queue->urb.pipe);
|
usb_pipeendpoint(queue->urb.pipe);
|
||||||
|
|
||||||
if (queue->urb.status == -EINPROGRESS)
|
if (queue->urb.status == -EINPROGRESS)
|
||||||
|
@ -327,7 +327,7 @@ static int ctrlreq_out_data_phase(struct usb_device *dev, u32 len, void *buffer)
|
|||||||
|
|
||||||
/* Set TXPKTRDY bit */
|
/* Set TXPKTRDY bit */
|
||||||
csr = readw(&musbr->txcsr);
|
csr = readw(&musbr->txcsr);
|
||||||
|
|
||||||
csr |= MUSB_CSR0_TXPKTRDY;
|
csr |= MUSB_CSR0_TXPKTRDY;
|
||||||
csr |= MUSB_CSR0_H_DIS_PING;
|
csr |= MUSB_CSR0_H_DIS_PING;
|
||||||
writew(csr, &musbr->txcsr);
|
writew(csr, &musbr->txcsr);
|
||||||
|
@ -67,11 +67,11 @@ void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp)
|
|||||||
printf("Error anx9804 clock is not stable\n");
|
printf("Error anx9804 clock is not stable\n");
|
||||||
|
|
||||||
i2c_reg_write(0x39, ANX9804_VID_CTRL2_REG, colordepth);
|
i2c_reg_write(0x39, ANX9804_VID_CTRL2_REG, colordepth);
|
||||||
|
|
||||||
/* Set a bunch of analog related register values */
|
/* Set a bunch of analog related register values */
|
||||||
i2c_reg_write(0x38, ANX9804_PLL_CTRL_REG, 0x07);
|
i2c_reg_write(0x38, ANX9804_PLL_CTRL_REG, 0x07);
|
||||||
i2c_reg_write(0x39, ANX9804_PLL_FILTER_CTRL3, 0x19);
|
i2c_reg_write(0x39, ANX9804_PLL_FILTER_CTRL3, 0x19);
|
||||||
i2c_reg_write(0x39, ANX9804_PLL_CTRL3, 0xd9);
|
i2c_reg_write(0x39, ANX9804_PLL_CTRL3, 0xd9);
|
||||||
i2c_reg_write(0x39, ANX9804_RST_CTRL2_REG, ANX9804_RST_CTRL2_AC_MODE);
|
i2c_reg_write(0x39, ANX9804_RST_CTRL2_REG, ANX9804_RST_CTRL2_AC_MODE);
|
||||||
i2c_reg_write(0x39, ANX9804_ANALOG_DEBUG_REG1, 0xf0);
|
i2c_reg_write(0x39, ANX9804_ANALOG_DEBUG_REG1, 0xf0);
|
||||||
i2c_reg_write(0x39, ANX9804_ANALOG_DEBUG_REG3, 0x99);
|
i2c_reg_write(0x39, ANX9804_ANALOG_DEBUG_REG3, 0x99);
|
||||||
@ -105,7 +105,7 @@ void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp)
|
|||||||
i2c_reg_write(0x38, ANX9804_LINK_BW_SET_REG, data_rate);
|
i2c_reg_write(0x38, ANX9804_LINK_BW_SET_REG, data_rate);
|
||||||
i2c_reg_write(0x38, ANX9804_LANE_COUNT_SET_REG, lanes);
|
i2c_reg_write(0x38, ANX9804_LANE_COUNT_SET_REG, lanes);
|
||||||
|
|
||||||
/* Link training */
|
/* Link training */
|
||||||
i2c_reg_write(0x38, ANX9804_LINK_TRAINING_CTRL_REG,
|
i2c_reg_write(0x38, ANX9804_LINK_TRAINING_CTRL_REG,
|
||||||
ANX9804_LINK_TRAINING_CTRL_EN);
|
ANX9804_LINK_TRAINING_CTRL_EN);
|
||||||
mdelay(5);
|
mdelay(5);
|
||||||
|
@ -118,7 +118,7 @@ static int tl070wsh30_panel_probe(struct udevice *dev)
|
|||||||
|
|
||||||
/* reset panel */
|
/* reset panel */
|
||||||
dm_gpio_set_value(&priv->reset, true);
|
dm_gpio_set_value(&priv->reset, true);
|
||||||
|
|
||||||
mdelay(10);
|
mdelay(10);
|
||||||
|
|
||||||
dm_gpio_set_value(&priv->reset, false);
|
dm_gpio_set_value(&priv->reset, false);
|
||||||
|
@ -105,7 +105,7 @@
|
|||||||
#ifdef CONFIG_MX6UL
|
#ifdef CONFIG_MX6UL
|
||||||
# define DRAM_OFFSET(x) 0x87##x
|
# define DRAM_OFFSET(x) 0x87##x
|
||||||
# define FDT_ADDR __stringify(DRAM_OFFSET(800000))
|
# define FDT_ADDR __stringify(DRAM_OFFSET(800000))
|
||||||
#else
|
#else
|
||||||
# define DRAM_OFFSET(x) 0x1##x
|
# define DRAM_OFFSET(x) 0x1##x
|
||||||
# define FDT_ADDR __stringify(DRAM_OFFSET(8000000))
|
# define FDT_ADDR __stringify(DRAM_OFFSET(8000000))
|
||||||
#endif
|
#endif
|
||||||
|
@ -945,7 +945,7 @@ struct nand_chip {
|
|||||||
int jedec_version;
|
int jedec_version;
|
||||||
struct nand_onfi_params onfi_params;
|
struct nand_onfi_params onfi_params;
|
||||||
struct nand_jedec_params jedec_params;
|
struct nand_jedec_params jedec_params;
|
||||||
|
|
||||||
struct nand_data_interface *data_interface;
|
struct nand_data_interface *data_interface;
|
||||||
|
|
||||||
int read_retries;
|
int read_retries;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* include/linux/serial_reg.h
|
* include/linux/serial_reg.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 1992, 1994 by Theodore Ts'o.
|
* Copyright (C) 1992, 1994 by Theodore Ts'o.
|
||||||
*
|
*
|
||||||
* These are the UART port assignments, expressed as offsets from the base
|
* These are the UART port assignments, expressed as offsets from the base
|
||||||
* register. These assignments should hold for any serial port based on
|
* register. These assignments should hold for any serial port based on
|
||||||
* a 8250, 16450, or 16550(A).
|
* a 8250, 16450, or 16550(A).
|
||||||
@ -88,7 +88,7 @@
|
|||||||
|
|
||||||
#define UART_LCR 3 /* Out: Line Control Register */
|
#define UART_LCR 3 /* Out: Line Control Register */
|
||||||
/*
|
/*
|
||||||
* Note: if the word length is 5 bits (UART_LCR_WLEN5), then setting
|
* Note: if the word length is 5 bits (UART_LCR_WLEN5), then setting
|
||||||
* UART_LCR_STOP will select 1.5 stop bits, not 2 stop bits.
|
* UART_LCR_STOP will select 1.5 stop bits, not 2 stop bits.
|
||||||
*/
|
*/
|
||||||
#define UART_LCR_DLAB 0x80 /* Divisor latch access bit */
|
#define UART_LCR_DLAB 0x80 /* Divisor latch access bit */
|
||||||
|
@ -639,7 +639,7 @@ on_set_option_mode3_activate(GtkMenuItem *menuitem, gpointer user_data)
|
|||||||
void on_introduction1_activate(GtkMenuItem * menuitem, gpointer user_data)
|
void on_introduction1_activate(GtkMenuItem * menuitem, gpointer user_data)
|
||||||
{
|
{
|
||||||
GtkWidget *dialog;
|
GtkWidget *dialog;
|
||||||
const gchar *intro_text =
|
const gchar *intro_text =
|
||||||
"Welcome to gkc, the GTK+ graphical configuration tool\n"
|
"Welcome to gkc, the GTK+ graphical configuration tool\n"
|
||||||
"For each option, a blank box indicates the feature is disabled, a\n"
|
"For each option, a blank box indicates the feature is disabled, a\n"
|
||||||
"check indicates it is enabled, and a dot indicates that it is to\n"
|
"check indicates it is enabled, and a dot indicates that it is to\n"
|
||||||
|
@ -427,7 +427,7 @@ static void tokenise(char *buffer, char *end)
|
|||||||
}
|
}
|
||||||
memcpy(tokens[tix].content, start, tokens[tix].size);
|
memcpy(tokens[tix].content, start, tokens[tix].size);
|
||||||
tokens[tix].content[tokens[tix].size] = 0;
|
tokens[tix].content[tokens[tix].size] = 0;
|
||||||
|
|
||||||
/* If it begins with a lowercase letter then
|
/* If it begins with a lowercase letter then
|
||||||
* it's an element name
|
* it's an element name
|
||||||
*/
|
*/
|
||||||
|
@ -3,15 +3,15 @@ Author: Simon Glass <sjg@chromium.org>
|
|||||||
Date: Sat Apr 15 15:39:08 2017 -0600
|
Date: Sat Apr 15 15:39:08 2017 -0600
|
||||||
|
|
||||||
pci: Correct cast for sandbox
|
pci: Correct cast for sandbox
|
||||||
|
|
||||||
This gives a warning with some native compilers:
|
This gives a warning with some native compilers:
|
||||||
|
|
||||||
cmd/pci.c:152:11: warning: format ‘%llx’ expects argument of type
|
cmd/pci.c:152:11: warning: format ‘%llx’ expects argument of type
|
||||||
‘long long unsigned int’, but argument 3 has type
|
‘long long unsigned int’, but argument 3 has type
|
||||||
‘u64 {aka long unsigned int}’ [-Wformat=]
|
‘u64 {aka long unsigned int}’ [-Wformat=]
|
||||||
|
|
||||||
Fix it with a cast.
|
Fix it with a cast.
|
||||||
|
|
||||||
Signed-off-by: Simon Glass <sjg@chromium.org>
|
Signed-off-by: Simon Glass <sjg@chromium.org>
|
||||||
Commit-changes: 2
|
Commit-changes: 2
|
||||||
- second revision change
|
- second revision change
|
||||||
@ -21,7 +21,7 @@ Date: Sat Apr 15 15:39:08 2017 -0600
|
|||||||
about some things
|
about some things
|
||||||
from the first commit
|
from the first commit
|
||||||
END
|
END
|
||||||
|
|
||||||
Commit-notes:
|
Commit-notes:
|
||||||
Some notes about
|
Some notes about
|
||||||
the first commit
|
the first commit
|
||||||
@ -32,15 +32,15 @@ Author: Simon Glass <sjg@chromium.org>
|
|||||||
Date: Sat Apr 15 15:39:08 2017 -0600
|
Date: Sat Apr 15 15:39:08 2017 -0600
|
||||||
|
|
||||||
fdt: Correct cast for sandbox in fdtdec_setup_mem_size_base()
|
fdt: Correct cast for sandbox in fdtdec_setup_mem_size_base()
|
||||||
|
|
||||||
This gives a warning with some native compilers:
|
This gives a warning with some native compilers:
|
||||||
|
|
||||||
lib/fdtdec.c:1203:8: warning: format ‘%llx’ expects argument of type
|
lib/fdtdec.c:1203:8: warning: format ‘%llx’ expects argument of type
|
||||||
‘long long unsigned int’, but argument 3 has type
|
‘long long unsigned int’, but argument 3 has type
|
||||||
‘long unsigned int’ [-Wformat=]
|
‘long unsigned int’ [-Wformat=]
|
||||||
|
|
||||||
Fix it with a cast.
|
Fix it with a cast.
|
||||||
|
|
||||||
Signed-off-by: Simon Glass <sjg@chromium.org>
|
Signed-off-by: Simon Glass <sjg@chromium.org>
|
||||||
Series-to: u-boot
|
Series-to: u-boot
|
||||||
Series-prefix: RFC
|
Series-prefix: RFC
|
||||||
@ -60,7 +60,7 @@ Date: Sat Apr 15 15:39:08 2017 -0600
|
|||||||
|
|
||||||
Cover-changes: 4
|
Cover-changes: 4
|
||||||
- Some notes for the cover letter
|
- Some notes for the cover letter
|
||||||
|
|
||||||
Cover-letter:
|
Cover-letter:
|
||||||
test: A test patch series
|
test: A test patch series
|
||||||
This is a test of how the cover
|
This is a test of how the cover
|
||||||
|
Loading…
Reference in New Issue
Block a user