11 Jan, 2018
2 commits
-
The clock selection is done now from the am335x-fb code, so there is no
more need doing this in the board code.Signed-off-by: Hannes Schmelzer
Reviewed-by: Anatolij Gustschin -
Actual am335x-fb implementation takes now a real clock frequency instead
a divider. So this component doesn't need to know anymore some base
frequency of the LCDC, we simply provide the pixel-clock frequency.Signed-off-by: Hannes Schmelzer
Reviewed-by: Anatolij Gustschin
16 Aug, 2017
4 commits
-
We are now using an env_ prefix for environment functions. Rename these
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
Rename this function for consistency with env_set().
Signed-off-by: Simon Glass
-
We are now using an env_ prefix for environment functions. Rename setenv()
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
12 Jul, 2017
1 commit
-
As part of preparation for nand DM conversion the new API has been
introduced to remove direct access to nand_info array. So, use it here
instead of accessing to nand_info array directly.Signed-off-by: Grygorii Strashko
Reviewed-by: Hannes Schmelzer
Reviewed-by: Simon Glass
16 Jun, 2017
1 commit
-
since commit
'd5abcf94c7123167725fc22ace342f0d455093c1' -
ti: boot: Register the MMC controllers in SPL in the same way as in u-bootMMC boot on brxre1 board is broken, with this commit we make our board
working again.Signed-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini
Reviewed-by: Jean-Jacques Hiblot
15 May, 2017
1 commit
-
Now CONFIG_GENERIC_MMC and CONFIG_MMC match for all defconfig.
We do not need two options for the same feature. Deprecate the
former.This commit was generated with the sed script 's/GENERIC_MMC/MMC/'
and manual fixup of drivers/mmc/Kconfig.Signed-off-by: Masahiro Yamada
06 May, 2017
1 commit
-
The logical expression to check the dtb is incorrect in
load_devicetree.The problem was indicated by cppcheck.
The inconsistent variable name dtppart is changed to dtbpart.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Hannes Schmelzer
Acked-by: Hannes Schmelzer
20 Mar, 2017
1 commit
-
To keep a consistent MMC device mapping in SPL and in u-boot, let's
register the MMC controllers the same way in u-boot and in the SPL.
In terms of boot time, it doesn't hurt to register more controllers than
needed because the MMC device is initialized only prior being accessed for
the first time.
Having the same device mapping in SPL and u-boot allows us to use the
environment in SPL whatever the MMC boot device.Signed-off-by: Jean-Jacques Hiblot
25 Jun, 2016
2 commits
-
Rename B&R kwb board to brxre1
Signed-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini -
Rename B&R tseries board to brppt1
Signed-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini
04 Jun, 2016
1 commit
-
nand_info[] is now an array of pointers, with the actual mtd_info
instance embedded in struct nand_chip.This is in preparation for syncing the NAND code with Linux 4.6,
which makes the same change to struct nand_chip. It's in a separate
commit due to the large amount of changes required to accommodate the
change to nand_info[].Signed-off-by: Scott Wood
25 Feb, 2016
1 commit
-
During very early prototype-phase we did boot the AM335x boards
initially from CPSW-EMAC.Now we don't need this feature anymore.
So we drop it to save MLO-space and having therefore a more quickly
boot.Signed-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini
13 Nov, 2015
1 commit
-
Since we don't have for sure a valid IP-setup during
board_late_init(...) because it maybe allready stored in environment or
not, we cannot form a proper vxWorks bootline at this place.So we move to the way, forming the bootline just before
executing/launching vxWorks. To do this we use the bootvx command
instead go.We only have to form the "othbootargs" environment variable, the rest is
done pretty good by the "bootvx" commannd.Signed-off-by: Hannes Schmelzer
Reviewed-by: Bin Meng
12 Sep, 2015
1 commit
-
To simplify and having a common default IP-setup on all B&R boards we
introduce an environment variable "brdefaultip" which does following.Test if ${ipaddr} is empty, if yes it set's up some defaults:
- ipaddr : 192.168.60.1
- netmask : 255.255.255.0
- gatewayip: 192.168.60.254
- serverip : 192.168.60.254This environment is ran from CONFIG_PREBOOT.
All other "tricks" are dropped.
Signed-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini
Acked-by: Joe Hershberger
19 Jun, 2015
1 commit
-
in future we support yet another b&r am335x based board, where Timer 5 is
wired to backlight-driver.So we introduce a new driver-type '2' to setup timer5 instead timer6.
Signed-off-by: Hannes Schmelzer
Reviewed-by: Simon Glass
28 May, 2015
1 commit
-
Since i've been married, i also have a new surname.
Mr. Petermaier moved to Mr. Schmelzer.In this patch i update all files in which my (old) name is present.
Signed-off-by: Hannes Schmelzer
Signed-off-by: Hannes Schmelzer
09 May, 2015
3 commits
-
usbupdate in real does allways load some script from usb-storage and execute
it, on all B&R targets.So we do following 2 things:
- rename it to what it really does
- move it from boards to common environmentSigned-off-by: Hannes Petermaier
-
Since the used AM3352 SoC doesn't have GPU it isn't allways necessary to build
in complete drm-stuff into linux kernel. In very small applications only we use
the simple-framebuffer.So we have 2 use-cases:
- device operating on drm-driver (let simplefb node disabled)
- device operating on simplefb-driver (activate simplefb node and reserve mem)The decision is made by means of "simplefb" environment variable.
simplefb = 0
we don't enable the (maybe) existing simplefb node and all the rest around
display is up to the linux-kernel. We just disable the backlight, beceause we
do not want see the flicker during take over of drm-driver.simplefb = 1
we enable the (maybe) existing simplefb node and reserve framebuffers size
in memory.Signed-off-by: Hannes Petermaier
-
We take use of the new LCD_ROTATION feature.
The information about how the display is rotated is taken from B&R specific
(/factory-settings/rotation) information in the devicetree.The information there is stored as string (cw, ud, ccw, none) since starting
support of this devices and cannot be changed, so we have to convert it intonone = 0
cw = 1
ud = 2
ccw = 3Signed-off-by: Hannes Petermaier
23 Apr, 2015
3 commits
-
some pins on the board have been rerouted to other peripherals, so we
change the pinmux to apply with hardware-design.Signed-off-by: Hannes Petermaier
-
The NAND-version has been become a bit orphan.
Now we need to reactivate it, so bring necessary things:- loading devicetree
- switch control signal to correct pins
- setup pinmux
- default-environmentup to date.
Signed-off-by: Hannes Petermaier
-
instead of polling everytime the environment, we take usage of the global
gd->fdt_blob variable and check it only against NULL.Variable "dtbaddr" from environment is needed only one time on loading the
devicetree within "load_devicetree()"Signed-off-by: Hannes Petermaier
19 Apr, 2015
1 commit
-
Use "_ethaddr" at the end of variables and drop CamelCase.
Make constant values actually 'const'.Signed-off-by: Joe Hershberger
Acked-by: Simon Glass
29 Mar, 2015
2 commits
-
since we have possibility to write out on lcd whats going on, we don't need
the gpio blink functionality anymore.Signed-off-by: Hannes Petermaier
Signed-off-by: Hannes Petermaier
-
At this time I2C and responsible pin-mux is setup during PMIC initialziation
within common.c, this is possible because today PMIC is always connected on
I2C0.In Future this will be changed, PMIC isn't anymore connected to bus0 in call
cases.So we do following:
- rename enable_i2c_pin_mux0 to enable_i2c_pin_mux to be generic for enabling
pin-mux on different or more busses.
- move the call to i2c_pin_mux and i2c_init from common.c to the specific
board.cSigned-off-by: Hannes Petermaier
Signed-off-by: Hannes Petermaier
17 Mar, 2015
1 commit
-
We don't want that CONSOLE is redirected to LCD upon init, we rather prefer
that console is still on the serial line.Signed-off-by: Hannes Petermaier
06 Mar, 2015
10 commits
-
For some cases it is necessary to modify temporaly the bootcommand.
This can be done by writing into the Scratchregister a specific value:* 0xCC - modify bootcmd "run netboot"
* 0xCD - modify bootcmd "run netscript"
* 0xCE - modify bootcmd "run mmcboot"the environment in flash is NOT overwritten.
Signed-off-by: Hannes Petermaier
-
vxWorks needs several parameters which are set by the bootloader und his
environment. So we form a vxWorks bootline and pass the result to vxWorks on
a predefined address.Signed-off-by: Hannes Petermaier
-
The board has been redesigned, therefore we need from now other I/O Pins to
mux and handle.Older boards aren't supported from now anymore.
Signed-off-by: Hannes Petermaier
-
remove unnary '#define ETHLED_ORANGE (96+16) /* GPIO3_16 */'
Signed-off-by: Hannes Petermaier
-
Signed-off-by: Hannes Petermaier
-
On boards were we have no NAND-flash soldered, we want to use those free pins
as regular gpio.Signed-off-by: Hannes Petermaier
-
Signed-off-by: Hannes Petermaier
-
Signed-off-by: Hannes Petermaier
-
since we have a dtb blob programmed on the board we try to setup the cpsw
interface with the programmed mac.
If this method fails, we fall back to the device-fuses.Signed-off-by: Hannes Petermaier
-
a summary screen to the lcd.
Values are taken from environment and or devicetree blob.Signed-off-by: Hannes Petermaier
29 Oct, 2014
1 commit
-
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj
Acked-by: Albert ARIBAUD
Cc: Masahiro Yamada