Move the code that handles fs boot out of spl_mmc_load_image() and into its
own function to reduce the #ifdef complexit of spl_mmc_load_image().
No functional changes.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
Get rid of emmc boot code duplication in spl_mmc_load_image() using a switch
case fallthrough into MMCSD_MODE_RAW. Since the #ifdef CONFIG_SUPPORT_EMMC_BOOT
check is not really necessary, remove it in the process.
No functional changes.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul
, they return normally and SPL proceeds to boot the
contents of the load address. This is considered a bug and
is rectified by hanging on error for these devices as well.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
Cc: Ian Campbell
Cc: Hans De Goede
Cc: Albert
Use spl alternate boot device feature to define fallback to
the main boot device as it is defined by hardware.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
---
board/compulab/cm_fx6/spl.c | 19 ++-
include/configs/cm_fx6.h| 1 -
2 files
: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
---
common/spl/spl_mmc.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index f0c4d56..fbdcf0d 100644
--- a
Introduce spl_boot_list array, which defines a list of boot devices
that SPL will try before hanging. By default this list will consist
of only spl_boot_device(), but board_boot_order() can be overridden
by board code to populate the array with custom values.
Signed-off-by: Nikita Kiryanov
Cc
Remove code duplication in spl_nand_load_image().
No functional changes.
Signed-off-by: Nikita Kiryanov
Cc: Scott Wood
Cc: Igor Grinberg
---
common/spl/spl_nand.c | 31 ---
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/common/spl/spl_nand.c b
Refactor spl image load code out of board_init_r and into its own
function. This is a preparation for supporting alternative boot
devices.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
---
common/spl/spl.c | 117
this refactor, we fail
the moment there is an error.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
---
common/spl/spl_mmc.c | 77 +---
1 file changed, 55 insertions
Nikita Kiryanov (12):
spl: nand: remove code duplication
spl: mmc: add break statements in spl_mmc_load_image()
spl: mmc: refactor device location code to its own function
spl: mmc: remove #ifdef CONFIG_SPL_OS_BOOT check
spl: mmc: get rid of #ifdef
reak statements between the cases to make
the
function try only one boot mode.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
---
common/spl/spl_mmc.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff
Now that we support alternative boot devices, it can sometimes be
unclear which boot devices was actually used. Provide a function to
announce which boot devices are attempted during boot.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
---
common/spl/spl.c | 86
Implement default versions of falcon mode functions to make the
CONFIG_SPL_OS_BOOT check in spl_mmc_load_image() unnecessary, thus reducing
its #ifdef complexity.
No functional changes.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Now that the merge window is open: ping!
On Sun, Aug 30, 2015 at 11:42:31AM +0300, Nikita Kiryanov wrote:
> This series adds the following functionality to the splash_source library:
> - load splash image from filesystem formatted usb storage
> - load splash image from filesystem form
Gentle ping.
On Sun, Aug 30, 2015 at 11:42:31AM +0300, Nikita Kiryanov wrote:
> This series adds the following functionality to the splash_source library:
> - load splash image from filesystem formatted usb storage
> - load splash image from filesystem formatted mmc storage
> - load
On Wed, Sep 16, 2015 at 01:10:45PM +0300, Igor Grinberg wrote:
> Hi Stefano,
>
> On 09/13/15 11:36, Stefano Babic wrote:
> >
> >
> > On 06/09/2015 10:48, Nikita Kiryanov wrote:
> >> This series provides a fix necessary for early models of Utilite, a
> &g
read failures in a more explicit
way
Nikita Kiryanov (4):
compulab: eeprom: select i2c bus when querying for board rev
compulab: eeprom: propagate error value in read_mac_addr()
compulab: eeprom: add support for obtaining product name
arm: mx6: cm-fx6: modify device tree for old
cl_eeprom_read_mac_addr() doesn't differentiate between success case and
inability to access eeprom. Fix this by propagating the return value of
cl_eeprom_setup().
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
Changes in V2:
- New patch
board/compulab/c
.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
Changes in V2:
- #define USDHC3_PATH instead of const variable usdhc3_path
- Do not update device tree on eeprom read failures in a more explicit
way
board/compulab/cm_fx6/cm_fx6.c
Introduce cl_eeprom_get_product_name() for obtaining product name
from the eeprom.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
Changes in V2:
- s/BOARD_PRODUCT_NAME_*/PRODUCT_NAME_*
- Added documentation
- rewrote cl_eeprom_get_product_name
Add support for selecting which eeprom is queried for board revision by
extending cl_eeprom_get_board_rev() to accept an i2c bus number.
Cc: Stefano Babic
Cc: Igor Grinberg
Acked-by: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
Changes in V2:
- No changes
board/compulab/cm_fx6
.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_fx6/cm_fx6.c | 16
1 file changed, 16 insertions(+)
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index 572111d..c8e980d 100644
--- a/board/compulab/cm_fx6/cm_
Introduce cl_eeprom_get_product_name() for obtaining product name
from the eeprom.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/common/eeprom.c | 19 +++
board/compulab/common/eeprom.h | 5 +
2 files changed, 24 insertions(+)
diff
Add support for selecting which eeprom is queried for board revision by
extending cl_eeprom_get_board_rev() to accept an i2c bus number.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_fx6/cm_fx6.c | 2 +-
board/compulab/cm_t35/cm_t35.c | 2 +-
board
This series provides a fix necessary for early models of Utilite, a miniature
desktop based on CM-FX6. It implements a dynamic modification to the device tree
that is necessary for mmc boot.
Cc: Stefano Babic
Cc: Igor Grinberg
Nikita Kiryanov (3):
compulab: eeprom: select i2c bus when
Print board revision for cm-fx6.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_fx6/cm_fx6.c | 7 +++
include/configs/cm_fx6.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
configs/cm_fx6_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/cm_fx6_defconfig b/configs/cm_fx6_defconfig
index 21c35e3..314eb1c 100644
--- a/configs/cm_fx6_defconfig
+++ b/configs/cm_fx6_defconfig
@@ -
This is a collection of small fixes and improvements to cm-fx6.
Cc: Stefano Babic
Cc: Igor Grinberg
Nikita Kiryanov (3):
arm: mx6: cm-fx6: force host mode on usb controller
arm: mx6: cm-fx6: print PCB revision
arm: mx6: cm-fx6: switch to usb kbd polling via int queue
board/compulab
, and is caused by the USBPHY_CTRL
register reporting USBPHY_CTRL_OTG_ID to be 1, even when it is pulled down.
Since we do not support device mode in cm-fx6 u-boot, force all controllers to
be configured as hosts.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab
Title correction: add support for additional splash image locations
On Sun, Aug 30, 2015 at 11:42:31AM +0300, Nikita Kiryanov wrote:
> This series adds the following functionality to the splash_source library:
> - load splash image from filesystem formatted usb storage
> - load splash i
Add support for loading splash image from an SD card formatted with
a filesystem. Update boards to maintain original behavior where needed.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_fx6/cm_fx6.c | 1 +
board/compulab/cm_t35/cm_t35.c | 1 +
common
: Igor Grinberg
Cc: Tom Rini
Nikita Kiryanov (5):
splash_source: rename *_read() to *_read_raw()
splash_source: add support for filesystem formatted mmc
splash_source: add support for filesystem formatted usb
splash_source: add support for fileystem formatted sata
arm: mx6: cm-fx6: add
Add the following splash locations to cm-fx6:
* filesystem formatted mmc
* filesystem formatted usb
* filesystem formatted sata
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_fx6/cm_fx6.c | 18 ++
1 file changed, 18 insertions(+)
diff
Add support for loading splashimage from filesystem formatted sata
storage.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
common/splash_source.c | 9 +
include/splash.h | 1 +
2 files changed, 10 insertions(+)
diff --git a/common/splash_source.c b/common
Add support for loading splash image from USB drive formatted with a
filesystem.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
common/splash_source.c | 11 +++
include/splash.h | 1 +
2 files changed, 12 insertions(+)
diff --git a/common/splash_source.c b
Rename raw read functions to *_read_raw() in preparation for supporting
read_fs() feature.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
common/splash_source.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/common/splash_source.c b
Cc Masahiro Yamada with correct email
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Wed, Jul 29, 2015 at 12:59:00AM +0900, Masahiro Yamada wrote:
> 2015-07-28 16:08 GMT+09:00 Nikita Kiryanov :
> > Add option to set shell prompt string from menuconfig and migrate
> > boards globally.
> >
> > The migration is done as follows:
> > - Boards that e
Add initial support for CM-T43, an AM437x based SoM.
This support includes: serial, MMC/eMMC, NAND, USB, ETH, I2C, GPIO, DRAM
detection.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
arch/arm/Kconfig | 6 +
board/compulab/cm_t43
Add spi clock to the list of am43xx basic clocks to make the SPI
subsystem available on am43xx systems.
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/armv7
The CMD(DAT) lines reset procedure described in the OMAP4(AM335x,
OMAP5, DRA7xx) TRMs is also necessary for AM43XX. Enable it in the
driver.
Cc: Pantelis Antoniou
Cc: Igor Grinberg
Cc: Albert Aribaud
Signed-off-by: Nikita Kiryanov
---
drivers/mmc/omap_hsmmc.c | 2 +-
1 file changed, 1
Add support for AM43XX to the omap3_spi driver.
Cc: Jagan Teki
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
drivers/spi/omap3_spi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/omap3_spi.h b/drivers/spi/omap3_spi.h
index ab7cd84..4af22c1 100644
--- a
This series adds initial support for CM-T43, an AM437x based SoM.
This support includes: serial, MMC/eMMC, NAND, USB, ETH, I2C, GPIO, DRAM
detection.
Cc: Igor Grinberg
Cc: Albert Aribaud
Cc: Pantelis Antoniou
Cc: Jagan Teki
Cc: Tom Rini
Nikita Kiryanov (6):
spi: omap3_spi: add am43xx
Enable 8bit interface on HSMMC2 for am43xx to support 8bit eMMC chips.
Cc: Pantelis Antoniou
Cc: Igor Grinberg
Cc: Albert Aribaud
Signed-off-by: Nikita Kiryanov
---
drivers/mmc/omap_hsmmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/omap_hsmmc.c b
AM43XX SoCs support up to 192 GPIO signals.
Make this amount available to the driver.
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
arch/arm/include/asm/arch-am33xx/gpio.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/arch-am33xx/gpio.h
Hi Stefano, Marek,
On Sun, Jul 26, 2015 at 12:50:56PM +0200, Stefano Babic wrote:
> Hi Marek,
>
> On 26/07/2015 12:35, Marek Vasut wrote:
> > On Sunday, July 26, 2015 at 11:36:11 AM, Stefano Babic wrote:
> >> Hi Nikita, Marek,
> >>
> >> On 26/07/2015
On Thu, Jul 23, 2015 at 08:54:25PM +0300, Nikolay Dimitrov wrote:
> Hi Nikita,
>
> On 07/23/2015 05:19 PM, Nikita Kiryanov wrote:
> >U-Boot does not explicitly assign the display to an IPU interface. Instead,
> >it
> >relies on the power-on default of DI0.
> >
&
On Fri, Jul 24, 2015 at 11:05:22AM +0900, Masahiro Yamada wrote:
> 2015-07-24 6:21 GMT+09:00 Tom Rini :
> > On Thu, Jul 23, 2015 at 05:19:39PM +0300, Nikita Kiryanov wrote:
> >
> >> Add option to set shell prompt string from menuconfig and use it
> >> when migr
On Thu, Jul 23, 2015 at 05:01:24PM +0200, Marek Vasut wrote:
> On Thursday, July 23, 2015 at 04:19:36 PM, Nikita Kiryanov wrote:
> > Add Kconfig options for USB keyboard and use them for cm-fx6.
> >
> > Cc: Marek Vasut
> > Cc: Stefano Babic
> > Cc: Igor Gr
On Thu, Jul 23, 2015 at 05:01:07PM +0200, Marek Vasut wrote:
> On Thursday, July 23, 2015 at 04:19:35 PM, Nikita Kiryanov wrote:
> > Add USB_EHCI_MX6 option to menuconfig and use it when migrating cm-fx6 usb
> > config to defconfig.
> >
> > Cc: Masahiro Yamada
Move CONFIG_CMD_* options that can be selected in menuconfig to cm-fx6
defconfig.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
configs/cm_fx6_defconfig | 5 +
include/configs/cm_fx6.h | 3 ---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/configs
Add Kconfig options for USB keyboard and use them for cm-fx6.
Cc: Marek Vasut
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
configs/cm_fx6_defconfig | 2 ++
drivers/usb/Kconfig | 27 +++
include/configs/cm_fx6.h | 2 --
3 files changed
CPU_V7 is already selected by ARCH_MX6, so no point in selecting it again
by boards that depend on ARCH_MX6.
Cc: Albert Aribaud
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
arch/arm/cpu/armv7/mx6/Kconfig | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm
Add USB_EHCI_MX6 option to menuconfig and use it when migrating cm-fx6 usb
config to defconfig.
Cc: Masahiro Yamada
Cc: Marek Vasut
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
configs/cm_fx6_defconfig | 4
drivers/usb/host/Kconfig | 7 +++
include/configs
cm-fx6 is an MX6 based board, and the menuconfig hierarchy should
reflect that. Make TARGET_CM_FX6 dependant on ARCH_MX6.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
arch/arm/Kconfig | 8
arch/arm/cpu/armv7/mx6/Kconfig | 8
configs
Refactor display code to only setup hdmi if do_enable_hdmi() is invoked.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_fx6/cm_fx6.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board
This series includes some fixes for cm-fx6, as well as migrating of cm-fx6
config options to the defconfig file. In the process of migrating the config
#defines, new entries are added to menuconfig.
Cc: Stefano Babic
Cc: Igor Grinberg
Nikita Kiryanov (12):
arm: mx6: cm-fx6: map HDMI to IPU1
With recent additions to USB Kconfig the number of USB options had grown
large enough to warrant a separate menu for USB.
Add a Kconfig menu for USB.
Cc: Marek Vasut
Signed-off-by: Nikita Kiryanov
---
drivers/usb/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb
s compatibility.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_fx6/cm_fx6.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index 2fb8db5..3e518c1 100644
--- a/b
: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_fx6/cm_fx6.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index 7a1bbaf..b500f91 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board
ays array (it's CONFIG_IMX_VIDEO_SKIP specific).
- Don't use detect_hdmi(), since env controlled init makes it unnecessary.
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
Signed-off-by: Igor Grinberg
---
board/comp
Add option to set shell prompt string from menuconfig and use it
when migrating CONFIG_SYS_PROMPT to cm-fx6 defconfig.
Cc: Tom Rini
Cc: Masahiro Yamada
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
common/Kconfig | 7 +++
configs/cm_fx6_defconfig | 1
Add kconfig options for various SPI flashes and use them in cm-fx6 defconfig.
Cc: Jagan Teki
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
configs/cm_fx6_defconfig | 8
drivers/mtd/spi/Kconfig | 44
include
rees rotation.
Patch 1-3 make preparations to the code.
Patch 4 implements the new feature
Whole series:
Acked-by: Nikita Kiryanov
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
rows = pcons->lcdsizex;
} else {
cols = pcons->lcdsizex;
rows = pcons->lcdsizey;
}
console_calc_rowcol(&cons, cols, rows);
}
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
+#endif
This duplication with console_calc_rowcol() exists because the lcdsizey and
lcdsizex data is expected by the functions to be already in pcons. If you
change console_calc_rowcol() to accept both variables as additional
arguments, then console_calc_rowcol() could be reused in
console_calc_ro
break;
+
+ case '\t': /* tab 8 */
+ COL |= 0x0008;
+ COL &= ~0x0007;
This seems buggy. Not only does this limit us to one tab, it can potentially
move the cursor
backwards. The LCD version of COL += 8 seems more cor
z00.h | 5 +
include/lcd_console.h | 33
9 files changed, 537 insertions(+), 426 deletions(-)
create mode 100644 common/ansi_console.c
create mode 100644 include/ansi_console.h
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boo
object oriented way of accessing
the object's members from its methods.
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
int rows, int cols);
-
+/*void lcd_init_console(void *address, int rows, int cols); */
Please delete this comment
+void lcd_init_console(void *address, int vl_cols, int vl_rows, int vl_rot);
/**
* lcd_set_col() - Set the number of the current lcd console column
*
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
console_t {
+ short curr_col, curr_row;
+ short cols, rows;
+ void *lcd_address;
Can this be void *base_address? I think that's a bit more descriptive.
Other than that,
Acked-by: Nikita Kiryanov
+};
--
Regards,
Nikita Kiryanov
remove the loops inside.
Signed-off-by: Hannes Petermaier
Signed-off-by: Hannes Petermaier
Acked-by: Nikita Kiryanov
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
onsole.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
Acked-by: Nikita Kiryanov
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
video console with the lcd console
anyway), so for now you can work with it fairly uninterrupted. I only ask that
you avoid adding platform specific code to it. The only platform specific thing
in there right now is a mention of panel_info, and that should disappear soon
as well (replaced with a
Hi all,
I noticed we have a lot of unused video drivers, specifically:
CONFIG_EXYNOS_PWM_BL
CONFIG_L5F31188
CONFIG_SED156X
CONFIG_VIDEO_COREBOOT
CONFIG_VIDEO_IMX25LCDC
CONFIG_VIDEO_SED13806
CONFIG_VIDEO_SMI_LYNXEM
CONFIG_AM335X_LCD
Any objections to removing these drivers?
--
Regards,
Nikita
Hi Bo,
On 02/04/2015 09:25 AM, Bo Shen wrote:
Hi Nikita Kiryanov,
On 02/03/2015 07:32 PM, Nikita Kiryanov wrote:
[..]
#ifdef CONFIG_LCD_LOGO
void bitmap_plot(int x, int y)
diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c
index 935ae42..0ce2370 100644
--- a
Hi Hannes,
On 02/02/2015 09:37 AM, Hannes Petermaier wrote:
From: Nikita Kiryanov
To: Hannes Petermaier , u-boot@lists.denx.de
Date: 01.02.2015 15:53
Subject: Re: [U-Boot] [PATCH 03/21] common/lcd: Add command for writing
to lcd-display
Sent by: "U-Boot"
Hi Hannes,
Hi Nikita,
Hi Hannes,
On 02/02/2015 09:32 AM, Hannes Petermaier wrote:
"U-Boot" schrieb am 01.02.2015 15:48:51:
From: Nikita Kiryanov
To: Hannes Petermaier , u-boot@lists.denx.de
Date: 01.02.2015 15:49
Subject: Re: [U-Boot] [PATCH 02/21] common/lcd: Add command for setting
cursor
Reduce the lcd_display_bitmap #ifdef complexity by extracting Atmel-specific
code for setting cmap for bitmap images into a new function lcd_set_cmap().
A default version is implemented with the remainder of the code.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc
Remove unused includes.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
---
Changes in V2:
- Minor commit message update
common/lcd.c | 18 --
1 file changed, 18 deletions(-)
diff --git a/common/lcd.c b
Get rid of platform-specific #ifdefs in bitmap_plot() by moving the generic
case of setting cmap into the weak lcd_logo_set_cmap().
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
---
Changes in V2:
- Minor commit message
The name "bitmap_plot" is misleading because it implies that this is a generic
function capable of dealing with any bitmap, but its implementation only works
with the logo data.
Rename the function to better reflect this.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: S
fitting location code wise)
* Move the responsibility of setting the console base address to
lcd_clear() too.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
---
Changes in V2:
- Minor commit message update
common/lcd.c
We now have api functions that can support compiling simplefb code as its own
module. Since this code is not part of the display functionality, extract it
to its own file.
Raspberry Pi is updated to accommodate the changes.
Signed-off-by: Nikita Kiryanov
Acked-by: Stephen Warren
Reviewed-by
configuration_get_cmap() is multiple platform-specific functions stuffed into
one function. Split it into multiple versions, and move each version to the
appropriate driver to reduce the #ifdef complexity.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc: Simon Glass
Cc
This cleanup mostly focuses on removing unnecessary whitespace and comments
which are superfluous and/or do not conform to the coding style.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Simon Glass
Cc: Anatolij Gustschin
---
Changes in V2:
- Minor commit message update
-specific
cases) is retained in lcd.h as the default case.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
---
Changes in V2:
- Minor commit message update
include/atmel_lcd.h | 38 ++
include/exynos_lcd.h | 81
Reduce the amount of platform-specific code in common/lcd.c by moving MPC823
implementation of fb_put_byte() to mpc8xx_lcd.c. Since we must also have a
default implementation for everybody else, make the remainder of the code
into a weak function.
Signed-off-by: Nikita Kiryanov
Reviewed-by
ccommodate the changes/)
- patch 2: define configuration_get_cmap() prototype only once.
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij Gustschin
Nikita Kiryanov (13):
lcd: move platform-specific structs to their own headers
lcd: split configuration_get_cmap
lcd: atmel: move atmel-specific fb_p
Reduce the amount of platform-specific code in common/lcd.c by moving Atmel
implementation of fb_put_word() to atmel_lcdfb.c. Since we must also have a
default implementation for everybody else, make the remainder of the code
into a weak function.
Signed-off-by: Nikita Kiryanov
Reviewed-by
bmp_logo_data.h, which
would cause a compilation error because the logo data and palette arrays would
be defined twice.
This is a step towards cleaning bitmap_plot() of platform-specific code.
Signed-off-by: Nikita Kiryanov
Reviewed-by: Simon Glass
Cc: Simon Glass
Cc: Anatolij Gustschin
---
Changes
(bmp_logo_palette) is
switched for BMP_LOGO_COLORS to avoid having to include bmp_logo_data.h, which
would cause a compilation error because the logo data and palette arrays would
be defined twice.
This is a step towards cleaning bitmap_plot() of platform-specific code.
Signed-off-by: Nikita Kiryanov
Reviewed-by
Hi Simon,
On 01/31/2015 02:24 AM, Simon Glass wrote:
Hi Nikita,
On 29 January 2015 at 04:21, Nikita Kiryanov wrote:
configuration_get_cmap() is multiple platform specific functions stuffed into
one function. Split it into multiple versions, and move each version to the
appropriate driver to
to see
something
with an "lcd" prefix. Also, this code seems better suited for lcd_console.c
+ "print string on lcd-framebuffer",
+ ""
+);
+
/*--*/
static int
ommand is better suited for the lcd_console.c file.
/*--*/
static int lcd_init(void *lcdbase)
--
Regards,
Nikita Kiryanov
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Simon,
On 01/31/2015 02:25 AM, Simon Glass wrote:
Hi Nikita,
On 29 January 2015 at 04:21, Nikita Kiryanov wrote:
lcd_logo() currently performs tasks well beyond just displaying the logo.
It has code which displays splash image, it has logic which determines
when the different display
Hi Stephen,
On 01/29/2015 07:14 PM, Stephen Warren wrote:
On 01/29/2015 04:21 AM, Nikita Kiryanov wrote:
We now have api functions that can support compiling simplefb code as its own
module. Since this code is not part of the display functionality, extract it
to its own file.
Raspberry Pi
Hi Simon,
On 01/31/2015 02:25 AM, Simon Glass wrote:
On 29 January 2015 at 04:21, Nikita Kiryanov wrote:
We now have api functions that can support compiling simplefb code as its own
module. Since this code is not part of the display functionality, extract it
to its own file.
Raspberry Pi
bmp_logo_data.h, which
would cause a compilation error because the logo data and palette arrays would
be defined twice.
Signed-off-by: Nikita Kiryanov
Cc: Simon Glass
Cc: Anatolij Gustschin
---
common/lcd.c | 10 +-
drivers/video/mpc8xx_lcd.c | 15 +++
2 files
Reduce the lcd_display_bitmap #ifdef complexity by extracting Atmel specific
code for setting cmap for bitmap images into a new function lcd_set_cmap().
A default version is implemented with the remainder of the code.
Signed-off-by: Nikita Kiryanov
Cc: Bo Shen
Cc: Simon Glass
Cc: Anatolij
101 - 200 of 607 matches
Mail list logo