coreboot-kgpe-d16/src/soc/nvidia/tegra124
Patrick Georgi 68e4cbd9d6 tegra124: actually parse is_lvds
Precedence rules make the compiler optimize
const | var ? val1 : val2; into val1. In our case this
means not writing 2 << NV_SOR_CSTM_ROTCLK_SHIFT to the
register and not caring about the content of is_lvds.

Change-Id: I0b02c74f9445f51bfab9eeae2e8eb9480d104708
Found-by: Coverity Scan
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: http://review.coreboot.org/7501
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
2014-11-18 08:25:45 +01:00
..
include/soc tegra124: Add some functions for resetting peripherals. 2014-11-14 07:28:02 +01:00
lp0 tegra124: fix the dangerous VPR write order 2014-11-14 07:28:09 +01:00
bootblock.c tegra124: enable JTAG in Security Mode 2014-11-12 20:16:53 +01:00
bootblock_asm.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
cbfs.c tegra124/nyan: rougly stable code base 2014-09-11 23:13:52 +02:00
cbmem.c tegra124: nyan: Keep in memory structures below 4GB. 2014-11-12 02:25:31 +01:00
chip.h t124: Clean up display init functions 2014-11-14 07:27:17 +01:00
clk_rst.h tegra124/nyan: memory and display updates 2014-09-22 19:00:19 +02:00
clock.c tegra124: Add some functions for resetting peripherals. 2014-11-14 07:28:02 +01:00
display.c t124: Clean up display init functions 2014-11-14 07:27:17 +01:00
dma.c tegra124/nyan: display, clock, and other updates 2014-09-13 02:00:03 +02:00
dma.h Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02:00
dp.c t124: Clean up display init functions 2014-11-14 07:27:17 +01:00
early_display.c tegra124/nyan: rougly stable code base 2014-09-11 23:13:52 +02:00
emc.h tegra124/nyan: memory and display updates 2014-09-22 19:00:19 +02:00
flow.h Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02:00
gpio.h tegra124/nyan: rougly stable code base 2014-09-11 23:13:52 +02:00
i2c.c tegra124: i2c: Reset the controller when there's an error. 2014-11-14 07:28:18 +01:00
Kconfig tegra124: Make the PLLX frequency selectable by model. 2014-11-13 06:24:54 +01:00
maincpu.h tegra124/nyan: display, clock, and other updates 2014-09-13 02:00:03 +02:00
maincpu.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
Makefile.inc tegra124: allow tegra124 devices to run vboot rmodule 2014-11-14 07:28:43 +01:00
mc.h tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00
monotonic_timer.c tegra124: Implement the monotonic timer by reading the 1us timer register. 2014-08-12 23:18:52 +02:00
pingroup.h tegra124: Implement driver code for the pinmux, pingroup controls, and GPIOs. 2014-08-19 22:46:52 +02:00
pinmux.h tegra124: Fix PWM pinmux functions 2014-11-12 20:14:38 +01:00
pmc.h tegra124/nyan: memory and display updates 2014-09-22 19:00:19 +02:00
power.c tegra124/nyan: rougly stable code base 2014-09-11 23:13:52 +02:00
power.h tegra124/nyan: rougly stable code base 2014-09-11 23:13:52 +02:00
sdram.c tegra124: nyan: Keep in memory structures below 4GB. 2014-11-12 02:25:31 +01:00
sdram.h tegra124: nyan: Keep in memory structures below 4GB. 2014-11-12 02:25:31 +01:00
sdram_lp0.c tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00
sdram_param.h tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00
soc.c t124: Clean up display init functions 2014-11-14 07:27:17 +01:00
sor.c tegra124: actually parse is_lvds 2014-11-18 08:25:45 +01:00
sor.h t124: Clean up display init functions 2014-11-14 07:27:17 +01:00
spi.c spi: add Kconfig variable for dual-output read enable 2014-09-17 19:56:16 +02:00
spi.h Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02:00
sysctr.h Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02:00
timer.c
uart.c uarts: 32/64 cleanup 2014-10-16 17:41:14 +02:00
usb.h tegra124/nyan: various fixes and additions 2014-09-12 21:59:45 +02:00