aboutsummaryrefslogtreecommitdiffstats
path: root/board
Commit message (Collapse)AuthorAgeFilesLines
* midas: add USB network console supportSimon Shields2020-03-281-1/+27
|
* samsung: common: don't expose board_eth_init for all boardsSimon Shields2020-03-281-3/+2
|
* midas: improve low-power charging logicSimon Shields2020-03-281-1/+5
|
* midas: match initial gpio configuration to the vendor's kernelSimon Shields2020-03-281-0/+29
|
* midas: fix USB after SW resetSimon Shields2020-03-281-5/+40
| | | | | make sure that all the USB regulators are toggled on/off when activating/deactivating the PHY
* midas: change note 2 display overlay namesSimon Shields2020-03-281-2/+2
|
* midas: add support for the LCD on the Note 2Simon Shields2020-03-283-0/+28
|
* midas: fix build warningsSimon Shields2020-03-282-9/+3
|
* midas: fix board detectionSimon Shields2020-03-281-7/+22
| | | | | | | Since DM is not available when the code is run, we need to directly check the GPIO registers for the GPIO values. The gpio_set_pull/gpio_cfg_pin functions still work, as they're implemented by s5p_gpio rather than the GPIO uclass.
* midas: board detectionSimon Shields2020-03-282-1/+141
|
* i9300 => midasSimon Shields2020-03-288-56/+48
|
* i9300: prepare for i9305/n7100/n7105 supportSimon Shields2020-03-281-0/+9
| | | | | still need to figure out a way to distinguish between each board, and still need to rename everything to midas instead of i9300.
* i9300: print better info about charger on bootSimon Shields2020-03-281-5/+10
|
* i9300: better LPM entry logicSimon Shields2020-03-282-3/+13
|
* i9300: remove secure-firmware node from FDTSimon Shields2020-03-281-3/+1
| | | | | | | | The proprietary bootloader loads a TrustZone environment which the kernel needs to interface with for things like system suspend. Under u-boot, this firmware is not used - so we need to remove the corresponding node so that the kernel does not attempt to access the TZ that isn't running.
* i9300: default to 460mA charge currentSimon Shields2020-03-281-0/+3
|
* i9300: add "set reboot flag" function for fastboot reboot-bootloaderSimon Shields2020-03-281-0/+8
|
* i9300: clear inform3 after reading itSimon Shields2020-03-281-0/+2
|
* i9300: rework boot mode logicSimon Shields2020-03-283-38/+118
| | | | | | | | | | | | * refuse to boot if battery is critically low and is not charging * if battery is critically low, wait until battery is not critically low before entering booting * respect the contents of the INFORM3 register. Following values correspond to boot modes: 0x12345671 - fastboot mode 0x12345672 - recovery mode 0x12345673 - u-boot console any other value - normal boot
* i9300: set lights based on keycomboSimon Shields2020-03-284-1/+58
| | | | an LED is like a very low resolution display.
* i9300: keycombo support, check battery level on bootSimon Shields2020-03-281-1/+125
|
* i9300: adjust USB on timingSimon Shields2020-03-281-2/+2
| | | | poll every 10ms for a cable/ctrl-c
* i9300: only wait for USB cable if powering on USBSimon Shields2020-03-281-12/+16
|
* i9300: update mmc2 => mmc0Simon Shields2020-03-281-1/+1
|
* board: samsung: i9300: deactivate USB on cleanupSimon Shields2020-03-281-0/+5
| | | | this gets us back to the serial console
* board: samsung: i9300: set serial number and board revSimon Shields2020-03-281-3/+52
| | | | | The board rev is GPM1[5:2], and the serial number is the bottom two words of the MMC CID.
* board: samsung: common: restrict usb_cleanup to DWC3 devicesSimon Shields2020-03-281-2/+2
| | | | | DWC2 devices have no need for this, but they might want to do their own cleanup.
* board: samsung: add late_init hook, remove cros dependencySimon Shields2020-03-281-1/+9
|
* i9300: add (broken?) fdt setup codeSimon Shields2020-03-281-0/+30
|
* i9300: USB supportSimon Shields2020-03-281-1/+109
|
* i9300: don't pull down the power keySimon Shields2020-03-281-1/+12
| | | | | | | | | | On reset, GPX2-7 is set to pull-down. This causes the PMIC to think that the power key is being pressed, and so causes the PMIC to reset the SoC after ~8 seconds (as would happen if you held the power key down normally). To fix this, we do what S-BOOT does: set the input to floating, and rely on the external pull-up to make the key work.
* i9300: dummy get_board_rev functionSimon Shields2018-09-091-0/+6
|
* i9300: initial commitSimon Shields2018-09-094-0/+43
|
* Merge branch 'master' of git://git.denx.de/u-boot-sunxiTom Rini2018-07-031-0/+10
|\
| * sun50i: h5: Add initial Orange Pi Zero Plus supportHauke Mehrtens2018-06-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Orange Pi Zero Plus is an open-source single-board computer using the Allwinner H5 SOC. H5 Orangepi Zero Plus has - Quad-core Cortex-A53 - 512MB DDR3 - micrSD slot - 16MBit SPI Nor flash - Debug TTL UART - 1GBit/s Ethernet (RTL8211E) - Wifi (RTL8189FTV) - USB 2.0 Host - USB 2.0 OTG + power supply The device tree file is copied from the Linux kernel 4.17. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
| * sun8i: h2: Add initial Orange Pi R1 supportHauke Mehrtens2018-06-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Orange Pi R1 is an open-source single-board computer using the Allwinner H2+ SOC. H2+ Orange Pi R1 has - Quad-core Cortex-A7 - 256MB DDR3 - micrSD slot - 128MBit SPI Nor flash - Debug TTL UART - 100MBit/s Ethernet (H2+) - 100MBit/s Ethernet (RTL8152B) - Wifi (RTL8189ETV) - USB 2.0 OTG + power supply This board is very similar to the Orange Pi Zero. The device tree file is copied from the Linux kernel 4.17. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
* | board/aries: RemoveTom Rini2018-07-0222-2703/+0
| | | | | | | | | | | | | | The various Aries Embedded boards have been orphaned for a year and no one has come forward to take care of them. Remove. Signed-off-by: Tom Rini <trini@konsulko.com>
* | Merge git://git.denx.de/u-boot-imxTom Rini2018-06-2710-68/+293
|\ \
| * | imx: bx50v3: fix MaintainersStefano Babic2018-06-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the warnings: WARNING: no status info for 'ge_bx50v3' WARNING: no maintainers for 'ge_bx50v3 Signed-off-by: Stefano Babic <sbabic@denx.de>
| * | imx6ul: geam: Fix fdt_file mismatchJagan Teki2018-06-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdt_file is looking for imx6ul-geam-kit.dtb but Linux has imx6ul-geam.dtb, since Linux skipped -kit on file name by below commit. "ARM: dts: imx6ul-geam: Skip suffix -kit from dts name" (sha1: 182de5ebce71e469cfa686fcdf08c9cbe11ece97) So, due to this mismatch U-Boot failed to pick the proper dtb which eventually break the Linux boot. This patch fixed this mismatch by - renaming dts files - update config option to use new dtb file - update fdt_file to new dtb file name Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
| * | mx6cuboxi: fix 4GB ddr memory detectionJon Nettleton2018-06-181-2/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The soms with 4GB ddr have a rowaddr of 16 not 15, this allows the detection mechanism to properly identify them as 4GB. However these soms can be populated with whatever amount of memory the customer requests therefor we need a ram stride test. We can not use the get_ram_size() function because not all 4GB's of DDR is addressable on a 32-bit architecture. Therefore instead we use a memory stride of 128MB's and look for the address that the memory wraps. This function is used for all som types to catch most memory configurations. This is a revised version of Rabeeh Khoury's original code. Signed-off-by: Jon Nettleton <jon@solid-run.com> Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
| * | mx6cuboxi: consolidate board detection and add som revision checkingJon Nettleton2018-06-181-50/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to properly detect the board the checks need to be done in a specific order. Move these tests back into a single enum function that will always return the proper the board it is checking. This also adds the best test we have for detecting the rev 1.5 som, and it simplifies the device-tree filename building. Signed-off-by: Jon Nettleton <jon@solid-run.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
| * | board: engicam: spl: match icore-mipi fit-configJagan Teki2018-06-181-0/+4
| | | | | | | | | | | | | | | | | | | | | Match imx6q-icore-mipi and imx6dl-icore-mipi dtb in board_fit_config_name_match. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
| * | board: Remove not needed function for the K+P's imx53 boardLukasz Majewski2018-06-181-12/+0
| | | | | | | | | | | | | | | | | | | | | The get_board_rev() is not needed anymore as a generic function for the imx53 SoC has been used instead. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | board: Add support for KEY1 status detection on K+P's HSC|DDC boardsLukasz Majewski2018-06-181-0/+14
| | | | | | | | | | | | | | | | | | | | | This code provides information if the K+P's imx53 boards had KEY1 pressed. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | board: Adjust K+P script to run misc (per board) adjustmentsLukasz Majewski2018-06-181-0/+6
| | | | | | | | | | | | | | | | | | | | | This change gives the opportunity to adjust Linux command line for the imx53 device with some legacy data. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | board: imx53: Always disable display before starting kernelLukasz Majewski2018-06-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch prevents from the situation where we may end up with garbage displayed on the LCD panel. Such situation occurs when one performs "reboot -f" in Linux and then stop in U-boot (or observe the garbage on the screen during boot up). To prevent from such situation - the PWM pin is configured as GPIO and set to LOW. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | display5: Add missing environment.h include to avoid warningLukasz Majewski2018-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this change the following warning shows up when building: board/liebherr/display5/display5.c:270:3: warning: implicit declaration of function ‘eth_env_set_enetaddr’ [-Wimplicit-function-declaration] This commit fixes this issue. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | display5: net: Add function to read ethaddr from iMX6 fusesLukasz Majewski2018-06-181-0/+21
| | | | | | | | | | | | Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | display5: ddr: Enable support for DDR3 auto calibrationLukasz Majewski2018-06-181-0/+47
| | | | | | | | | | | | | | | | | | This code performs DDR3 memory calibration for display5 board. Signed-off-by: Lukasz Majewski <lukma@denx.de>